Re: RAID-1 performance under 2.4 and 2.6

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Chris Snook
Date: Tuesday, March 25, 2008 - 4:13 pm

Bill Davidsen wrote:

dd uses unaligned stack-allocated buffers, and defaults to block sized I/O.  To 
call this inefficient is a gross understatement.  Modern applications which care 
about streaming I/O performance use large, aligned buffers which allow the 
kernel to efficiently optimize things, or they use direct I/O to do it 
themselves, or they make use of system calls like fadvise, madvise, splice, etc. 
that inform the kernel how they intend to use the data or pass the work off to 
the kernel completely.  dd is designed to be incredibly lightweight, so it works 
very well on a box with a 16 MHz CPU.  It was *not* designed to take advantage 
of the resources modern systems have available to enable scalability.

I suggest an application-oriented benchmark that resembles the application 
you'll actually be using.

-- Chris
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RAID-1 performance under 2.4 and 2.6, Emmanuel Florac, (Tue Mar 25, 11:43 am)
Re: RAID-1 performance under 2.4 and 2.6, Chris Snook, (Tue Mar 25, 3:00 pm)
Re: RAID-1 performance under 2.4 and 2.6, Emmanuel Florac, (Tue Mar 25, 3:09 pm)
Re: RAID-1 performance under 2.4 and 2.6, Bill Davidsen, (Tue Mar 25, 3:37 pm)
Re: RAID-1 performance under 2.4 and 2.6, Bill Davidsen, (Tue Mar 25, 3:47 pm)
Re: RAID-1 performance under 2.4 and 2.6, Chris Snook, (Tue Mar 25, 4:13 pm)
Re: RAID-1 performance under 2.4 and 2.6, Bill Davidsen, (Tue Mar 25, 4:42 pm)
Re: RAID-1 performance under 2.4 and 2.6, Bart Van Assche, (Wed Mar 26, 12:15 am)
Re: RAID-1 performance under 2.4 and 2.6, Emmanuel Florac, (Wed Mar 26, 12:56 am)
Re: RAID-1 performance under 2.4 and 2.6, Emmanuel Florac, (Wed Mar 26, 1:05 am)
Re: RAID-1 performance under 2.4 and 2.6, "J.A. Magallón", (Wed Mar 26, 1:25 am)
Re: RAID-1 performance under 2.4 and 2.6, Bart Van Assche, (Wed Mar 26, 1:42 am)
Re: RAID-1 performance under 2.4 and 2.6, Emmanuel Florac, (Wed Mar 26, 4:07 am)
Re: RAID-1 performance under 2.4 and 2.6, Bart Van Assche, (Wed Mar 26, 4:15 am)
Re: RAID-1 performance under 2.4 and 2.6, Emmanuel Florac, (Wed Mar 26, 5:36 am)
Re: RAID-1 performance under 2.4 and 2.6, Bart Van Assche, (Wed Mar 26, 6:22 am)
Re: RAID-1 performance under 2.4 and 2.6, Chris Snook, (Wed Mar 26, 9:39 am)
Re: RAID-1 performance under 2.4 and 2.6, Chris Snook, (Wed Mar 26, 9:51 am)
Re: RAID-1 performance under 2.4 and 2.6, Bill Davidsen, (Thu Mar 27, 2:49 pm)
Re: RAID-1 performance under 2.4 and 2.6, Bill Davidsen, (Thu Mar 27, 2:53 pm)
Re: RAID-1 performance under 2.4 and 2.6, Bill Davidsen, (Thu Mar 27, 3:03 pm)
Re: RAID-1 performance under 2.4 and 2.6, Bart Van Assche, (Fri Mar 28, 12:44 am)
Re: RAID-1 performance under 2.4 and 2.6, Bill Davidsen, (Fri Mar 28, 5:04 am)
Re: RAID-1 performance under 2.4 and 2.6, Pádraig Brady, (Wed Jul 16, 7:52 am)
Re: RAID-1 performance under 2.4 and 2.6, Chris Snook, (Wed Jul 16, 11:18 am)