Difference between revisions of "SYA810 RAID Benchmarking Lab"
Milton.paiva (talk | contribs) (→Results) |
Milton.paiva (talk | contribs) (→Results) |
||
Line 97: | Line 97: | ||
10 Files of 10 GB | 10 Files of 10 GB | ||
+ | Script: | ||
+ | ------------- | ||
+ | #!/bin/bash | ||
+ | # | ||
+ | # Script firth written by Nestor Chan - Bossanesta and modified by Milton Paiva Neto <milton.paiva@gmail.com> | ||
+ | # Create 10 files with with 10 GBs fully of zeros | ||
+ | |||
+ | time -p (for ((x=1; x<=10; x++)) | ||
+ | do | ||
+ | dd if=/dev/zero of=fakefile$x bs=1G count=10; | ||
+ | done | ||
+ | sync | ||
+ | ) | ||
+ | ------------- | ||
+ | |||
+ | ------------- | ||
[root@scotland raid0]# sh +x speedtest.sh | [root@scotland raid0]# sh +x speedtest.sh | ||
10+0 records in | 10+0 records in | ||
Line 128: | Line 144: | ||
10+0 records out | 10+0 records out | ||
10737418240 bytes (11 GB) copied, 44.8941 s, 239 MB/s | 10737418240 bytes (11 GB) copied, 44.8941 s, 239 MB/s | ||
+ | ------------- | ||
real 455.94 | real 455.94 | ||
user 0.00 | user 0.00 | ||
sys 324.02 | sys 324.02 |
Revision as of 17:01, 9 February 2009
Task
The machine 'scotland' is equipped with six 1.5TB disk drives. Partition 9 on each drive is unused. We're going to use these partitions to benchmark various RAID levels.
- Create a RAID array of the six partitions (/dev/sd[a-f]9) using the appropriate mdadm command(s).
- Create an ext3 filesystem on that array.
- Benchmark the array using the Winter_2009_SYA810_Block_Device_Benchmark_Scripts. Repeat the benchmarks at least 3 times -- more if the results seem to vary substantially.
- Stop the RAID array.
Important Notes
- Do not use any devices other than /dev/sd[a-f]9 as members of the array.
- Do not have any spare elements in your array.
- Make sure the system is quiet (not doing any background processing) when you run your tests.
Who's Doing Which RAID Level
Write you name on here according to RAID levels chosen in class.
RAID Level | Person |
---|---|
Append | |
0 | Milton Paiva Neto Script |
1 | |
4 | |
5 | |
6 | Nestor Scripts |
1+0 | |
RAID 5+LVM |
Scheduling
Person | Date/time (YYYY-MM-DD HH:MM-HH:MM) | Tests |
---|---|---|
Chris Tyler | 2009-02-02 08:00-17:00 | Multiseat testing |
Chris Tyler | 2009-02-04 08:00-17:00 | Multiseat testing |
Nestor Chan | 2009-02-06 ??:00- 2009-02-06 ??:00 | Raid 5 with multi-size writing test
(change my time if u need a slot..) |
Milton Paiva | 2009-02-09 14:30-20:00 | Raid 0 |
Results
Record your results here. A table would be nice!
RAID0 - Milton Paiva 10 Files of 10 GB
Script:
#!/bin/bash # # Script firth written by Nestor Chan - Bossanesta and modified by Milton Paiva Neto <milton.paiva@gmail.com> # Create 10 files with with 10 GBs fully of zeros time -p (for ((x=1; x<=10; x++)) do dd if=/dev/zero of=fakefile$x bs=1G count=10; done sync )
[root@scotland raid0]# sh +x speedtest.sh
10+0 records in 10+0 records out 10737418240 bytes (11 GB) copied, 44.497 s, 241 MB/s 10+0 records in 10+0 records out 10737418240 bytes (11 GB) copied, 42.6988 s, 251 MB/s 10+0 records in 10+0 records out 10737418240 bytes (11 GB) copied, 45.4546 s, 236 MB/s 10+0 records in 10+0 records out 10737418240 bytes (11 GB) copied, 43.6104 s, 246 MB/s 10+0 records in 10+0 records out 10737418240 bytes (11 GB) copied, 45.3155 s, 237 MB/s 10+0 records in 10+0 records out 10737418240 bytes (11 GB) copied, 44.858 s, 239 MB/s 10+0 records in 10+0 records out 10737418240 bytes (11 GB) copied, 46.2515 s, 232 MB/s 10+0 records in 10+0 records out 10737418240 bytes (11 GB) copied, 47.0685 s, 228 MB/s 10+0 records in 10+0 records out 10737418240 bytes (11 GB) copied, 43.8201 s, 245 MB/s 10+0 records in 10+0 records out 10737418240 bytes (11 GB) copied, 44.8941 s, 239 MB/s
real 455.94 user 0.00 sys 324.02