LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-25-2007, 05:54 PM   #1
malo_umoran
Member
 
Registered: Dec 2003
Distribution: Desktop: Slackware 13.1 &13.37 | Server: Debian 6.0
Posts: 270

Rep: Reputation: 32
software raid 0 and raid 5: which chunk size to choose?


hi,

I want to setup a new system. There will be a lot of disks inside, which will be split between:
- one raid 0 with 2 hard disks and
- one or two raid 5, with lvm2 over it

raid 0 will be used as a system raid for Slackware, raid 5 for everything else. file system will be reiserfs.

my questions are:
1. which is the best chunk size and best configuration for raid 0?
64k is default in mdadm. it is for the OS, which probably contain a lot of small files.

2. which is the best chunk size for raid 5, which will contain a lot of big files (1-2gb)?

thanks a lot.

M.
 
Old 02-26-2007, 11:35 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
I hope you mean RAID-1 for the OS, and not RAID-0.

As for the chunk-size, it really depends on the usage. If the
RAID-5 for example were to hold an Oracle database I'd suggest
using a chunksize that matches Oracles. If you make the chunks
too big you may suffer performance hits.



Cheers,
Tink
 
Old 02-26-2007, 06:19 PM   #3
malo_umoran
Member
 
Registered: Dec 2003
Distribution: Desktop: Slackware 13.1 &13.37 | Server: Debian 6.0
Posts: 270

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by Tinkster
I hope you mean RAID-1 for the OS, and not RAID-0.
I am talking about RAID-0. I want more speed for the OS, and not the security if the disk would fall out, because this machine will no be used for critical stuff.


Quote:
Originally Posted by Tinkster
As for the chunk-size, it really depends on the usage. If the RAID-5 for example were to hold an Oracle database I'd suggest using a chunksize that matches Oracles. If you make the chunks too big you may suffer performance hits.
it will again hold nothing which require a lot of speed but I would to make it faster if I can. content will be: dvd backups, /home backups from the other PCs in the network, music files etc.

thanks

M.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why can't I mount this md0 raid? (mdadm and software raid) cruiserparts Linux - Software 35 01-05-2013 03:35 PM
Can fake raid be converted to linux software raid? jmacdonald801 Linux - General 3 01-30-2005 12:33 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
moving system from ide software raid to new box with scsi raid ftumsh Linux - General 0 10-28-2003 09:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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