Kerala's Business Portal  
Home Movies Matrimonial Classifieds Jokes Photo Gallery Free Hosting Free Mail
 ProfileProfile     SearchSearch     RegisterRegister 
 Photo Gallery   Log in to check your private messagesLog in to check your private messages   Log inLog in 

All about Linux swap space

 
Post new topic   Reply to topic    BizHat.com Forum Index -> Linux, FreeBSD, OpenSource
Author Message
myself.x
BizHat Newbie
BizHat Newbie


Joined: 07 Sep 2007
Posts: 39

PostPosted: Sun Dec 16, 2007 1:16 am    Post subject: All about Linux swap space Reply with quote

When your computer needs to run programs that are bigger than your available physical memory, most modern operating systems use a technique called swapping, in which chunks of memory are temporarily stored on the hard disk while other data is moved into physical memory space. Here are some techniques that may help you better manage swapping on Linux systems and get the best performance from the Linux swapping subsystem.

Linux divides its physical RAM (random access memory) into chucks of memory called pages. Swapping is the process whereby a page of memory is copied to the preconfigured space on the hard disk, called swap space, to free up that page of memory. The combined sizes of the physical memory and the swap space is the amount of virtual memory available.

Swapping is necessary for two important reasons. First, when the system requires more memory than is physically available, the kernel swaps out less used pages and gives memory to the current application (process) that needs the memory immediately. Second, a significant number of the pages used by an application during its startup phase may only be used for initialization and then never used again. The system can swap out those pages and free the memory for other applications or even for the disk cache.

However, swapping does have a downside. Compared to memory, disks are very slow. Memory speeds can be measured in nanoseconds, while disks are measured in milliseconds, so accessing the disk can be tens of thousands times slower than accessing physical memory. The more swapping that occurs, the slower your system will be. Sometimes excessive swapping or thrashing occurs where a page is swapped out and then very soon swapped in and then swapped out again and so on. In such situations the system is struggling to find free memory and keep applications running at the same time. In this case only adding more RAM will help.
...
full article
http://hyip-man.blogspot.com/2007/12/all-about-linux-swap-space.html
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BizHat.com Forum Index -> Linux, FreeBSD, OpenSource All times are GMT
Page 1 of 1
Spam ? Report to Admin

 
Username


NO SPAM AND USELESS POSTS



BizHat.com   Astrology   Advt   Chat Room   Classifieds   Computer   Downloads   Directory   Dating   Domain Tools   Education   eCards   Finance   Forums   Freelance Work   Free Hosting   Free Mail   Gallery   Games   Guest Book   Greeting Cards   Ham Radio   Health   Home Business   Hosting Tutorials   Hosting Directory   India   Jobs   Jokes   Kerala   Matrimonial   Music   Movies   News   News Letter   Recipes   Real Estate   Search   SMS   Tourist Guide   Top 100 Sites   Vote Us   Yellow Pages   Site Map   Bookmark  

Google
¤ Terms of Service ¤ Advertise with Us ¤ Privacy Policy ¤ Contact Us 
Copyright © 2003-2005 BizHat.com, Hosted by HostOnNet.com