RAID-1 performance under 2.4 and 2.6

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Emmanuel Florac
Date: Tuesday, March 25, 2008 - 11:43 am

I post there because I couldn't find any information about this
elsewhere : on the same hardware ( Athlon X2 3500+, 512MB RAM, 2x400 GB
Hitachi SATA2 hard drives ) the 2.4 Linux software RAID-1 (tested 2.4.32
and 2.4.36.2, slightly patched to recognize the hardware :p) is way
faster than 2.6 ( tested 2.6.17.13, 2.6.18.8, 2.6.22.16, 2.6.24.3)
especially for writes. I actually made the test on several different
machines (same hard drives though) and it remained consistent across
the board, with /mountpoint a software RAID-1.
Actually checking disk activity with iostat or vmstat shows clearly a
cache effect much more pronounced on 2.4 (i.e. writing goes on much
longer in the background) but it doesn't really account for the
difference. I've also tested it thru NFS from another machine (Giga
ethernet network):

dd if=/dev/zero of=/mountpoint/testfile bs=1M count=1024

kernel        2.4       2.6        2.4 thru NFS   2.6 thru NFS

write        90 MB/s    65 MB/s      70 MB/s       45 MB/s
read         90 MB/s    80 MB/s      75 MB/s       65 MB/s

Duh. That's terrible. Does it mean I should stick to  (heavily
patched...) 2.4 for my file servers or... ? :)

-- 
--------------------------------------------------
Emmanuel Florac               www.intellique.com   
--------------------------------------------------
--
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)