* swapout bandwidth
@ 2002-07-31 8:15 Andrew Morton
2002-07-31 13:01 ` Rik van Riel
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Morton @ 2002-07-31 8:15 UTC (permalink / raw)
To: Rik van Riel, linux-mm
Seems poor. On mem=512M, with 30 megs/sec of swap
bandwidth, a
memset(malloc(800megs))
takes 21 seconds, and 16 on 2.5.26.
There are big latencies during this too (vmstat freezes for
many seconds). But I seem to have fixed that in the
pagemap_lru_lock patches. Not sure how though ;)
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: swapout bandwidth
2002-07-31 8:15 swapout bandwidth Andrew Morton
@ 2002-07-31 13:01 ` Rik van Riel
0 siblings, 0 replies; 2+ messages in thread
From: Rik van Riel @ 2002-07-31 13:01 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-mm
On Wed, 31 Jul 2002, Andrew Morton wrote:
> Seems poor. On mem=512M, with 30 megs/sec of swap
> bandwidth, a
>
> memset(malloc(800megs))
>
> takes 21 seconds, and 16 on 2.5.26.
>
> There are big latencies during this too (vmstat freezes for
> many seconds). But I seem to have fixed that in the
> pagemap_lru_lock patches. Not sure how though ;)
I have an explanation for this fenomenon.
Without -rmap we can only swap out a very limited number of
the inactive pages and will wait on a few MB to be swapped
out each time.
With -rmap we can swap out ALL of the inactive pages and
we'll end up waiting on 180 MB of dirty pages to be flushed
to disk before using the first page we submitted for swapout
IO for the program...
It is all about the latency at which we can reclaim the
pages we submitted for IO and consequently the latency at
which the userspace program can continue.
regards,
Rik
--
Bravely reimplemented by the knights who say "NIH".
http://www.surriel.com/ http://distro.conectiva.com/
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-07-31 13:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-31 8:15 swapout bandwidth Andrew Morton
2002-07-31 13:01 ` Rik van Riel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox