xfs
[Top] [All Lists]

Re: superbloatvision

To: Sidik Isani <isani@xxxxxxxxxxxxxxx>
Subject: Re: superbloatvision
From: Steve Lord <lord@xxxxxxx>
Date: Tue, 10 Jul 2001 14:53:03 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: Message from Sidik Isani <isani@xxxxxxxxxxxxxxx> of "Tue, 10 Jul 2001 09:47:42 -1000." <200107101947.JAA10430@xxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
> Dear XFS -
> 
>   Is there some way to see how much of the memory XFS uses is memory
>   which will be freed when other things need it?  When running without
>   swapspace, this is a useful diagnostic to have on the screen (e.g.
>   XFS buffer/cache memory displayed in a different color from bloated
>   user programs.)
> 
>   Here's an example of the problem.  After running a command such as:
> 
> find / -xdev -anewer /timestamp-file
> 
>   over 100 MB (!) gets "used" according to /proc/meminfo, but it
>   doesn't show up differently from memory allocated by userspace
>   programs.  Is there anything else in /proc which might help?


jen{lord}: cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  260239360 227917824 32321536        0        0 133148672
Swap: 271425536 31924224 239501312
MemTotal:       254140 kB
MemFree:         31564 kB
MemShared:           0 kB
Buffers:             0 kB
Cached:         130028 kB
Active:          20412 kB
Inact_dirty:     91572 kB
Inact_clean:     18044 kB
Inact_target:       20 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       254140 kB
LowFree:         31564 kB
SwapTotal:      265064 kB
SwapFree:       233888 kB

That line in there which says Cached: is data in the filesystem,
it represents file data and metadata, once they are cleaned by
being written to disk they can and will be reclaimed by the rest
of the system on an as needed basis.

Steve


> 
> Thanks,
> 
> - Sidik



<Prev in Thread] Current Thread [Next in Thread>