Re: Hardware vs Software Raid

From: david@lang.hm
Subject: Re: Hardware vs Software Raid
Date: ,
Msg-id: alpine.DEB.1.10.0806261316170.13412@asgard
(view: Whole thread, Raw)
In response to: Re: Hardware vs Software Raid  ("Peter T. Breuer")
List: pgsql-performance

Tree view

Hardware vs Software RAID  (Adrian Moisey, )
 Re: Hardware vs Software RAID  ("Merlin Moncure", )
  Re: Hardware vs Software RAID  (Matthew Wakeling, )
   Re: Hardware vs Software RAID  ("Peter T. Breuer", )
    Re: Hardware vs Software RAID  (Greg Smith, )
     Re: Hardware vs Software RAID  ("Jonah H. Harris", )
      Re: Hardware vs Software RAID  ("Joshua D. Drake", )
     Re: Hardware vs Software RAID  (Matthew Wakeling, )
      Re: Hardware vs Software RAID  (Vivek Khera, )
       Re: Hardware vs Software RAID  (Matthew Wakeling, )
        Re: Hardware vs Software RAID  ("Scott Marlowe", )
        Re: Hardware vs Software RAID  ("Merlin Moncure", )
         Re: Hardware vs Software RAID  (Matthew Wakeling, )
          Re: Hardware vs Software RAID  ("Merlin Moncure", )
     Re: Hardware vs Software RAID  ("Peter T. Breuer", )
      Re: Hardware vs Software RAID  (Greg Smith, )
     Re: Hardware vs Software RAID  (Robert Treat, )
   Re: Hardware vs Software RAID  ("Merlin Moncure", )
    Re: Hardware vs Software RAID  ("Peter T. Breuer", )
     Re: Hardware vs Software RAID  ("Merlin Moncure", )
      Re: Hardware vs Software Raid  ("Peter T. Breuer", )
       Re: Hardware vs Software Raid  ("Merlin Moncure", )
       Re: Hardware vs Software Raid  (, )
       Re: Hardware vs Software Raid  (Greg Smith, )
 Re: Hardware vs Software RAID  ("Scott Marlowe", )
  Re: Hardware vs Software RAID  ("Joshua D. Drake", )
   Re: Hardware vs Software RAID  ("Merlin Moncure", )
    Re: Hardware vs Software RAID  (Andrew Sullivan, )
     Re: Hardware vs Software RAID  ("Kevin Grittner", )
      Re: Hardware vs Software RAID  (Andrew Sullivan, )
     Re: Hardware vs Software RAID  (Greg Smith, )
    Re: Hardware vs Software RAID  (Greg Smith, )

On Thu, 26 Jun 2008, Peter T. Breuer wrote:

> "Also sprach Merlin Moncure:"
>> The linux software raid algorithms are highly optimized, and run on a
>
> I can confidently tell you that that's balderdash both as a Linux author
> and as a software RAID linux author (check the attributions in the
> kernel source, or look up something like "Raiding the Noosphere" on
> google).
>
>> presumably (much faster) cpu than what the controller supports.
>> However, there is still some extra oomph you can get out of letting
>> the raid controller do what the software raid can't...namely delay
>> sync for a time.
>
> There are several design problems left in software raid in the linux kernel.
> One of them is the need for extra memory to dispatch requests with and
> as (i.e. buffer heads and buffers, both). bhs should be OK since the
> small cache per device won't be exceeded while the raid driver itself
> serialises requests, which is essentially the case (it does not do any
> buffering, queuing, whatever .. and tries hard to avoid doing so). The
> need for extra buffers for the data is a problem. On different
> platforms different aspects of that problem are important (would you
> believe that on ARM mere copying takes so much cpu time that one wants
> to avoid it at all costs, whereas on intel it's a forgettable trivium).
>
> I also wouldn't aboslutely swear that request ordering is maintained
> under ordinary circumstances.

which flavor of linux raid are you talking about (the two main families I
am aware of are the md and dm ones)

David Lang


pgsql-performance by date:

From: Robert Treat
Date:
Subject: Re: Hardware vs Software RAID
From: Greg Smith
Date:
Subject: Re: Hardware suggestions for high performance 8.3