lkml.org 
[lkml]   [2001]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: buffer/memory strangeness in 2.4.16
space-00002@vortex.physik.uni-konstanz.de wrote:
>
> Hi,
>
> I am experiencing a bit of strange system behaviour in a vanilla 2.4.16
> kernel (2.95.3, very stable machine etc.)
>
> I noticed, that after running for a while (day) I had significantly less
> memory available for my simulation program than right after booting. Looking
> at the problem using 'xosview' (or 'free'), I noticed that there was a large
> number of MBs filled with 'buffers' that did not get wiped when other
> programs need the memory. The system seems to rather kill an 'offender' than
> clean out buffers.
>
>

Seconded. After an updatedb run, my 768 megabyte 2.5.1-pre4 machine
shows:

total used free shared buffers cached
Mem: 770668 384460 386208 0 138548 17744
-/+ buffers/cache: 228168 542500

and, after malloc/memset of 700 megs:

total used free shared buffers cached
Mem: 770668 73340 697328 0 41160 5960
-/+ buffers/cache: 26220 744448
Swap: 499928 18628 481300

I repeated the malloc/memset a few times, wrote a gigabyte file
and was unable to make the 40 megabytes of buffermem go away.

MemTotal: 770668 kB
MemFree: 698008 kB
MemShared: 0 kB
Buffers: 42092 kB
Cached: 6088 kB
SwapCached: 9808 kB
Active: 48064 kB
Inactive: 10112 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 770668 kB
LowFree: 698008 kB
SwapTotal: 499928 kB
SwapFree: 484512 kB

After running an extremely memory-intensive test program for
two minutes, buffermem fell to 38 megabytes.

Seems broken to me.

-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.070 / U:1.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site