Hi: I have installed Fedora 6 on a laptop with 756MB RAM. With no application started when the machine boots up, the top is saying that, 601308K is being used.
Mem: 774356k total, 601308k used, 173048k free, 19348k buffers
Is this normal? or is this not really what it means. I read some postings that the memory usage shown here is what is allocated for the processes and not how much is being used.
Any thoughts? Thanks Ravi
____________________________________________________________________________________ Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.com
I heard some rumors that this is normal. As you say, it is allocated memory reserved by the processes. If you are unlucky there might be a process that is leaking memory.
Best regards, Peter Lauri
www.dwsasia.com - company web site www.lauri.se - personal web site www.carbonfree.org.uk - become Carbon Free
-----Original Message----- From: fedora-list-bounces@redhat.com [mailto:fedora-list-bounces@redhat.com] On Behalf Of Ravi Malghan Sent: Wednesday, February 28, 2007 12:13 AM To: fedora-list@redhat.com Subject: fedora OS high memory usage
Hi: I have installed Fedora 6 on a laptop with 756MB RAM. With no application started when the machine boots up, the top is saying that, 601308K is being used.
Mem: 774356k total, 601308k used, 173048k free, 19348k buffers
Is this normal? or is this not really what it means. I read some postings that the memory usage shown here is what is allocated for the processes and not how much is being used.
Any thoughts? Thanks Ravi
____________________________________________________________________________ ________ Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.com
Normal.
Buffered memory used for disk cache and other crazy things.
________________________________________ From: fedora-list-bounces@redhat.com [fedora-list-bounces@redhat.com] On Behalf Of Peter Lauri [lists@dwsasia.com] Sent: Tuesday, February 27, 2007 5:20 PM To: 'For users of Fedora' Subject: RE: fedora OS high memory usage
I heard some rumors that this is normal. As you say, it is allocated memory reserved by the processes. If you are unlucky there might be a process that is leaking memory.
Best regards, Peter Lauri
www.dwsasia.com - company web site www.lauri.se - personal web site www.carbonfree.org.uk - become Carbon Free
-----Original Message----- From: fedora-list-bounces@redhat.com [mailto:fedora-list-bounces@redhat.com] On Behalf Of Ravi Malghan Sent: Wednesday, February 28, 2007 12:13 AM To: fedora-list@redhat.com Subject: fedora OS high memory usage
Hi: I have installed Fedora 6 on a laptop with 756MB RAM. With no application started when the machine boots up, the top is saying that, 601308K is being used.
Mem: 774356k total, 601308k used, 173048k free, 19348k buffers
Is this normal? or is this not really what it means. I read some postings that the memory usage shown here is what is allocated for the processes and not how much is being used.
Any thoughts? Thanks Ravi
____________________________________________________________________________ ________ Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.com
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
On Tue, 27 Feb 2007 14:12:43 -0800 (PST) Ravi Malghan rmalghan@yahoo.com wrote:
Hi: I have installed Fedora 6 on a laptop with 756MB RAM. With no application started when the machine boots up, the top is saying that, 601308K is being used.
Type this:
free
Look at the second line of output data.
For example, this is what I have on this machine right now:
$ free total used free shared buffers cached Mem: 2057836 1958356 99480 0 77972 1437864 -/+ buffers/cache: 442520 1615316 Swap: 2031608 344 2031264
I am using 442520k of memory, but 1962316k is actually occupied by my active processes, plus what amounts to a cache of what I have been doing recently just in case I might want to do it again soon.
Linux uses all available ram for that sort of a cache unless it is otherwise required for something else whereupon it is immediately released and given to the process that asked for it.
"1962316k is actually occupied by my active" How do you calculate that 1962316k is being occupied by your active processes?
On 2/27/07, Frank Cox theatre@sasktel.net wrote:
On Tue, 27 Feb 2007 14:12:43 -0800 (PST) Ravi Malghan rmalghan@yahoo.com wrote:
Hi: I have installed Fedora 6 on a laptop with 756MB RAM. With no application started when the machine boots up, the top is saying that, 601308K is being used.
Type this:
free
Look at the second line of output data.
For example, this is what I have on this machine right now:
$ free total used free shared buffers cached Mem: 2057836 1958356 99480 0 77972 1437864 -/+ buffers/cache: 442520 1615316 Swap: 2031608 344 2031264
I am using 442520k of memory, but 1962316k is actually occupied by my active processes, plus what amounts to a cache of what I have been doing recently just in case I might want to do it again soon.
Linux uses all available ram for that sort of a cache unless it is otherwise required for something else whereupon it is immediately released and given to the process that asked for it.
-- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
At 10:19 AM -0300 2/28/07, seba bino wrote:
On 2/27/07, Frank Cox theatre@sasktel.net wrote:
On Tue, 27 Feb 2007 14:12:43 -0800 (PST) Ravi Malghan rmalghan@yahoo.com wrote:
Hi: I have installed Fedora 6 on a laptop with 756MB RAM. With no application started when the machine boots up, the top is saying that, 601308K is being used.
Type this:
free
Look at the second line of output data.
For example, this is what I have on this machine right now:
$ free total used free shared buffers cached Mem: 2057836 1958356 99480 0 77972 1437864 -/+ buffers/cache: 442520 1615316 Swap: 2031608 344 2031264
I am using 442520k of memory, but 1962316k is actually occupied by my active processes, plus what amounts to a cache of what I have been doing recently just in case I might want to do it again soon.
Linux uses all available ram for that sort of a cache unless it is otherwise required for something else whereupon it is immediately released and given to the process that asked for it.
"1962316k is actually occupied by my active" How do you calculate that 1962316k is being occupied by your active processes?
Incorrectly. 442520K is used by his ("active") processes. 1615316K is not; of that, 77922K is used for buffers, 1437864K is used for cache, and 99480K is not used.
On Wed, 28 Feb 2007 12:05:33 -0500 Tony Nelson tonynelson@georgeanelson.com wrote:
Incorrectly. 442520K is used by his ("active") processes. 1615316K is not; of that, 77922K is used for buffers, 1437864K is used for cache, and 99480K is not used.
Indeed. I managed to get my numbers turned around when I was typing that message to you and read off of the wrong line.
Sorry if that caused any confusion.
Ravi Malghan wrote:
Hi: I have installed Fedora 6 on a laptop with 756MB RAM. With no application started when the machine boots up, the top is saying that, 601308K is being used.
Mem: 774356k total, 601308k used, 173048k free, 19348k buffers
Is this normal? or is this not really what it means. I read some postings that the memory usage shown here is what is allocated for the processes and not how much is being used.
It's normal -- you need to look at the "cached" figure as well, which is memory used to keep a copy of data on the hard drive that the system has accessed recently. If the system needs to read it again, it can get it out of cache, which is much faster than reading it from disk.
Memory used for caching is being used productively, while free memory isn't, so the system tries to use nearly all memory for caching if it hasn't got a better use for it.
James.
Ravi Malghan wrote:
Hi: I have installed Fedora 6 on a laptop with 756MB RAM. With no application started when the machine boots up, the top is saying that, 601308K is being used.
Mem: 774356k total, 601308k used, 173048k free, 19348k buffers
Is this normal? or is this not really what it means. I read some postings that the memory usage shown here is what is allocated for the processes and not how much is being used.
Any thoughts? Thanks Ravi
It looks fairly normal - the amount of free memory is a bit high, unless the system has not been up very long. Linux will use memory that is not needed for programs for buffers and disk cache. This tends to speed up operations, especially disk access if what you want is still in the cache. This is a better then letting memory sit unused.
The second line of the free command shows how much is used by programs, and how much can be freed for program use. Freeing up memory used for disk cache is normally fast, and buffers not too much slower.
Mikkel
"Mikkel L. Ellertson" mikkel@infinity-ltd.com writes:
Linux will use memory that is not needed for programs for buffers and disk cache.
Anyone knows what buffers top and free are referring to?
Regards Ingemar