LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-14-2004, 01:57 AM   #1
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 358

Rep: Reputation: 33
swap is BARELY being used...ever


Hello. Sorry, I'm sure this has probably been asked, but you try a search for "swap".
No matter what I do--I mean ripping cd's, compiling progs, 14 other programs running, etc, according to gkrellm and torsmo, I never use any swap space. Maybe a meg or two. How does linux handle the swap space? does it wait until ram is maxed out before using swap? If so, it seems like very little swap would be needed for a desktop system w/ 512mb ram. I know I've read that double your physical memory is a good size for swap, but with 512megs doesn't a gig of swap seem silly? I guess I really don't know how swap works, maybe big swap would be necessary for a server, but for a desktop system? Any input would be much appreciated.
 
Old 10-14-2004, 02:33 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
try to copy a dvd movie or something...I could imagine your swap is needed and in my system, with 256 megs of ram, I do use swap from time to time when ripping some discs or doing some other fancy stuff..

"swap = double the amount of your ram" doesn't mean that if you have 4 gigabytes of ram, you would need 8 gigs of swap it's a bit more relative...for small amounts of ram it is ok (like 32 or 64 or 128), but if you have a nice amount of ram, then you don't need that much swap. of course, I'd say it's still wise to make some - you can have unused swap, but when you really need it, you cannot create it more on-the-fly so when you run out of memory and swap, you are out of memory and swap. better to have it too much then too little..
 
Old 10-14-2004, 02:47 AM   #3
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 358

Original Poster
Rep: Reputation: 33
That's pretty much what I figured. I set aside a gig (which was probably overkill), but I'm not really hurting for space yet, so what the heck.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
UT can barely hear music. TheJkWhoSaysNi Linux - Games 2 04-04-2005 01:42 AM
Chromium and other 3d games crawl - graphics barely move 686plus Linux - Newbie 7 12-07-2004 10:25 AM
I can install barely anything, whats up? Gnixon Linux - Laptop and Netbook 6 09-26-2004 04:43 PM
Mandrake 9.1 on laptop plays CDs but can barely hear it gervin Linux - Newbie 3 01-08-2004 02:58 PM
Sound is barely above normal voice leves...RH9 Q cbjhawks Linux - Hardware 2 08-28-2003 06:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration