lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <200607161609_MC3-1-C52A-F449@compuserve.com>
Date:	Sun, 16 Jul 2006 16:08:25 -0400
From:	Chuck Ebbert <76306.1226@...puserve.com>
To:	"Jonathan Baccash" <jbaccash@...il.com>
Cc:	Ava Kivity <avi@...o.co.il>,
	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: raid io requests not parallel?

In-Reply-To: <e0e4cb3e0607160938k70819e40g4172f5917045ebf8@...l.gmail.com>

On Sun, 16 Jul 2006 09:38:25 -0700, Jonathan Baccash wrote:

> > Each head has to service 1024 write requests (compared to just 512 read
> > requests).
>
> By that logic, it would take twice as long for my writes to finish.
> Why is it taking 4x as long in my parallel test?

Because a single read not only goes to just one disk, it is sent to
the disk with the lowest expected seek time for that request.  This
cuts average read time in half, on average.

(See drivers/md/raid1.c::read_balance().)

> I would expect a raid-1 write
> to take about as long to write a single block as a single write to a
> single disk (assuming no other disk activity), because I would expect
> two writes to happen concurrently.

You didn't post any benchmarks showing results for single write to a
single disk.

-- 
Chuck
 Think. Or you will be replaced with a small shell script.  --dwmw2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ