Eric at Lucii.org on 8 Jan 2011 08:19:34 -0800 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Linux n00b question |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/08/2011 09:09 AM, Doug Stewart wrote: > On Sat, Jan 8, 2011 at 6:07 AM, Art Alexion <art.alexion@gmail.com> 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 longer > true 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. > There was an extensive discussion of swap size at PLUG Central on Wednesday and many folks opined that the 2x RAM recommendation was typically too high in modern systems. When I set up my current workstation 3 (or so) years ago I put in 4 GB of ECC RAM and 4 GB of swap. Today, with only Firefox, Thunderbird and a few xterms running I checked the memory usage: root@ursa:~# free total used free shared buffers cached Mem: 3096612 2512300 584312 0 63500 1843220 - -/+ buffers/cache: 605580 2491032 Swap: 3863624 0 3863624 Nice to know about the free command... it's much more useful than sudo cat /proc/meminfo Eric - -- # Eric Lucas # # "Oh, I have slipped the surly bond of earth # And danced the skies on laughter-silvered wings... # -- John Gillespie Magee Jr -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0ojn0ACgkQ2sGpvXQrZ/5lngCgieyjJe2mLBKY6Is1bTLToUE2 iHoAnR0fAAn7FKZ1kiII6lx25D3W52Tk =V5rs -----END PGP SIGNATURE----- ___________________________________________________________________________ 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