====== Sitemap ====== This is a sitemap over all available pages ordered by [[doku>namespaces|namespaces]].
Page Actions
Wiki Actions
User Actions
====== Differences ====== This shows you the differences between two versions of the page.
testing:filez-disknotater [2010/04/24 22:24] fishy |
testing:filez-disknotater [2010/04/27 21:00] (current) fishy |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Testing Linux software raid configuration ====== | ||
+ | |||
+ | ** Work in progress, these are rough notes...** | ||
+ | |||
+ | <code> | ||
+ | Version 1.03d ------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 | ||
+ | filez 8G 5698 14 5692 5 4596 8 27752 63 70331 34 171.0 0 | ||
+ | ------Sequential Create------ --------Random Create-------- | ||
+ | -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- | ||
+ | files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP | ||
+ | 16 613 12 +++++ +++ 441 8 582 12 +++++ +++ 410 8 | ||
+ | filez,8G,5698,14,5692,5,4596,8,27752,63,70331,34,171.0,0,16,613,12,+++++,+++,441,8,582,12,+++++,+++,410,8 | ||
+ | </code> | ||
+ | |||
+ | |||
+ | {{:testing:raidtest-char-read.png}} | ||
+ | |||
+ | {{:testing:raidtest-block-read.png}} | ||
+ | |||
+ | {{:testing:raidtest-char-write.png}} | ||
+ | |||
+ | {{:testing:raidtest-block-write.png}} | ||
+ | |||
+ | {{:testing:raidtest-seq-rewrite.png}} | ||
+ | {{:testing:raidtest-random-seek.png}} | ||
+ | |||
+ | {{:testing:raidtest-file-ops.png}} | ||
+ | |||
<code> | <code> | ||
En Hitachi-disk på Adaptec-kontroller, satt opp som Volume med Write-cache på kontroller. | En Hitachi-disk på Adaptec-kontroller, satt opp som Volume med Write-cache på kontroller. | ||
Line 13: | Line 43: | ||
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP | files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP | ||
16 5968 97 +++++ +++ 7104 99 6789 93 +++++ +++ 8057 99 | 16 5968 97 +++++ +++ 7104 99 6789 93 +++++ +++ 8057 99 | ||
- | filez,8G,7375,35,7442,24,5718,11,28081,71,63743,45,219.4,1,16,5968,97,+++++,+++, | + | filez,8G,7375,35,7442,24,5718,11,28081,71,63743,45,219.4,1,16,5968,97,+++++,+++,7104,99,6789,93,+++++,+++,8057,99 |
- | 7104,99,6789,93,+++++,+++,8057,99 | + | |
An Hitachi-disk på Asus-onbard AHCIkontroller, samme partisjonsoppsett som over: | An Hitachi-disk på Asus-onbard AHCIkontroller, samme partisjonsoppsett som over: | ||
Line 40: | Line 69: | ||
/dev/sde \ | /dev/sde \ | ||
--chunk=256 | --chunk=256 | ||
+ | |||
+ | pvcreate /dev/md0 | ||
vgcreate -s 32M raid5v /dev/md0 | vgcreate -s 32M raid5v /dev/md0 | ||
Line 71: | Line 102: | ||
Samme RAID5-sett, men mkfs.ext3 uten -E stride=64 opsjonen | Samme RAID5-sett, men mkfs.ext3 uten -E stride=64 opsjonen | ||
+ | Version 1.03d ------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 | ||
+ | filez 8G 13725 67 17437 59 19201 49 26382 92 52236 86 455.7 4 | ||
+ | ------Sequential Create------ --------Random Create-------- | ||
+ | -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- | ||
+ | files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP | ||
+ | 16 3916 94 +++++ +++ 4963 91 4877 97 +++++ +++ 5486 92 | ||
+ | filez,8G,13725,67,17437,59,19201,49,26382,92,52236,86,455.7,4,16,3916,94,+++++,+++,4963,91,4877,97,+++++,+++,5486,92 | ||
+ | |||
+ | mdadm \ | ||
+ | --create --verbose /dev/md0 \ | ||
+ | --level=raid5 \ | ||
+ | --metadata=1 \ | ||
+ | --raid-devices=4 \ | ||
+ | /dev/sdb \ | ||
+ | /dev/sdc \ | ||
+ | /dev/sdd \ | ||
+ | /dev/sde \ | ||
+ | --chunk=128 | ||
+ | |||
+ | pvcreate /dev/md0 | ||
+ | |||
+ | vgcreate -s 32M raid5v /dev/md0 | ||
+ | |||
+ | lvcreate -n test -L 32G raid5v | ||
+ | |||
+ | mkfs.ext3 -b 4096 -E stride=32 -i 4096 -m 0 /dev/raid5v/test | ||
+ | |||
+ | under build | ||
+ | |||
+ | Version 1.03d ------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 | ||
+ | filez 8G 7881 34 11826 31 17959 28 22926 61 33085 24 153.5 1 | ||
+ | ------Sequential Create------ --------Random Create-------- | ||
+ | -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- | ||
+ | files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP | ||
+ | 16 1528 27 +++++ +++ 1783 23 1751 27 +++++ +++ 2629 36 | ||
+ | filez,8G,7881,34,11826,31,17959,28,22926,61,33085,24,153.5,1,16,1528,27,+++++,+++,1783,23,1751,27,+++++,+++,2629,36 | ||
+ | |||
+ | Etter build | ||
+ | |||
+ | Version 1.03d ------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 | ||
+ | filez 8G 16305 68 21675 55 23201 44 31438 92 78377 86 447.8 4 | ||
+ | ------Sequential Create------ --------Random Create-------- | ||
+ | -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- | ||
+ | files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP | ||
+ | 16 7215 97 +++++ +++ 7768 99 8037 93 +++++ +++ 8177 99 | ||
+ | filez,8G,16305,68,21675,55,23201,44,31438,92,78377,86,447.8,4,16,7215,97,+++++,+++,7768,99,8037,93,+++++,+++,8177,99 | ||
+ | |||
+ | mdadm \ | ||
+ | --create --verbose /dev/md0 \ | ||
+ | --level=raid5 \ | ||
+ | --metadata=1 \ | ||
+ | --raid-devices=4 \ | ||
+ | /dev/sdb \ | ||
+ | /dev/sdc \ | ||
+ | /dev/sdd \ | ||
+ | /dev/sde \ | ||
+ | --chunk=64 | ||
+ | |||
+ | pvcreate /dev/md0 | ||
+ | |||
+ | vgcreate -s 32M raid5v /dev/md0 | ||
+ | |||
+ | lvcreate -n test -L 32G raid5v | ||
+ | |||
+ | mkfs.ext3 -b 4096 -E stride=16 -i 4096 -m 0 /dev/raid5v/test | ||
+ | |||
+ | Under build: | ||
+ | Version 1.03d ------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 | ||
+ | filez 8G 7009 33 11222 32 14150 16 16201 47 21514 28 164.9 2 | ||
+ | ------Sequential Create------ --------Random Create-------- | ||
+ | -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- | ||
+ | files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP | ||
+ | 16 1543 20 28677 42 1705 24 2142 26 27715 16 2317 29 | ||
+ | filez,8G,7009,33,11222,32,14150,16,16201,47,21514,28,164.9,2,16,1543,20,28677,42,1705,24,2142,26,27715,16,2317,29 | ||
+ | |||
+ | Etter build-complete | ||
+ | Version 1.03d ------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 | ||
+ | filez 8G 16100 66 21336 54 22765 45 28652 93 61033 89 440.1 4 | ||
+ | ------Sequential Create------ --------Random Create-------- | ||
+ | -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- | ||
+ | files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP | ||
+ | 16 7692 98 +++++ +++ 7406 98 7324 92 +++++ +++ 7893 98 | ||
+ | filez,8G,16100,66,21336,54,22765,45,28652,93,61033,89,440.1,4,16,7692,98,+++++,+++,7406,98,7324,92,+++++,+++,7893,98 | ||
+ | |||
+ | |||
+ | echo 8192 > /sys/block/md0/md/stripe_cache_size | ||
+ | Status for cache skal kunne leses fra /sys/block/md0/md/stripe_cache_active | ||
+ | Version 1.03d ------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 | ||
+ | filez 8G 15685 64 21053 54 21318 44 27955 91 58725 87 436.2 4 | ||
+ | ------Sequential Create------ --------Random Create-------- | ||
+ | -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- | ||
+ | files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP | ||
+ | 16 7190 97 +++++ +++ 7234 96 7140 92 +++++ +++ 7928 95 | ||
+ | filez,8G,15685,64,21053,54,21318,44,27955,91,58725,87,436.2,4,16,7190,97,+++++,+++,7234,96,7140,92,+++++,+++,7928,95 | ||
+ | |||
+ | echo 512 > /sys/block/md0/md/stripe_cache_size | ||
+ | |||
+ | Version 1.03d ------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 | ||
+ | filez 8G 15716 65 21201 53 22391 46 29170 91 64344 87 442.4 5 | ||
+ | ------Sequential Create------ --------Random Create-------- | ||
+ | -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- | ||
+ | files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP | ||
+ | 16 7258 96 +++++ +++ 7224 91 7335 97 +++++ +++ 7691 91 | ||
+ | filez,8G,15716,65,21201,53,22391,46,29170,91,64344,87,442.4,5,16,7258,96,+++++,+++,7224,91,7335,97,+++++,+++,7691,91 | ||
+ | |||
</code> | </code> |