Memory (RAM) problems?

2000-03-29 Thread Carlos Bustamante G.
Hi, I'm a litlle worry about the memory (RAM) used by my machine. 
I'm using slink ( recompiled kernel 2.0.36) and recently I realized that
I have my memory full very frecuently, even when running only a few
programs. Actually, the buffer and the cache use a lot of memory. 
I have 256 Mb, and a typical (not the most terrible) output of 'cat
/proc/meminfo ' looks like :


total:used:free:  shared: buffers:  cached:
Mem:  263127040 221241344 41885696 47808512 95961088 79933440
Swap: 133885952   286720 133599232
MemTotal:256960 kB
MemFree:  40904 kB
MemShared:46688 kB
Buffers:  93712 kB
Cached:   78060 kB
SwapTotal:   130748 kB
SwapFree:130468 kB


Sometimes, there are a release of memory (e.g. when I run a heavy
process) , but the cache an buffer slowly increase  
their memory usage.
Is it normal, or I have a serious problem? Maybe a not well tuned
kernel? Is there a way to release the memory used by the buffer and/or
cache? 

thanks
carlosb


Re: Memory (RAM) problems?

2000-03-29 Thread Andrei Ivanov
This is normal, and done by kernel to keep memory full all the time, so
access time to binaries is less (so your machine works faster). This can
only be a problem on systems with low RAM (I remember having 48M, and
having it all full.going into swap even when I was just running X
alone). If you don't like it, there are 2 files you can tweak:
/proc/sys/vm/pagecache and /proc/sys/vm/buffermem
Read about them in kernel docs, but with 256M you have nothing to worry
about. Just turn off the swap, and never touch it again.
Andrew

-
 Andrei S. Ivanov  
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 http://arhses.dyndns.org   -|
 http://scorpio.dynodns.net -|
 http://scorpio.myip.org-|   --All the pages bundled together.
 UIN 12402354

 For GPG key, go to above URL/GnuPG
-


Re: Memory (RAM) problems?

2000-03-29 Thread spectral
 Buffers:  93712 kB
 Cached:   78060 kB
 
 Is it normal, or I have a serious problem? Maybe a not well tuned
 kernel? Is there a way to release the memory used by the buffer and/or
 cache? 

Don't worry.. Thats perfectly normal.. The caches speed up the system, and
it frees mem there whenever a program needs more.

/Jonas


Re: Memory (RAM) problems?

2000-03-29 Thread Roso Giuseppe \(Beppe\)
I think that isn't normal (normally on PC a good system with XWin etc.
uses something like 64 Mb of RAM).
You must see which apps use too much memory (I suggest you to see kernel
modules such like NFS).
Which system are you using?


On Tue, 28 Mar 2000, Carlos Bustamante G. wrote:

 Hi, I'm a litlle worry about the memory (RAM) used by my machine. 
 I'm using slink ( recompiled kernel 2.0.36) and recently I realized that
 I have my memory full very frecuently, even when running only a few
 programs. Actually, the buffer and the cache use a lot of memory. 
 I have 256 Mb, and a typical (not the most terrible) output of 'cat
 /proc/meminfo ' looks like :
 
 
 total:used:free:  shared: buffers:  cached:
 Mem:  263127040 221241344 41885696 47808512 95961088 79933440
 Swap: 133885952   286720 133599232
 MemTotal:256960 kB
 MemFree:  40904 kB
 MemShared:46688 kB
 Buffers:  93712 kB
 Cached:   78060 kB
 SwapTotal:   130748 kB
 SwapFree:130468 kB
 
 
 Sometimes, there are a release of memory (e.g. when I run a heavy
 process) , but the cache an buffer slowly increase  
 their memory usage.
 Is it normal, or I have a serious problem? Maybe a not well tuned
 kernel? Is there a way to release the memory used by the buffer and/or
 cache? 
 
 thanks
 carlosb
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 


Re: Memory (RAM) problems?

2000-03-29 Thread Rolf Schillinger
I think this is totally normal.
Thats why linux is fast. And if you need more memory for applications it
gets freed from cache or buffers. No need to worry.
hth, Rolf

On Tue, 28 Mar 2000, Carlos Bustamante G. wrote:

 Hi, I'm a litlle worry about the memory (RAM) used by my machine. 
 I'm using slink ( recompiled kernel 2.0.36) and recently I realized that
 I have my memory full very frecuently, even when running only a few
 programs. Actually, the buffer and the cache use a lot of memory. 
 I have 256 Mb, and a typical (not the most terrible) output of 'cat
 /proc/meminfo ' looks like :
 
 
 total:used:free:  shared: buffers:  cached:
 Mem:  263127040 221241344 41885696 47808512 95961088 79933440
 Swap: 133885952   286720 133599232
 MemTotal:256960 kB
 MemFree:  40904 kB
 MemShared:46688 kB
 Buffers:  93712 kB
 Cached:   78060 kB
 SwapTotal:   130748 kB
 SwapFree:130468 kB
 
 
 Sometimes, there are a release of memory (e.g. when I run a heavy
 process) , but the cache an buffer slowly increase  
 their memory usage.
 Is it normal, or I have a serious problem? Maybe a not well tuned
 kernel? Is there a way to release the memory used by the buffer and/or
 cache? 
 
 thanks
 carlosb
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null