From: "Sasi Peter" <sape@iq.rulez.org>
To: Andrea Arcangeli <andrea@suse.de>, Sasi Peter <sape@iq.rulez.org>,
Godfrey Livingstone <godfrey@hattaway-associates.com>,
linux-kernel@vger.kernel.org
Subject: Re: Ingo's RAID patch for 2.2.18 final?
Date: Wed, 24 Jan 2001 16:05:12 +0100 [thread overview]
Message-ID: <200101241505.QAA01045@iq.rulez.org> (raw)
> > (30+ high speed streams from 4 disks does really need some caching).
> This isn't obvious. Your working may not fit in cache and so the
kernel
> understand it's worthless to swapout stuff to make space to a
polluted cache.
But your understanding agrees on that the larger chunks for each stream
we read into cache, the more efficient for this kind of RAID disk
structure the read is, thus basically the more cache we have, the more
bandwidth we can serve. (disks give more data in the same time with
fewer long reads than with several shorter ones)
So might it have been an accidental behaviour of the previous kernels
to swap out pages in favor of caching under high I/O pressure, but it
was certainly a benefical behaviour.
> > Can't say, of these many daemons nothing can be swapped out (and
should
> > under I/O load)!
> If you run `cp /dev/zero .` on a smart VM nothing must be swapped out
even if
> it generated nearly the maximal I/O flood possible. It's worthless to
let a
> polluted cache to grow. It won't help anyways and you'll run slower
the next
> time you'll have to pagein from swap.
> It _enterely_ depends on the I/O load pattern if it worth to swapout
or not
> to make space for filesystem cache.
Ok (possibily incorrect, but simple) definition of I/O pressure of mine
is when the _real_ _physical_ disks are working all the time, pushing
data out of the box (in this case through the network).
"cp /dev/zero ." is a somewhat different from my case:
- mine is an IRL case (don't know how often a pattern like the "cp"
case show up IRL)
- Mine is about _reading_ from disks
> > Be this, if this is the price for stability.
> As said we can add bits of page aging (that can't destabilize
anything and it
> will only affect performance behaviour), but I'd prefer to be sure
you really
> get a slowdown due the new VM behaviour (because more aging if done
without
> multiqueue O(1) approch can introduces waste of CPU and cachelines in
kernel
> space), so could you try to kill notes and squid and the other unused
stuff and
> to see if you return to deliver performance as with the older
kernels? I still
It might and it should, but actually I gotta have these started in case
someone drops in for using them. As I understand the only thing this is
worth trying out for is that maybe even with more cache I will have
less performance, than before, because in this case to or not to swap
out dows not really matter. Is this correct? Beacuse I will have to
have these running anyways...
> miss this important information (last thing you said me was that with
100mbyte
> in cache it swapouts, and without knowing the details of the I/O
pattern it
like when decreasing constantly, at reaching that only 100MB cache we
have left do we start swapping to have more cache, or at least have the
100MB not less.
> looked sane). After that I'd also like to know what happens with
2.4.0 that
> uses multiqueue and that is also able to detect pollution and to
avoid swapping
> out in such case.
What should I test with? (2.4.0/1pre?)
-- SaPE / Sasi Péter / mailto: sape@sch.hu / http://sape.iq.rulez.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next reply other threads:[~2001-01-24 15:02 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-24 15:05 Sasi Peter [this message]
2001-02-16 14:17 ` Andrea Arcangeli
2001-02-16 15:53 ` David Mansfield
2001-02-17 19:23 ` Andrea Arcangeli
2001-02-16 19:43 ` Can 2.2 Linux boot from an IDE ZIP? Dennis
2001-02-17 10:11 ` Sven Vermeulen
2001-02-17 10:14 ` Sven Vermeulen
-- strict thread matches above, loose matches on Subject: below --
2001-01-11 21:36 Ingo's RAID patch for 2.2.18 final? Jens Petersohn
2001-01-11 22:22 ` Takacs Sandor
2001-01-11 22:27 ` Alan Cox
2001-01-11 22:42 ` Takacs Sandor
2001-01-11 22:48 ` Jens Petersohn
2001-01-11 23:14 ` Takacs Sandor
2001-01-11 23:56 ` Matthias Kilian
2001-01-12 15:20 ` Oliver Teuber
2001-01-12 1:30 ` Andrea Arcangeli
2001-01-14 4:55 ` Godfrey Livingstone
2001-01-14 7:54 ` junio
2001-01-14 12:35 ` Ingo Molnar
2001-01-23 23:52 ` Sasi Peter
2001-01-24 0:09 ` Andrea Arcangeli
2001-01-24 0:43 ` Sasi Peter
2001-01-24 1:27 ` Andrea Arcangeli
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=200101241505.QAA01045@iq.rulez.org \
--to=sape@iq.rulez.org \
--cc=andrea@suse.de \
--cc=godfrey@hattaway-associates.com \
--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
Powered by JetHome