Author Topic: Swap Partion with 4Gb Ram? Solved  (Read 2321 times)

Offline weg

  • Jr. Member
  • **
  • Posts: 26
Swap Partion with 4Gb Ram? Solved
« on: March 24, 2010, 11:39:45 AM »
Hi all,
with some new computers having 4 GB ram is a swap partition still necessary.If so does the rule of roughly double the ram still apply. If double the ram is unnecessary, how much then should be installed,   thanks   weg
« Last Edit: March 24, 2010, 07:14:21 PM by weg »

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6381
  • I'm going South
Re: Swap Partion with 4Gb Ram?
« Reply #1 on: March 24, 2010, 12:03:37 PM »
Hi all,
with some new computers having 4 GB ram is a swap partition still necessary.

Most of the time it isn't. But it's a safety net.

Quote
If so does the rule of roughly double the ram still apply.

Quite certainly not -- unless you use your computer in strange and unusual ways.

Quote
If double the ram is unnecessary, how much then should be installed,   thanks   weg

I don't know. I have 8 GB of RAM, but with the old kernels only 42% of it was actually accessible to programs -- so in practical terms I've run with 4 GB's of RAM up until now. I also have a 4 GB swap partition -- and in ten months I've seen (or heard) no swapping. If I were to set up a new system today, I'd be content with 2 GB.
« Last Edit: March 24, 2010, 12:08:02 PM by blackbird »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: Swap Partion with 4Gb Ram?
« Reply #2 on: March 24, 2010, 12:39:20 PM »
2 to 4 are more than enough and if you monitor that partition you will see that it is not used with all that ram

i have 1280mbs and haven't seen activity on it on many months, when i had 512 mbs the swap was merely used up to 200 mbs or less, usually it used 70, 30 or less

as blackbird says is a safety net and under normal circumstances can be seen as a waste of hard disk space
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11591
  • ----IOFLU----
Re: Swap Partion with 4Gb Ram?
« Reply #3 on: March 24, 2010, 01:30:15 PM »
Hi all,
with some new computers having 4 GB ram is a swap partition still necessary.If so does the rule of roughly double the ram still apply. If double the ram is unnecessary, how much then should be installed,   thanks   weg

If you have a laptop, and intend to use hibernate, your swap must be large enough to hold everything present already in swap as well as everything in RAM at the time the machine goes into hibernation, hence the 2xRAM rule. For a desktop that never sees hibernation, it's probably mostly a waste of space, and the size really depends on how you use the computer. If you do a lot of video work, transcoding more than one file at a time, swap usage can be rather high, in relationship to RAM, so swap at least equal to RAM would not be out of line. If you mostly spend your time on the web, and typing documents and reports, you may not need swap at all.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline critter

  • Full Member
  • ***
  • Posts: 220
Re: Swap Partion with 4Gb Ram?
« Reply #4 on: March 24, 2010, 03:33:25 PM »
O-P
That is the most accurate assessment of modern swap requirements i have seen and probably just enough to answer a newbies questions.

Perhaps you should put this in the wiki or sticky it somewhere in the forum ::)
Motherboard   Gigabyte Z68X-UD3H-B3
Hard Drives      2 x Maxtor STM350032 500GB SATA
Memory      16GB RAM
Processor      Intel core i5 3.30GHz
Video         nVidia GeForce GT430
Sound      HDA Intel PCH
PCLinuxOS          KDE

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6381
  • I'm going South
Re: Swap Partion with 4Gb Ram?
« Reply #5 on: March 24, 2010, 04:20:01 PM »
you should put this in the wiki or sticky it somewhere in the forum ::)

I wholeheartedly agree. I for one never considered hibernation.

« Last Edit: March 24, 2010, 04:22:37 PM by blackbird »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11591
  • ----IOFLU----
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline weg

  • Jr. Member
  • **
  • Posts: 26
Re: Swap Partion with 4Gb Ram? Solved
« Reply #7 on: March 24, 2010, 07:15:36 PM »
Thanks to all who replied to my question.I am suitably edified, ;D   weg