From: Benjamin LaHaise <bcrl@redhat.com>
To: Matt Heaton <admin@0catch.com>
Cc: nfs@lists.sourceforge.net
Subject: Re: nfs performance problem
Date: Tue, 5 Nov 2002 16:24:45 -0500 [thread overview]
Message-ID: <20021105162445.A10031@redhat.com> (raw)
In-Reply-To: <09b001c2850c$5eeb0ec0$e2a446a6@user1i6avc9gfx>; from admin@0catch.com on Tue, Nov 05, 2002 at 01:46:04PM -0700
You're wrong. Reads (not sequential, but scattered) on a 1+0 setup will be
faster as the raid1 driver optimizes requests somewhat, plus 2 (or more for
larger raid1s of disks) drives will be able to service requests for the same
stripe offset on different disks. There is no way a raid5 can service two
requests for the same stripe offset at different offsets in the array. And
even for a read-heavy workload, there are still writes to update metadata
(and journal unless you've got a separate journal device), and the impact
of those is that *all* reads to the array have to suffer from seeks when
even the smallest write is active.
On a side note, make sure you have the filesystem mounted with the noatime
flag if you can afford losing atimes.
-ben
On Tue, Nov 05, 2002 at 01:46:04PM -0700, Matt Heaton wrote:
> Cachefs will help quite a lot in my opinion because it doesn't just store
> the files in RAM,
> it uses the hard drive. So if you have an NFS client with an extra 5 gig
> that you can
> designate as cache then reads to the NFS server will go down DRAMATICALLY as
> it will hit local cache on the NFS clients drive.
>
> I agree raid 1+0 should be much faster for writes and a little for read, but
> RAID 5 still
> reads from all drives simultaneously (Has to read parity in too I know), but
> can read
> all 7 drives at once instead of only 4 drives at once in a raid 1+0
> configuration with 8 drives
> in the array. I have never used 1+0 so I am only talking about physical
> drive layout rather
> than any personal experience. Are my assumptions correct that raid 5 does
> in fact read
> from all drives at the same time? If so, reading might be a LITTLE faster
> on raid 1+0 than
> raid 5, but it shouldn't be HUGE. When I contacted 3ware, they basically
> said the same thing.
> I do agree that writes are MUCH faster on 1+0 than raid 5.
>
> Any thoughts?
>
> L8r...
>
> Matt
>
>
> > On Tue, Nov 05, 2002 at 01:22:25PM -0700, Matt Heaton wrote:
> > > each NFS server. So even though our throughput of only 1.5 MB isn't
> high.
> > > The number of files per second is
> > > actually quite high, and causes things to slow down because of seek time
> > > issues. PLEASE GIVE US CACHEFS SOMEONE??
> >
> > How is cachefs going to help? The kernel is already trying to cache data
> > as much as possible. Once you're trying to serve more data than you have
> > RAM, this are naturally going to degreate quite significantly as the
> system
> > becomes seek bound.
> >
> > > Does anyone have experience with IDE Raid arrays that get over 250 tps
> in
> > > iostat that work fine? I would
> > > be VERY VERY VERY interested to find out.
> >
> > Use raid1+0 and you'll be much happier, as read requests will be balanced
> > over multiple drives (mirroring means the same data can be read from all
> > of the mirrors). Additionally, you'll have much lower CPU utilization
> > and writes won't cause all disks in the array to seek for strip updates.
> > Read the archives for the past couple of weeks for another example of the
> > performance increase when going from raid5 to raid1+0.
> >
> > -ben
> >
> >
>
--
"Do you seek knowledge in time travel?"
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next prev parent reply other threads:[~2002-11-05 21:24 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-05 18:03 nfs performance problem poczta.dotcom.pl
2002-11-05 19:17 ` Ragnar Kjørstad
2002-11-05 19:55 ` poczta.dotcom.pl
2002-11-05 20:22 ` Matt Heaton
2002-11-05 20:39 ` Benjamin LaHaise
2002-11-05 20:46 ` Matt Heaton
2002-11-05 21:24 ` Benjamin LaHaise [this message]
2002-11-05 23:32 ` Ragnar Kjørstad
2002-11-06 8:59 ` myciel
2002-11-06 10:16 ` Ragnar Kjørstad
2002-11-06 11:46 ` myciel
-- strict thread matches above, loose matches on Subject: below --
2002-11-05 20:56 Lever, Charles
2002-11-05 22:09 Lever, Charles
2002-11-06 17:08 pwitting
2002-11-07 15:19 Baker, Byran
2002-11-07 15:49 ` Matt Heaton
2002-11-07 17:32 ` Ragnar Kjørstad
2007-10-25 13:10 Andreas Schuldei
2007-10-25 13:53 ` Bernd Schubert
2007-10-27 9:25 ` Andreas Schuldei
2007-10-25 15:25 ` Chuck Lever
2007-10-25 19:34 ` Andreas Schuldei
2007-10-26 14:18 ` Chuck Lever
2007-10-26 17:01 ` Talpey, Thomas
2007-10-27 1:35 ` dean hildebrand
[not found] ` <c5befdd30710261835q50d34026h4dad32090db8a084@mail.gmail.co m>
2007-10-29 12:59 ` Talpey, Thomas
2007-10-25 14:39 Andreas Schuldei
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=20021105162445.A10031@redhat.com \
--to=bcrl@redhat.com \
--cc=admin@0catch.com \
--cc=nfs@lists.sourceforge.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