Re: Using mdconfig for swap space

2009-09-09 Thread Daniel Bye
On Tue, Sep 08, 2009 at 07:52:59PM -0400, Jerry McAllister wrote: On Tue, Sep 08, 2009 at 04:51:20PM -0500, Peter Steele wrote: Are there any advantages to using mdconfig and creating a virtual disk for swap space as opposed to having a designated swap partition? For example, I could do

RE: Using mdconfig for swap space

2009-09-09 Thread Peter Steele
mdconfig for swap space On Tue, Sep 08, 2009 at 07:52:59PM -0400, Jerry McAllister wrote: On Tue, Sep 08, 2009 at 04:51:20PM -0500, Peter Steele wrote: Are there any advantages to using mdconfig and creating a virtual disk for swap space as opposed to having a designated swap partition

Re: Using mdconfig for swap space

2009-09-09 Thread Mel Flynn
On Wednesday 09 September 2009 15:07:37 Peter Steele wrote: Thanks for the responses. The reason I'm looking at doing this is that we have increased memory on our platform from 4GB to 8GB and therefore have to increase swap space from 8GB to 16GB. No you don't. It's advised, but not mandatory.

RE: Using mdconfig for swap space

2009-09-09 Thread Peter Steele
Nowadays having swap twice as RAM is not necessary. If your system wasn't swapping much in the past you can safely stay with 4G in my opinion... extending it to 16G would be waste of space :) I won't bore you with the details but in fact our application *does* require this much swap space, but

Re: Using mdconfig for swap space

2009-09-09 Thread Jerry McAllister
On Wed, Sep 09, 2009 at 11:57:07AM +0100, Daniel Bye wrote: On Tue, Sep 08, 2009 at 07:52:59PM -0400, Jerry McAllister wrote: On Tue, Sep 08, 2009 at 04:51:20PM -0500, Peter Steele wrote: Are there any advantages to using mdconfig and creating a virtual disk for swap space as opposed

Re: Using mdconfig for swap space

2009-09-09 Thread Lowell Gilbert
Peter Steele pste...@maxiscale.com writes: Nowadays having swap twice as RAM is not necessary. If your system wasn't swapping much in the past you can safely stay with 4G in my opinion... extending it to 16G would be waste of space :) I won't bore you with the details but in fact our

Re: Using mdconfig for swap space

2009-09-09 Thread Maciej Suszko
Peter Steele pste...@maxiscale.com wrote: Thanks for the responses. The reason I'm looking at doing this is that we have increased memory on our platform from 4GB to 8GB and therefore have to increase swap space from 8GB to 16GB. We have enough space in our /var partition that we could add a

Re: Using mdconfig for swap space

2009-09-09 Thread Lowell Gilbert
Jerry McAllister jerr...@msu.edu writes: On Wed, Sep 09, 2009 at 11:57:07AM +0100, Daniel Bye wrote: On Tue, Sep 08, 2009 at 07:52:59PM -0400, Jerry McAllister wrote: On Tue, Sep 08, 2009 at 04:51:20PM -0500, Peter Steele wrote: Are there any advantages to using mdconfig and creating a

RE: Using mdconfig for swap space

2009-09-09 Thread Peter Steele
It's easy to *try* the swap files. Then measure the performance. If the behaviour is really as specific to your custom application as you indicate, then general advice may not apply either. In fact, after discussing this with the team, we are going to do exactly that. We'll allocate an extra

Re: Using mdconfig for swap space

2009-09-09 Thread Daniel Bye
On Wed, Sep 09, 2009 at 10:59:23AM -0400, Jerry McAllister wrote: On Wed, Sep 09, 2009 at 11:57:07AM +0100, Daniel Bye wrote: On Tue, Sep 08, 2009 at 07:52:59PM -0400, Jerry McAllister wrote: On Tue, Sep 08, 2009 at 04:51:20PM -0500, Peter Steele wrote: Are there any advantages to

Re: Using mdconfig for swap space

2009-09-09 Thread Jerry McAllister
On Wed, Sep 09, 2009 at 11:23:14AM -0400, Lowell Gilbert wrote: Jerry McAllister jerr...@msu.edu writes: On Wed, Sep 09, 2009 at 11:57:07AM +0100, Daniel Bye wrote: On Tue, Sep 08, 2009 at 07:52:59PM -0400, Jerry McAllister wrote: On Tue, Sep 08, 2009 at 04:51:20PM -0500, Peter Steele

Re: Using mdconfig for swap space

2009-09-09 Thread Jerry McAllister
On Wed, Sep 09, 2009 at 04:46:56PM +0100, Daniel Bye wrote: On Wed, Sep 09, 2009 at 10:59:23AM -0400, Jerry McAllister wrote: On Wed, Sep 09, 2009 at 11:57:07AM +0100, Daniel Bye wrote: On Tue, Sep 08, 2009 at 07:52:59PM -0400, Jerry McAllister wrote: On Tue, Sep 08, 2009 at

Using mdconfig for swap space

2009-09-08 Thread Peter Steele
Are there any advantages to using mdconfig and creating a virtual disk for swap space as opposed to having a designated swap partition? For example, I could do something like this: mdconfig -a -t swap -f /var/swap0 -s 4g swapon -a /dev/md0 to add 4G to the system swap space backed by the file

Re: Using mdconfig for swap space

2009-09-08 Thread Chuck Swiger
Hi, Peter-- On Sep 8, 2009, at 2:51 PM, Peter Steele wrote: Are there any advantages to using mdconfig and creating a virtual disk for swap space as opposed to having a designated swap partition? For example, I could do something like this: mdconfig -a -t swap -f /var/swap0 -s 4g swapon -a

Re: Using mdconfig for swap space

2009-09-08 Thread Adam Vande More
On Tue, Sep 8, 2009 at 4:51 PM, Peter Steele pste...@maxiscale.com wrote: Are there any advantages to using mdconfig and creating a virtual disk for swap space as opposed to having a designated swap partition? For example, I could do something like this: mdconfig -a -t swap -f /var/swap0 -s

Re: Using mdconfig for swap space

2009-09-08 Thread Jerry McAllister
On Tue, Sep 08, 2009 at 04:51:20PM -0500, Peter Steele wrote: Are there any advantages to using mdconfig and creating a virtual disk for swap space as opposed to having a designated swap partition? For example, I could do something like this: Unless I am missing something basic here, it

Re: Using mdconfig for swap space

2009-09-08 Thread RW
On Tue, 8 Sep 2009 16:51:20 -0500 Peter Steele pste...@maxiscale.com wrote: Are there any advantages to using mdconfig and creating a virtual disk for swap space as opposed to having a designated swap partition? For example, I could do something like this: mdconfig -a -t swap -f /var/swap0