Re: excessive swap-in time
- From: Jan Knutar <shadowjksp@xxxxxxxx>
- Date: Sat, 15 Mar 2008 19:48:24 +0200
phil-news-nospam@xxxxxxxx wrote:
I sometimes encounter swap-in times for some heavy processes (usually the
Firefox browser) that can take a few MINUTES to complete. Reading all of
the swap space sequentially only takes 40 seconds. I think what really
is happening is that the process is swapping back out as it needs space
to swap in, even though the total VM size is less than half of real RAM.
In my experience with recent Linux, swap performance gets terrible after the
system has been up for awhile. The first heavy swap out goes along at
blistering speeds, but after a few months both swap in and swap out starts
behaving the way you describe.
It would be nice if there was a "swap trace" feature whereby I could see
the swapping actions taking place. Of course it could be a problem as the
process reading such a trace would affect things.
Maybe the block_dump facility could be of help?
echo 1 > /proc/sys/vm/block_dump
Please shut down syslog/klogd/minilogd first, you don't want to be logging
syslog's logging of the logging of the logging of the logging of the....
I'd like to know how
often the same page has to get swapped in over and over.
I suspect that the on-disk layout got worse at some point, needing much more
seeking than before.
.
- Follow-Ups:
- Re: excessive swap-in time
- From: phil-news-nospam
- Re: excessive swap-in time
- References:
- excessive swap-in time
- From: phil-news-nospam
- excessive swap-in time
- Prev by Date: Re: excessive swap-in time
- Next by Date: Re: Dynamic linking with LD_PRELOAD - get it compiled
- Previous by thread: Re: excessive swap-in time
- Next by thread: Re: excessive swap-in time
- Index(es):
Relevant Pages
|