Art Alexion on 8 Jan 2011 09:28:05 -0800
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Linux n00b question
- From: Art Alexion <firstname.lastname@example.org>
- To: Philadelphia Linux User's Group Discussion List <email@example.com>
- Subject: Re: [PLUG] Linux n00b question
- Date: Sat, 8 Jan 2011 12:29:57 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:references:from :content-type:x-mailer:in-reply-to:message-id:date:to :content-transfer-encoding:mime-version; bh=GoAF0DMhwpbDWGrzZIhPN1HOI5oCSRRvT4T0WaLDNNU=; b=qsAg0Ff6qovWQs9IKF9PFvTay/DyGtEmpr9X4W1mBSAoldt/u4+Ah5u1gE3klFzzal om3NT370i8YrC9Q5o7j0I8WTOJJgagSIt90tXPc87kenXMVinRialc/ITu9846U9upMI EkFtUTv88MKIk/V+fq90KS0j29rwkI33RIatk=
- Reply-to: Philadelphia Linux User's Group Discussion List <firstname.lastname@example.org>
- Sender: email@example.com
On Sat, Jan 8, 2011 at 6:07 AM, Art Alexion <firstname.lastname@example.org> wrote:
On my netbook with one 8, and one 32 GB drive, I put Ubuntu / on the 8 GB drive and /home on the 32. I haven't encountered any problems with the 8 filling up. With a TB, you could probably go with 20 for /. I use 2X physical ram as a rule of thumb for /swap.
The 2x memory anachronism ought to die. It's archaic and no longertrue and in today's larger memory systems, it's a waste of space.(See, e.g., http://www.cyberciti.biz/tips/linux-swap-space.html)Rule of thumb: for < 2 GB RAM, swap = RAM size. 4 - 16 GB RAM, swap =4 GB. 16 - 64 GB RAM, swap = 8 GB. 64 - 256 GB RAM, swap = 16 GB.
I just read the article you cited and noticed this paragraph:
A note about Desktop and Laptop
If you are going to suspend to disk, then you need swap space more than actual RAM. For example, my laptop has 1GB RAM and swap is setup to 2GB. This only applies to Laptop or desktop but not to servers.
The rest of the article seems to apply to servers. I'm not sure I'd ever want a server swapping if I could avoid it.
Another part of the article which I found interesting was the Red Hat recommendation. That is, the lower the ram, the greater the swap recommended. Makes obvious sense.
I set up my 4 GB desktop with 8 GB, frankly because that's what I have always done. The article and the free command mentioned by Eric are enlightening. I probably won't allocate that much space again, but my low ram (by modern standards) is another story.
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug