Linux Today: Linux News On Internet Time.
Search Linux Today
search.internet.com
Linux News Sections:  Blog -  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Preferences
Contribute
Link to Us
Search
Linux Jobs

Become a Marketplace Partner

internet.commerce
Be a Commerce Partner














The Linux Channel at internet.com
Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Subscribe News
Subscribe PR
Subscribe Security

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

 






Current Newswire:

Vim 101: A Beginner's Guide to Vim

Open Source Science: A Revolution From Within

openSUSE 11.2-- Incremental Updates, Plenty of Polish

Microsoft, other rivals slam Google Chrome OS

Intel Linux Graphics Shine With Fedora 12

Editor's Note: Do It Yourself "Cloud"

Google Chrome OS: First looks, first impressions

Kernel Log: Coming in 2.6.32 (Part 3) - Storage

TV Mythos Renewed: MythTV 0.22 with Many Improvements

Enhancing openSUSE 11.2: Adding Repositories and Packages




Technical Specialist II – PC – LAN (AZ)
Next Step Systems
US-AZ-Scottsdale

Justtechjobs.com Post A Job | Post A Resume
:Should You Use Twice the Amount of Ram as Swap Space?
Should You Use Twice the Amount of Ram as Swap Space?
Nov 19, 2008, 17 :16 UTC (7 Talkback[s]) (6051 reads)

(Other stories by Vivek Gite)

[ Thanks to An Anonymous Reader for this link. ]

"Old dumb memory managers

"I think the '2x swap space' rule came from Old Solaris and Windows admins. Also, earlier memory mangers were very badly designed. There were not very smart. Today, we have very smart and intelligent memory manager for both Linux and UNIX.

"Nonsense rule: Twice the size of your main system RAM for Servers

According to OpenBSD FAQ:

"Many people follow an old rule of thumb that your swap partition should be twice the size of your main system RAM. This rule is nonsense. On a modern system, that's a LOT of swap, most people prefer that their systems never swap. You don't want your system to ever run out of RAM+swap, but you usually would rather have enough RAM in the system so it doesn't need to swap."

Complete Story

Related Stories:
Warning: Ubuntu/Arch Linux Slowdown? Check Your Swap(Nov 07, 2008)
What I Learned Using Linux Over the Last 10 Years(Oct 28, 2008)
Building a Diskless Computer Network On Ubuntu 8.04(Aug 13, 2008)
3 Reasons Why Your System Might Be Slow(Jun 11, 2008)
Kernel Space: Memory Allocation Failures(Apr 17, 2008)
Swapoff Performance(Sep 11, 2007)
Linux: Improving kswapd(Sep 10, 2007)
Still Waiting for Swap Prefetch(Aug 06, 2007)


Index Mode   |   Flat Mode   |   Thread Mode   |   Thread Flat  
  Talkback(s) Name  and Date
Just monitor your system and adjust as n ...   Do whatever you're comfortable with.   
Brandioch Conner
Nov 19, 2008, 17:43:02
 
Folks,    I'm old, but not old enoug ...   Weird, but not stupid   
oldtimer
Nov 19, 2008, 17:50:33
 
Well...We used to have three times the a ...   In the good ole days...   
Lou
Nov 19, 2008, 18:21:13
 
If you have main memory of 4GB or over t ...   Over 4GB, No   
Segedunum
Nov 19, 2008, 22:24:12
 
As you start to actually use the swap th ...   Its in the dynamics   
philc
Nov 19, 2008, 22:31:28
 
You are exactly right.  If you ever begi ...   Re: Its in the dynamics   
Steve Stites
Nov 20, 2008, 00:19:14
 
The one occasion I needed a  large amoun ...   when swap is needed   
Arthur Marsh
Nov 29, 2008, 02:39:21
 
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!






..............................




All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs