What is the price of using md raid in perfomance matter.

Shown tables are generated by bonnie on md level 0, level 1, and directly on device.


-------Sequential Output------ --Sequential Input-- --Random-
-Per Chr- ---Block-- -Rewrite- -Per Chr- ---Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
md_1 4G 29434 97 60303 47 26859 13 31448 97 63791 19 430.1 1
md_0 4G 28963 97 106220 79 51660 28 31390 98 127605 41 421.3 1
direct 4G 28530 95 60638 47 27528 13 31255 97 63966 18 280.9 1

------Sequential Create------ --------Random Create--------
-Create-- --Read--- --Delete- -Create-- --Read--- --Delete--
files:max:min /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
md_1 100:100:0 4398 83 87013 99 14563 70 3748 89 99414 99 13564 71
md_0 100:100:0 4214 91 93285 100 16189 83 3999 91 108003 99 16596 90
direct 100:100:0 4193 83 89778 99 15138 76 4015 91 101260 100 14435 78

Comments