LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-20-2002, 01:10 PM   #1
Qebex
Member
 
Registered: Sep 2002
Distribution: Redhat 7.3
Posts: 71

Rep: Reputation: 15
Swap Memory in use or not?


I took a look at my Swap Memory via KDE System Guard. it show that my swap memory is largely constant and flat that around 3 - 4 MB range. This does not look quite normal to me. is the swap memory started or even mounted? how can I check and make sure?
 
Old 09-20-2002, 01:18 PM   #2
Qebex
Member
 
Registered: Sep 2002
Distribution: Redhat 7.3
Posts: 71

Original Poster
Rep: Reputation: 15
my total physical memory is 255.82MB
Free Physical memory is 15MB
Shared memory is 0MB
Buffered memory is 3.95MB
Cached memory is 76.55MB
total swap memory is 522MB
Free swap memory is 489.74MB

what does cached ram, shared memory and buffered memory is used for? how come swap memory is not much in used. plus there's little free physical memory, which this cause linux to crash? in windows, swap memory/pagefile is often on the high high dispite same amount of memory.
 
Old 09-20-2002, 07:13 PM   #3
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Under Linux the kernel will cache basically anything recently used into RAM, but not extend that on to HD swap until it has to. I don't know how the priority schema works entirely, but with the perverse amount of RAM people have these days, its standard for a machine to eat up all the RAM, swap down nothing to disk and that's normal operation. For instance, here's a low-traffic server.

Cheers,

Finegan
 
Old 09-21-2002, 12:18 AM   #4
Qebex
Member
 
Registered: Sep 2002
Distribution: Redhat 7.3
Posts: 71

Original Poster
Rep: Reputation: 15
cool. windows maintain a high amount of pagefile size though.
 
Old 09-21-2002, 07:16 AM   #5
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Linux uses all the available ram, mostly to cache stuff. The theory is that unused ram is wasted ram.
 
Old 09-21-2002, 07:59 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Also don't forget part of the VM behaviour is tweakable tru the /proc/sys/vm and sysctl interface.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Swap memory zero ??? lewkh Red Hat 2 07-23-2005 01:11 PM
Swap Memory xbill311x Linux - Newbie 2 04-11-2005 01:58 PM
Swap being used before memory gone bmiley_ncaa Linux - Hardware 2 09-29-2004 03:53 PM
no memory swap os2 Programming 2 06-11-2004 12:32 PM
Difference between Swap Virtrual memory and Swap Parition Nappa Slackware 4 11-27-2003 07:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:20 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