Re: [CentOS] Centos 7.0 and mismatched swap file

2015-02-16 Thread Eliezer Croitoru
Thanks Chris for the detailed response! I couldn't understand the complex sentence about XFS and was almost convinced that XFS might offer a new way to spread across multiple disks. And in this case it's mainly me and not you. Now I understand how a md linear/concat array can be exploited

Re: [CentOS] Centos 7.0 and mismatched swap file

2015-02-16 Thread Chris Murphy
On Mon, Feb 16, 2015 at 6:47 AM, Eliezer Croitoru elie...@ngtech.co.il wrote: I am unsure I understand what you wrote. XFS will create multiple AG's across all of those devices, Are you comparing md linear/concat to md raid0? and that the upper level XFS will run on top them? Yes to the

Re: [CentOS] Centos 7.0 and mismatched swap file

2015-02-16 Thread Chris Murphy
On Mon, Feb 16, 2015 at 10:21 AM, Chris Murphy li...@colorremedies.com wrote: On Mon, Feb 16, 2015 at 6:47 AM, Eliezer Croitoru elie...@ngtech.co.il wrote: I am unsure I understand what you wrote. XFS will create multiple AG's across all of those devices, Are you comparing md

Re: [CentOS] Centos 7.0 and mismatched swap file

2015-02-16 Thread Chris Murphy
On Mon, Feb 16, 2015 at 10:48 AM, Eliezer Croitoru elie...@ngtech.co.il wrote: Thanks Chris for the detailed response! I couldn't understand the complex sentence about XFS and was almost convinced that XFS might offer a new way to spread across multiple disks. It's not new in XFS, it's

Re: [CentOS] Centos 7.0 and mismatched swap file

2015-02-16 Thread Eliezer Croitoru
On 16/02/2015 22:29, Chris Murphy wrote: The other plus is that growing linear arrays is cake. They just get added to the end of the concat, and xfs_growfs is used. Takes less than a minute. Whereas md raid0 grow means converting to raid4, then adding the device, then converting back to raid0.

Re: [CentOS] Centos 7.0 and mismatched swap file

2015-02-16 Thread Eliezer Croitoru
On 16/02/2015 10:04, Chris Murphy wrote: This is a recent benchmarking using Postmark which supposedly simulates mail servers. XFS stacks up a bit better than ext4. http://www.phoronix.com/scan.php?page=articleitem=linux-3.19-ssd-fsnum=3 A neat trick for big busy mail servers that comes up on

Re: [CentOS] Centos 7.0 and mismatched swap file

2015-02-16 Thread Chris Murphy
On Mon, Feb 16, 2015 at 12:07 AM, Michael Schumacher michael.schumac...@pamas.de wrote: Btw., are you sure you want to use XFS for a mail server? I made some tests about a year ago and found that EXT4 is by the factor 10 faster compared to XFS. The tests I performed were using the maildir

[CentOS] Centos 7.0 and mismatched swap file

2015-02-15 Thread Gregory P. Ennis
Everyone, I am putting together a new mail server for our firm using a SuperMicro with Centos 7.0. When performed the install of the os, I put 16 gigs of memory in the wrong slots on the mother board which caused the SuperMicro to recognize 8 gigs instead of 16 gigs. When I installed Centos

Re: [CentOS] Centos 7.0 and mismatched swap file

2015-02-15 Thread Eero Volotinen
You can grow xfs or create more swap on filesystem files (swap in file) 15.2.2015 17.50 kirjoitti Gregory P. Ennis po...@pomec.net: Everyone, I am putting together a new mail server for our firm using a SuperMicro with Centos 7.0. When performed the install of the os, I put 16 gigs of

[CentOS] Centos 7.0 and mismatched swap file

2015-02-15 Thread Gregory P. Ennis
Everyone, I am putting together a new mail server for our firm using a SuperMicro with Centos 7.0. When performed the install of the os, I put 16 gigs of memory in the wrong slots on the mother board which caused the SuperMicro to recognize 8 gigs instead of 16 gigs. When I installed Centos

Re: [CentOS] Centos 7.0 and mismatched swap file

2015-02-15 Thread Eliezer Croitoru
Hey Gregory, I assume you have the issue with a swap partition which is harder to modify then a swap file. You can always add\use another swap file instead of a partition. This article describes what you will need\want: http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/ and just

Re: [CentOS] Centos 7.0 and mismatched swap file

2015-02-15 Thread Dennis Jacobfeuerborn
On 15.02.2015 16:49, Gregory P. Ennis wrote: Everyone, I am putting together a new mail server for our firm using a SuperMicro with Centos 7.0. When performed the install of the os, I put 16 gigs of memory in the wrong slots on the mother board which caused the SuperMicro to recognize 8

Re: [CentOS] Centos 7.0 and mismatched swap file

2015-02-15 Thread Chris Murphy
I'd like to think you will want to avoid the use of swap at almost all costs because it'll slow the system down by a lot. So really you don't need 1:1 for a server that isn't using suspend to disk. You only need enough swap so that things can chug (slowly) without totally imploding, giving you

Re: [CentOS] Centos 7.0 and mismatched swap file

2015-02-15 Thread Keith Keller
On 2015-02-15, Gregory P. Ennis po...@pomec.net wrote: I am putting together a new mail server for our firm using a SuperMicro with Centos 7.0. When performed the install of the os, I put 16 gigs of memory in the wrong slots on the mother board which caused the SuperMicro to recognize 8 gigs

Re: [CentOS] Centos 7.0 and mismatched swap file

2015-02-15 Thread Gregory P. Ennis
On Sun, 2015-02-15 at 17:37 -0800, Keith Keller wrote: On 2015-02-15, Gregory P. Ennis po...@pomec.net wrote: I am putting together a new mail server for our firm using a SuperMicro with Centos 7.0. When performed the install of the os, I put 16 gigs of memory in the wrong slots on the

Re: [CentOS] Centos 7.0 and mismatched swap file

2015-02-15 Thread Chris Murphy
A neat trick for a server with less than idea memory requirement compared to the storage it has, is a pile of swap on an SSD. Having xfs_repair use swap on SSD is a lot faster than its fallback behavior when memory is low and there's no swap. Whereas swapping to a HDD... brutal. Chris Murphy

Re: [CentOS] Centos 7.0 and mismatched swap file

2015-02-15 Thread Michael Schumacher
Morning Gregory, Sunday, February 15, 2015, 6:42:32 PM, you wrote: I am putting together a new mail server for [...] I am using the default xfs file system on the other partitions. Is there a way to expand the swap file? If not, then is this problem sufficiently bad enough for me to start