You are not logged in.
Pages: 1
In /proc/meminfo there's a line labeled "SwapCached." It's usually a fair amount of swap space, even if free shows that I'm (supposedly) not using any swap.
Is this what I think it is, i.e. application data being cached in swap space? I've done some Googling but found several conflicting statements about SwapCached.
Offline
Red Hat explains it like this:
"SwapCache: Memory that once was swapped out, is swapped back in but still also is in the swapfile (if memory is needed it doesn't need to be swapped out AGAIN because it is already in the swapfile. This saves I/O)"
I believe it's a good explination and is what I've thought to be correct.
My guess is that free doesn't count SwapCached as used swap - which on the other hand is a bit confusing, since it does exactly that regarding memory usage.
What does swapon -s tell you?
Offline
According to swapon -s, none used.
It sounds like this is a little like the way the sticky bit used to be used, only automatic and without so many caveats?
Offline
Pages: 1