mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-20 06:56:28 -05:00
Use a lot more read-ahead buffers
This improves the performance even more.
This commit is contained in:
parent
afd29347bb
commit
55ac2b0d25
1 changed files with 14 additions and 1 deletions
15
cmdline/io.h
15
cmdline/io.h
|
|
@ -25,8 +25,21 @@
|
|||
|
||||
/**
|
||||
* Number of read-ahead buffers.
|
||||
*
|
||||
* More buffers always result in better performance.
|
||||
*
|
||||
* This is the scrub performance on my machine with different buffers:
|
||||
*
|
||||
* 1 - 380 MiB/s, CPU 26%, speed 100% [SnapRAID 9.2]
|
||||
* 2 - 426 MiB/s, CPU 46%, speed 112%
|
||||
* 4 - 452 MiB/s, CPU 54%, speed 118%
|
||||
* 8 - 487 MiB/s, CPU 60%, speed 128%
|
||||
* 16 - 505 MiB/s, CPU 63%, speed 132%
|
||||
* 32 - 520 MiB/s, CPU 64%, speed 136%
|
||||
* 64 - 524 MiB/s, CPU 65%, speed 137%
|
||||
* 128 - 525 MiB/s, CPU 66%, speed 138%
|
||||
*/
|
||||
#define IO_MAX 4
|
||||
#define IO_MAX 32
|
||||
|
||||
/**
|
||||
* State of the task.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue