From: safemode <safemode@speakeasy.net>
To: Mark Hahn <hahn@physics.mcmaster.ca>
Cc: linux-kernel@vger.kernel.org
Subject: Re: graphical swap comparison of aa and rik vm
Date: Thu, 1 Nov 2001 01:59:27 -0500 [thread overview]
Message-ID: <20011101065933Z278177-17408+8722@vger.kernel.org> (raw)
In-Reply-To: <Pine.LNX.4.10.10111010056100.31484-100000@coffee.psychology.mcmaster.ca>
In-Reply-To: <Pine.LNX.4.10.10111010056100.31484-100000@coffee.psychology.mcmaster.ca>
On Thursday 01 November 2001 01:23, Mark Hahn wrote:
> > Here is the graph http://safemode.homeip.net/vm_swapcomparison.png .
> > It's
>
> here's my munge of the same data:
> http://mhahn.mcmaster.ca/~hahn/foo.png
> the measures I find interesting are the SI/SO rates. first, the most
> obvious feature is that Rik-VM has a serious problem knowing when to *stop*
> swapping out. but SO isn't a bad thing unless it's obsessive: it's when
> you see high *swap-in* that you know the VM has previously chosen bad pages
> to SO. and this is the second big difference: Rik-VM doesn't make nearly as
> many mistakes - especially look at Andrea-VM thrashing out-in-out at ~
> samples 26-32.
>
> also, if you merely sum the SI and SO columns for each:
> sum(SI) sum(SO) sum(SI+SO)
> Rik-VM 43564 317448 290032
> AA-VM 118284 171748 361012
> to me, this looks like the same point: Rik being SO-happy,
> Andrea having to SI a lot more. interesting also that Andrea wins the
> race, in spite of poorer SO choices and more swap traffic overall.
My guess is that rik's vm allocates memory too relaxed. It quickly grabbed
all the memory it thought it would need so it wouldn't have to waste time
increasing or shrinking it (i guess that's why) and in doing so it started to
strangle memory needed for other things, generally decreasing the overall
performance of the system. That could be why you see spikes increasing and
decreasing rapidly in rik's vm allocation of swap. He had allocated
everything and needed to shrink it to make room for something else (actual
generation of the kde window for kghostview?) which caused it to lose much
time and any advantage it had gained by not making actual swap mistakes.
AA's memory allocation is more minimalistic but it easily has room for the
memory needed to render the kde window and all once processing the ps file
was done. This would also back up what i visually saw during the test.
Rik's kernel got done the processing of the ps file before AA's did, but it
was stuck at a frozen looking kghostview window with nothing inside it for a
while before being able to actually render the contents. AA's was able to
render the contents almost immediately after the window showed up on the
screen.
next prev parent reply other threads:[~2001-11-01 6:59 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-01 3:18 safemode
2001-11-01 3:41 ` Alex Pennace
2001-11-01 3:50 ` safemode
2001-11-01 6:10 ` safemode
2001-11-01 6:23 ` Mark Hahn
2001-11-01 6:41 ` safemode
2001-11-01 6:59 ` safemode [this message]
2001-11-01 11:08 ` Helge Hafting
2001-11-01 12:10 ` Rik van Riel
2001-11-01 13:47 ` safemode
2001-11-02 4:18 ` safemode
2001-11-01 21:23 ` Dirk Moerenhout
[not found] <20011102041819.4C36238C0A@perninha.conectiva.com.br>
2001-11-02 11:17 ` Rik van Riel
2001-11-02 13:07 ` safemode
[not found] <20011102130750.1760138C77@perninha.conectiva.com.br>
2001-11-02 13:14 ` Rik van Riel
2001-11-02 23:48 ` safemode
2001-11-03 15:36 ` safemode
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011101065933Z278177-17408+8722@vger.kernel.org \
--to=safemode@speakeasy.net \
--cc=hahn@physics.mcmaster.ca \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®