From: Roger Larsson <roger.larsson@norran.net>
To: Roy Sigurd Karlsbakk <roy@karlsbakk.net>
Cc: Jens Axboe <axboe@suse.de>, Andrew Morton <akpm@zip.com.au>,
<linux-kernel@vger.kernel.org>
Subject: Re: Errors in the VM - detailed (or is it Tux? or rmap? or those together...)
Date: Sat, 2 Feb 2002 17:24:41 +0100 [thread overview]
Message-ID: <200202021627.g12GRhM12101@mailf.telia.com> (raw)
In-Reply-To: <Pine.LNX.4.30.0202021635530.10839-100000@mustard.heime.net>
In-Reply-To: <Pine.LNX.4.30.0202021635530.10839-100000@mustard.heime.net>
On Saturday den 2 February 2002 16.38, Roy Sigurd Karlsbakk wrote:
> > I have reread the first mail in this series - I would say that Bug#2 is
> > much worse than Bug#1. This since Bug#1 is "only" a performance problem,
> > but Bug#2 is about correctness...
> >
> > Are you 100% sure that tux works with rmap?
>
> Of course not. How can I be sure???
>
> > I would suggest testing the simplest possible case.
> > * Standard kernel
> > * concurrent dd:s
>
> Won't work. Then all I get is (ref prob #1) good throughput until RAMx2
> bytes is read from disk. Then it all falls down to ~1MB/s. See
> http://karlsbakk.net/dev/kernel/vm-fsckup.txt for more details.
How do you know that it gets into this at RAMx2? Have you added 'bi' from
vmstat?
One interesting thing to notice from vmstat is...
r b w swpd free buff cache si so bi bo in cs us sy id
When performing nicely:
0 200 1 1676 3200 3012 786004 0 292 42034 298 791 745 4 29 67
0 200 1 1676 3308 3136 785760 0 0 44304 0 748 758 3 15 82
0 200 1 1676 3296 3232 785676 0 0 44236 0 756 710 2 23 75
Later when being slow:
0 200 0 3468 3316 4060 784668 0 0 1018 0 613 631 1 2 97
0 200 0 3468 3292 4060 784688 0 0 1034 0 617 638 0 3 97
0 200 0 3468 3200 4068 784772 0 0 1066 6 694 727 2 4 94
No swap activity (si + so == 0), mostly idle (id > 90).
So it is waiting - on what??? timer? disk?
>
> > What can your problem be:
> > * something to do with the VM - but the problem is in several different
> > VMs... * something to do with read ahead? you got some patch suggestions
> > - please use them on a standard kernel, not rmap (for now...)
>
> Then fix the problem rmap11c fixed. I first need that fixed before being
> able to do any further testing!
Roy, did you notice the mail from Andrew Morton:
> heh. Yep, Roger finally nailed it, I think.
>
> Roy says the bug was fixed in rmap11c. Changelog says:
>
>
> rmap 11c:
> ...
> - elevator improvement (Andrew Morton)
>
> Which includes:
>
> - queue_nr_requests = 64;
> - if (total_ram > MB(32))
> - queue_nr_requests = 128;
> + queue_nr_requests = (total_ram >> 9) &
> ~15; /* One per half-megabyte */
> + if (queue_nr_requests < 32)
> + queue_nr_requests = 32;
> + if (queue_nr_requests > 1024)
> + queue_nr_requests = 1024;
rmap11c changed the queue_nr_requests, that problem went away.
But another one showed its ugly head...
Could you please try this part of rmap11c only? Or the very simple one
setting queue_nr_request to = 2048 for a test drive...
/RogerL
--
Roger Larsson
Skellefteå
Sweden
next prev parent reply other threads:[~2002-02-02 16:28 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-31 15:05 Errors in the VM - detailed Roy Sigurd Karlsbakk
2002-01-31 15:44 ` David Mansfield
2002-01-31 20:21 ` Roger Larsson
2002-01-31 20:29 ` Jens Axboe
2002-01-31 20:43 ` Andrew Morton
2002-01-31 21:37 ` Jens Axboe
2002-02-01 16:05 ` Roy Sigurd Karlsbakk
2002-02-01 16:11 ` Roy Sigurd Karlsbakk
2002-02-01 18:44 ` Roger Larsson
2002-02-01 18:52 ` Roger Larsson
2002-02-01 18:57 ` Jens Axboe
2002-02-02 14:52 ` Roy Sigurd Karlsbakk
2002-02-02 14:43 ` Roy Sigurd Karlsbakk
2002-02-02 14:43 ` Roy Sigurd Karlsbakk
2002-02-02 14:44 ` Jens Axboe
2002-02-02 15:03 ` Roy Sigurd Karlsbakk
2002-02-02 15:06 ` Jens Axboe
2002-02-02 15:22 ` Errors in the VM - detailed (or is it Tux?) Roy Sigurd Karlsbakk
2002-02-02 15:31 ` Errors in the VM - detailed (or is it Tux? or rmap? or those together...) Roger Larsson
2002-02-02 15:38 ` Roy Sigurd Karlsbakk
2002-02-02 16:24 ` Roger Larsson [this message]
2002-02-02 16:39 ` Roy Sigurd Karlsbakk
2002-02-02 16:52 ` Roy Sigurd Karlsbakk
2002-02-02 17:29 ` Roger Larsson
2002-02-02 17:45 ` Errors in the VM - detailed Roy Sigurd Karlsbakk
2002-02-01 17:39 ` Denis Vlasenko
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=200202021627.g12GRhM12101@mailf.telia.com \
--to=roger.larsson@norran.net \
--cc=akpm@zip.com.au \
--cc=axboe@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=roy@karlsbakk.net \
/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®