Re: [SLUG] Increasing RAM

2009-04-19 Thread Daniel Pittman
Kyle writes: > Daniel Pittman wrote: > Well, at the moment you have RAID 1 under everything except for swap, which you have on a RAID 0 array. (Implemented, in this case, through the Linux kernel balancing swap space use when areas have equal priority, as your two separate par

Re: [SLUG] Increasing RAM

2009-04-19 Thread Kyle
Daniel Pittman wrote: Well, at the moment you have RAID 1 under everything except for swap, which you have on a RAID 0 array. (Implemented, in this case, through the Linux kernel balancing swap space use when areas have equal priority, as your two separate partitions do.) So, how would I

Re: [SLUG] Increasing RAM

2009-04-18 Thread peter
> "jam" == jam writes: jam> On Sunday 19 April 2009 10:00:03 slug-requ...@slug.org.au wrote: >> On Sunday 19 April 2009 00:16:35 slug-requ...@slug.org.au wrote: >> >> I've decided to increase the RAM on my home CentOS server. As best >> I >> can recall, the accepted wisdom is to have SWAP ap

Re: [SLUG] Increasing RAM

2009-04-18 Thread Daniel Pittman
Kyle writes: > Daniel Pittman wrote: >> Kyle writes: >> >>> Maybe, but the last machine I had I ran LVM. I had a hard enough time >>> remembering which volume belonged to which group belonged to which >>> disk (and that despite naming them along the lines of; >>> 'lv00Grp00Hda1', lv01Grp00Hda1').

Re: [SLUG] Increasing RAM

2009-04-18 Thread Daniel Pittman
jam writes: > On Sunday 19 April 2009 10:00:03 slug-requ...@slug.org.au wrote: >> On Sunday 19 April 2009 00:16:35 slug-requ...@slug.org.au wrote: >> >> I've decided to increase the RAM on my home CentOS server. As best I >> >> can recall, the accepted wisdom is to have SWAP approx.~ 2 x RAM. Or

Re: [SLUG] Increasing RAM

2009-04-18 Thread jam
On Sunday 19 April 2009 10:00:03 slug-requ...@slug.org.au wrote: > On Sunday 19 April 2009 00:16:35 slug-requ...@slug.org.au wrote: > >> I've decided to increase the RAM on my home CentOS server. As best I > >> can recall, the accepted wisdom is to have SWAP approx.~ 2 x RAM. Or > >> was that appr

Re: [SLUG] Increasing RAM

2009-04-18 Thread Kyle
Daniel Pittman wrote: Kyle writes: Maybe, but the last machine I had I ran LVM. I had a hard enough time remembering which volume belonged to which group belonged to which disk (and that despite naming them along the lines of; 'lv00Grp00Hda1', lv01Grp00Hda1'). My immediate response to

Re: [SLUG] Increasing RAM

2009-04-18 Thread Daniel Pittman
jam writes: > On Sunday 19 April 2009 00:16:35 slug-requ...@slug.org.au wrote: > >> I've decided to increase the RAM on my home CentOS server. As best I >> can recall, the accepted wisdom is to have SWAP approx.~ 2 x RAM. Or >> was that approx.~ 50% of RAM? >> >> Can someone point me in the direct

Re: [SLUG] Increasing RAM

2009-04-18 Thread Daniel Pittman
Kyle writes: >> First, this would be vastly easier if you used LVM, since that makes >> allocating space on the fly a universe easier. > > Re LVM; > > Maybe, but the last machine I had I ran LVM. I had a hard enough time > remembering which volume belonged to which group belonged to which > disk

Re: [SLUG] Increasing RAM

2009-04-18 Thread jam
On Sunday 19 April 2009 00:16:35 slug-requ...@slug.org.au wrote: > I've decided to increase the RAM on my home CentOS server. As best I can > recall, the accepted wisdom is to have SWAP approx.~ 2 x RAM. Or was > that approx.~ 50% of RAM? > > Can someone point me in the direction of an explicit tut

Re: [SLUG] Increasing RAM

2009-04-18 Thread Kyle
First, this would be vastly easier if you used LVM, since that makes allocating space on the fly a universe easier. Re LVM; Maybe, but the last machine I had I ran LVM. I had a hard enough time remembering which volume belonged to which group belonged to which disk (and that despite naming

Re: [SLUG] Increasing RAM

2009-04-18 Thread Daniel Pittman
Amos Shapira writes: > I used to keep around large swap partitions (that was also before the > blissful days of LVM2) until someone on the linux-il mailing list > convinced me that the amount of overhead for the kernel to keep track > of large amount of swap will actually cause a slow down and re

Re: [SLUG] Increasing RAM

2009-04-18 Thread Daniel Pittman
Kyle writes: > I've decided to increase the RAM on my home CentOS server. As best I > can recall, the accepted wisdom is to have SWAP approx.~ 2 x RAM. Or > was that approx.~ 50% of RAM? As others have said, this was true back in the days when 64MB was a lot of memory. Now, by the time you are

Re: [SLUG] Increasing RAM

2009-04-18 Thread Amos Shapira
I used to keep around large swap partitions (that was also before the blissful days of LVM2) until someone on the linux-il mailing list convinced me that the amount of overhead for the kernel to keep track of large amount of swap will actually cause a slow down and reduction of ram utilization. Als

Re: [SLUG] Increasing RAM

2009-04-18 Thread Dean Hamstead
RAM is so cheap now, that if you start using swap heavily people just drop in a bit more ! I tend to roughly match swap and memory. At least when i first install. Dean Michael Chesterton wrote: On 18/04/2009, at 10:02 PM, Kyle wrote: Hi Slug, I've decided to increase the RAM on my home Ce

Re: [SLUG] Increasing RAM

2009-04-18 Thread Michael Chesterton
On 18/04/2009, at 10:02 PM, Kyle wrote: Hi Slug, I've decided to increase the RAM on my home CentOS server. As best I can recall, the accepted wisdom is to have SWAP approx.~ 2 x RAM. Or was that approx.~ 50% of RAM? Can someone point me in the direction of an explicit tutorial on how