/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to Administration/Linux/system/storage/softraid/chunk_size.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2015-08-21 03:52:00 UTC
  • Revision ID: csa@suren.me-20150821035200-xu1zh22cqlk2omcq
Profiling

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
The RAID chunk size should suit the I/O characteristics of the data you're
 
2
working with. The key here is the size of the average I/O request you're
 
3
going to place on the RAID array; as a rule of thumb, if you want big I/O
 
4
requests, you should opt for smaller RAID chunk sizes, and if I/O will be
 
5
small, you should go for larger chunks.
 
6
 
 
7
For example, if your business works with lots of video or large image files,
 
8
you will want to ensure maximum throughput. That means you will need to
 
9
spread data across individual drives as much as possible. For this use case
 
10
smaller RAID chunk sizes (for example, 512 bytes -- one block -- to 8 KB)
 
11
fit the bill because you want to take data from one drive while the others
 
12
seek the next chunks to be read.
 
13
 
 
14
At the other extreme in terms of use cases would be running a database in
 
15
which the amount of data read on each operation is small, say, up to 4 KB.
 
16
Here you want a single I/O to be dealt with by one drive with one seek
 
17
action rather than be spilt between more than one drive and multiple seeks.
 
18
So, for use cases such as databases and email servers, you should go for a
 
19
bigger RAID chunk size, say, 64 KB or larger.