LinuxQuestions.org
Review your favorite Linux distribution.
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 03-11-2010, 11:53 AM   #1
ssd7
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Rep: Reputation: 0
Chunk size for RAID


Hello,

what are your thoughts about the chunk size in RAID. how much chunk size should be used?

I read this but i did not get it completely.

Thank you.

Last edited by ssd7; 03-11-2010 at 11:54 AM.
 
Old 03-11-2010, 11:58 AM   #2
troop
Member
 
Registered: Feb 2010
Distribution: gentoo, arch, fedora, freebsd
Posts: 379

Rep: Reputation: 97
I tested various chank sizes. In my case turned out default is best. (3 hdd, raid10)
 
Old 03-11-2010, 12:02 PM   #3
ssd7
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Original Poster
Rep: Reputation: 0
yes the default size 64kB is somewhat average
 
Old 03-11-2010, 02:44 PM   #4
RaelOM
Member
 
Registered: Dec 2004
Posts: 110

Rep: Reputation: 16
So first determine your system steady state.

http://www.linuxquestions.org/questi...-linux-748748/

Once you've done that determine the avgrq-sz using iostat -x <device> or sar -d.

Then calculate chunk size based on number of data disks in stripe.

Chunk size = avgrq-sz / # data disks
 
  


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
linux software raid , same hdd size ? cyberiapost Linux - Newbie 4 11-10-2008 06:18 AM
RAID 1/5 on two same size sata HDD sunlinux Linux - Software 1 11-12-2007 02:29 AM
software raid 0 and raid 5: which chunk size to choose? malo_umoran Linux - General 2 02-26-2007 06:19 PM
Software Raid-0 Chunk-Size - what is optimal? Swamper Linux - Software 0 09-13-2004 10:29 AM
disk druid and raid chunk size Zvezda Red Hat 0 05-08-2004 10:57 AM

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

All times are GMT -5. The time now is 04:10 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