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

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 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 wr

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 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 ext

Re: Using mdconfig for swap space

2009-09-09 Thread Lowell Gilbert
Jerry McAllister 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 v

Re: Using mdconfig for swap space

2009-09-09 Thread Maciej Suszko
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. We have > enough space in our /var partition that we could add a swap file > there a

Re: Using mdconfig for swap space

2009-09-09 Thread Lowell Gilbert
Peter Steele 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 application *does* > req

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

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,

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 mandator

RE: Using mdconfig for swap space

2009-09-09 Thread Peter Steele
; Subject: Re: Using 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

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 > > c

Re: Using mdconfig for swap space

2009-09-08 Thread RW
On Tue, 8 Sep 2009 16:51:20 -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: > > mdconfig -a -t swap -f /var/swap0 -s 4g > swapon -a

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 s

Re: Using mdconfig for swap space

2009-09-08 Thread Adam Vande More
On Tue, Sep 8, 2009 at 4: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 /d

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