Linux RAID subsystem development
 help / color / mirror / Atom feed
* MD raid and different  elevators  (disk i/o schedulers)
@ 2010-07-29 10:12 Fabio Muzzi
  2010-07-29 10:53 ` Mikael Abrahamsson
  2010-07-29 17:23 ` Eric Shubert
  0 siblings, 2 replies; 4+ messages in thread
From: Fabio Muzzi @ 2010-07-29 10:12 UTC (permalink / raw)
  To: linux-raid


I have tried to find information about this question in google, but 
found nothing.

The question is: are there issues using different disk i/o schedulers 
(by appending elevator=xxx to the kernel boot command line) when using 
md RAID1 or RAID5?

I seem to remember that someone told me that using elevator=deadline can 
cause perfectly good disks to be kicked from the RAID because of some 
latency issues that make the disk seem unresponsive (and dead) to the 
raid software.

Is this true? Are there compatibility issues using different i/o 
schedulers with software raid?


Thanks

-- 

Fabio "Kurgan" Muzzi

(worried Linux sysadmin)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: MD raid and different  elevators  (disk i/o schedulers)
  2010-07-29 10:12 MD raid and different elevators (disk i/o schedulers) Fabio Muzzi
@ 2010-07-29 10:53 ` Mikael Abrahamsson
  2010-07-29 17:23 ` Eric Shubert
  1 sibling, 0 replies; 4+ messages in thread
From: Mikael Abrahamsson @ 2010-07-29 10:53 UTC (permalink / raw)
  To: Fabio Muzzi; +Cc: linux-raid

On Thu, 29 Jul 2010, Fabio Muzzi wrote:

> Is this true? Are there compatibility issues using different i/o 
> schedulers with software raid?

I'd actually like to raise this one level further:

In the case of (drives)->md->dm(crypto)->lvm->fs, how do the schedulers, 
readahead settings, blocksizes, barriers etc interact thru all these 
layers? Is block caching done on all layers? Is readahead done on all 
layers?

-- 
Mikael Abrahamsson    email: swmike@swm.pp.se

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: MD raid and different  elevators  (disk i/o schedulers)
  2010-07-29 10:12 MD raid and different elevators (disk i/o schedulers) Fabio Muzzi
  2010-07-29 10:53 ` Mikael Abrahamsson
@ 2010-07-29 17:23 ` Eric Shubert
  2010-07-29 22:32   ` Fabio Muzzi
  1 sibling, 1 reply; 4+ messages in thread
From: Eric Shubert @ 2010-07-29 17:23 UTC (permalink / raw)
  To: linux-raid

Fabio Muzzi wrote:
> 
> I have tried to find information about this question in google, but 
> found nothing.
> 
> The question is: are there issues using different disk i/o schedulers 
> (by appending elevator=xxx to the kernel boot command line) when using 
> md RAID1 or RAID5?
> 
> I seem to remember that someone told me that using elevator=deadline can 
> cause perfectly good disks to be kicked from the RAID because of some 
> latency issues that make the disk seem unresponsive (and dead) to the 
> raid software.
> 
> Is this true? Are there compatibility issues using different i/o 
> schedulers with software raid?
> 
> 
> Thanks
> 

I've been running several vmware server hosts with elevator=deadline on 
raid1 for a year or so now, with no problems.

-- 
-Eric 'shubes'


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: MD raid and different  elevators  (disk i/o schedulers)
  2010-07-29 17:23 ` Eric Shubert
@ 2010-07-29 22:32   ` Fabio Muzzi
  0 siblings, 0 replies; 4+ messages in thread
From: Fabio Muzzi @ 2010-07-29 22:32 UTC (permalink / raw)
  To: linux-raid

On 29/07/10 19:23, Eric Shubert wrote:

> I've been running several vmware server hosts with elevator=deadline on
> raid1 for a year or so now, with no problems.

Nice to hear it, because I have just switched my newly installed vmware 
server (Debian Lenny, md raid1, vmware server) from CFQ to deadline 
because CFQ is VERY slow, causes the entire system to hang for some 
seconds every now and then, and it seems that it also crashed the whole 
machine during intense I/O from the only virtual guest I have running (a 
Win2008 with MS SQL server).


-- 

Fabio "Kurgan" Muzzi


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-07-29 22:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-29 10:12 MD raid and different elevators (disk i/o schedulers) Fabio Muzzi
2010-07-29 10:53 ` Mikael Abrahamsson
2010-07-29 17:23 ` Eric Shubert
2010-07-29 22:32   ` Fabio Muzzi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox