PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 26, 2012, 08:22:09 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Swap Partion with 4Gb Ram? Solved  (Read 1756 times)
weg
Jr. Member
**
Offline Offline

Posts: 25


« on: March 24, 2010, 12:39:45 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
Logged
Bald Brick
PCLinuxOS Tester
Hero Member
*******
Online Online

Posts: 5145


I'm going South


« Reply #1 on: March 24, 2010, 01: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.
Logged

If it ain't broke
hit harder!

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
T6
Super Villain
******
Offline Offline

Posts: 16990


i can rest now :D


« Reply #2 on: March 24, 2010, 01: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
Logged

"It pays to keep an open mind, but not so open your brains fall out."

Carl Sagan
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9694


----IOFLU----


« Reply #3 on: March 24, 2010, 02: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.
Logged

Old-Polack

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



Lest we forget...
critter
Full Member
***
Offline Offline

Posts: 217



« Reply #4 on: March 24, 2010, 04: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 Roll Eyes
Logged

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
Bald Brick
PCLinuxOS Tester
Hero Member
*******
Online Online

Posts: 5145


I'm going South


« Reply #5 on: March 24, 2010, 05:20:01 PM »

you should put this in the wiki or sticky it somewhere in the forum Roll Eyes

I wholeheartedly agree. I for one never considered hibernation.

Logged

If it ain't broke
hit harder!

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
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9694


----IOFLU----


« Reply #6 on: March 24, 2010, 06:47:53 PM »

Here you go. Wink

http://www.pclinuxos.com/forum/index.php/topic,69910.msg573094.html#msg573094
Logged

Old-Polack

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



Lest we forget...
weg
Jr. Member
**
Offline Offline

Posts: 25


« Reply #7 on: March 24, 2010, 08:15:36 PM »

Thanks to all who replied to my question.I am suitably edified, Grin   weg
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM