LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-30-2009, 01:03 AM   #1
Tomasu
Member
 
Registered: Sep 2006
Location: Edmonton, AB
Distribution: Debian
Posts: 30

Rep: Reputation: 15
extremly slow random read on new raid5 array


I just setup a new md raid5 array with 4 Seagate 7200.12 1TB disks. The sequential read and write is pretty amazing to me, but the random read is going very slowly. iostat says its going at about 500KB/s vs the 300MB/s+ and 170MB/s+ for sequential read and write respectively.

I've seen people report they get random reads in the double digit MB range, and I would have at least liked to see 50MB/s or something along those lines.

The raid array is setup with a 64KB chunk, I'm using ext4 (the mkfs and fsck times for the full array with ext3 would have killed me, and I'm starting to dislike the occasional corruption and slowness I get with XFS).

What am I missing? There's got to be something I misconfigured some place.
 
Old 05-30-2009, 02:47 PM   #2
Tomasu
Member
 
Registered: Sep 2006
Location: Edmonton, AB
Distribution: Debian
Posts: 30

Original Poster
Rep: Reputation: 15
My iozone test finished, so I'll post the results:

Code:
natasha:/mnt/test-data# time iozone -a -s 8G
        Iozone: Performance Test of File I/O
                Version $Revision: 3.308 $  
                Compiled for 64 bit mode.   
                Build: linux                
 
        Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
                     Al Slater, Scott Rhine, Mike Wisner, Ken Goss
                     Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
                     Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
                     Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy,
                     Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root.
 
        Run began: Fri May 29 21:16:37 2009
 
        Auto Mode
        File size set to 8388608 KB
        Command line used: iozone -a -s 8G
        Output is in Kbytes/sec
        Time Resolution = 0.000001 seconds.
        Processor cache size set to 1024 Kbytes.
        Processor cache line size set to 32 bytes.
        File stride size set to 17 * record size.
                                                            random  random    bkwd   record   stride
              KB  reclen   write rewrite    read    reread    read   write    read  rewrite     read   fwrite frewrite   fread  freread
         8388608       4  174685  213251   355843   365144     586    1284   12223  2280563    16758   218247   263474  358397   366568
         8388608       8  223099  240634   355358   365280    1168    2397   18998  2642433    18052   210898   233876  350771   365105
         8388608      16  226324  229919   365406   360961    2315    4390   26815  2810571     8341   218916   251165  361090   357974
         8388608      32  218344  255547   359488   365617    4532    7680   28945  3173752     9059   211130   247218  351760   366038
         8388608      64  214133  216581   360049   357493    8666   12576   35039  3067238    11112   215186   258125  352486   364836
         8388608     128  215983  263689   361029   355805   14172   22884   44144  3134393    17952   220013   262199  359932   358492
         8388608     256  219437  221301   361070   365407   24231   27027   55767  3249251    31228   219924   250765  355612   368312
         8388608     512  224317  249989   362780   359418   44359   44989   70847  3114559    75262   218529   256738  352011   359514
         8388608    1024  220018  245323   363428   357883   77843   71840  102576  2949858    89856   222584   246536  357558   358643
         8388608    2048  223986  257198   362738   364082  127198  100024  143284  2867324   140889   217681   248418  353124   364953
         8388608    4096  223963  240834   360078   360076  197791  121379  203363  2333949   211259   218647   259376  352413   358489
         8388608    8192  217639  235952   356011   356751  246708  143259  262451  2173888   264425   214914   234224  356112   367021
         8388608   16384  217533  231808   352947   367823  301731  161226  296074  2091368   297689   221477   243934  364667   365455
 
iozone test complete.
 
real    967m19.809s
user    1m28.250s
sys     54m3.239s
Out of the tests, only about the last 4 are adequate. I'd really like to see some better times from the smaller record sizes as well.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Extremly Slow Samba aripari Linux - Server 24 01-06-2013 12:50 PM
wireless, extremly slow, tons of DNS query true_atlantis Linux - Wireless Networking 2 06-01-2006 10:26 PM
extremly slow login cbriscoejr Fedora 0 11-08-2004 10:31 AM
2.6.8.1 --> EXTREMLY SLOW /etc/rc.d/rc.hotplug start carboncopy Slackware 10 09-30-2004 03:40 PM
External 56k Modem EXTREMLY slow on Fedora Core 2... Elite_Gamer04 Linux - Hardware 1 07-15-2004 03:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration