Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
memory usage
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
weazy
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 82
Location: co-located

PostPosted: Thu Sep 04, 2003 12:50 am    Post subject: memory usage Reply with quote

my memory usage looks like:

Mem: 512848k total, 505344k used, 7504k free, 8972k buffers
Swap: 506036k total, 0k used, 506036k free, 408980k cached

does it seem odd that so much of my memory is in swap and cached and so little is 'free'.

thanks
_________________
--The Devil is in the Details--
Back to top
View user's profile Send private message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Thu Sep 04, 2003 3:23 am    Post subject: Reply with quote

I do not understand why swap memory is cached.
It is ok for the physical memory to be cached. You can consider cached memory as free memory. Is memory that is allocated from the kernel to run faster the programs that you have already executed. But if another programs wants more memory than the free one, it can use the cached one.
Back to top
View user's profile Send private message
Nermal
Apprentice
Apprentice


Joined: 18 Apr 2002
Posts: 259
Location: UK

PostPosted: Thu Sep 04, 2003 10:16 am    Post subject: Reply with quote

I don't think there is any swap cached, I think its just the layout of the readout.

Any free memory will be used by the kernel for disk cache. (no point in having unused memory in your machine sitting doing nothing ;) )

Do cat /proc/meminfo for more detailed information, which should show you how much is actually in use.
Back to top
View user's profile Send private message
weazy
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 82
Location: co-located

PostPosted: Thu Sep 04, 2003 8:30 pm    Post subject: Reply with quote

thanks for the insight
_________________
--The Devil is in the Details--
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum