FreeBSD下比較傳統硬碟/SSD/iscsi 的IOPS數據 - 儲存設備
By Megan
at 2011-10-11T09:06
at 2011-10-11T09:06
Table of Contents
FreeBSD 底下測試 Hitach 3.5 1TB 硬碟與 Patroit 32G SSD的IOPS數據
OS:FreeBSD 8.2
Hitachi
nfsstorage# ./iops -n 8 -t 2 /dev/ad10
/dev/ad10, 2.00 TB, 8 threads:
512 B blocks: 82.7 IO/s, 41.3 KiB/s (338.6 kbit/s)
1 KiB blocks: 79.6 IO/s, 79.6 KiB/s (651.9 kbit/s)
2 KiB blocks: 86.4 IO/s, 172.9 KiB/s ( 1.4 Mbit/s)
4 KiB blocks: 85.0 IO/s, 339.9 KiB/s ( 2.8 Mbit/s)
8 KiB blocks: 60.1 IO/s, 480.6 KiB/s ( 3.9 Mbit/s)
16 KiB blocks: 51.4 IO/s, 823.0 KiB/s ( 6.7 Mbit/s)
32 KiB blocks: 48.2 IO/s, 1.5 MiB/s ( 12.6 Mbit/s)
64 KiB blocks: 34.8 IO/s, 2.2 MiB/s ( 18.2 Mbit/s)
128 KiB blocks: 27.5 IO/s, 3.4 MiB/s ( 28.9 Mbit/s)
256 KiB blocks: 31.5 IO/s, 7.9 MiB/s ( 66.0 Mbit/s)
512 KiB blocks: 24.9 IO/s, 12.5 MiB/s (104.5 Mbit/s)
1 MiB blocks: 11.4 IO/s, 11.4 MiB/s ( 95.5 Mbit/s)
2 MiB blocks: 7.2 IO/s, 14.4 MiB/s (121.1 Mbit/s)
Patroit 32G SSD
nfsstorage# ./iops -n 8 -t 2 /dev/ad4
/dev/ad4, 32.02 GB, 8 threads:
512 B blocks: 2109.6 IO/s, 1.0 MiB/s ( 8.6 Mbit/s)
1 KiB blocks: 2096.7 IO/s, 2.0 MiB/s ( 17.2 Mbit/s)
2 KiB blocks: 2073.6 IO/s, 4.1 MiB/s ( 34.0 Mbit/s)
4 KiB blocks: 2084.7 IO/s, 8.1 MiB/s ( 68.3 Mbit/s)
8 KiB blocks: 1109.1 IO/s, 8.7 MiB/s ( 72.7 Mbit/s)
16 KiB blocks: 568.8 IO/s, 8.9 MiB/s ( 74.6 Mbit/s)
32 KiB blocks: 292.7 IO/s, 9.1 MiB/s ( 76.7 Mbit/s)
64 KiB blocks: 146.6 IO/s, 9.2 MiB/s ( 76.9 Mbit/s)
128 KiB blocks: 73.5 IO/s, 9.2 MiB/s ( 77.1 Mbit/s)
256 KiB blocks: 36.5 IO/s, 9.1 MiB/s ( 76.5 Mbit/s)
512 KiB blocks: 19.2 IO/s, 9.6 MiB/s ( 80.6 Mbit/s)
1 MiB blocks: 9.6 IO/s, 9.6 MiB/s ( 80.1 Mbit/s)
2 MiB blocks: 4.6 IO/s, 9.3 MiB/s ( 78.0 Mbit/s)
iscsi on DIY FreeBSD Box
/dev/sda, 21.47 GB, 8 threads:
512 B blocks: 463.6 IO/s, 231.8 KiB/s ( 1.9 Mbit/s)
1 KiB blocks: 448.4 IO/s, 448.4 KiB/s ( 3.7 Mbit/s)
2 KiB blocks: 441.6 IO/s, 883.3 KiB/s ( 7.2 Mbit/s)
4 KiB blocks: 280.0 IO/s, 1.1 MiB/s ( 9.2 Mbit/s)
8 KiB blocks: 314.5 IO/s, 2.5 MiB/s ( 20.6 Mbit/s)
16 KiB blocks: 133.0 IO/s, 2.1 MiB/s ( 17.4 Mbit/s)
32 KiB blocks: 111.3 IO/s, 3.5 MiB/s ( 29.2 Mbit/s)
64 KiB blocks: 54.2 IO/s, 3.4 MiB/s ( 28.4 Mbit/s)
128 KiB blocks: 33.2 IO/s, 4.1 MiB/s ( 34.8 Mbit/s)
256 KiB blocks: 24.0 IO/s, 6.0 MiB/s ( 50.4 Mbit/s)
512 KiB blocks: 15.8 IO/s, 7.9 MiB/s ( 66.1 Mbit/s)
1 MiB blocks: 8.3 IO/s, 8.3 MiB/s ( 69.7 Mbit/s)
2 MiB blocks: 4.8 IO/s, 9.6 MiB/s ( 80.6 Mbit/s)
可以發現 iscsi 在 IOPS的數據測試上,
其實並不會比我想像中的差到哪裡去,
所以如果是針對IO比較重的應用,也許可以考慮看看iscsi ?
p.s 奇怪,這顆SSD的數據看起來怪怪的.....
--
會當凌絕頂,一覽眾山小。 —— 杜甫
--
OS:FreeBSD 8.2
Hitachi
nfsstorage# ./iops -n 8 -t 2 /dev/ad10
/dev/ad10, 2.00 TB, 8 threads:
512 B blocks: 82.7 IO/s, 41.3 KiB/s (338.6 kbit/s)
1 KiB blocks: 79.6 IO/s, 79.6 KiB/s (651.9 kbit/s)
2 KiB blocks: 86.4 IO/s, 172.9 KiB/s ( 1.4 Mbit/s)
4 KiB blocks: 85.0 IO/s, 339.9 KiB/s ( 2.8 Mbit/s)
8 KiB blocks: 60.1 IO/s, 480.6 KiB/s ( 3.9 Mbit/s)
16 KiB blocks: 51.4 IO/s, 823.0 KiB/s ( 6.7 Mbit/s)
32 KiB blocks: 48.2 IO/s, 1.5 MiB/s ( 12.6 Mbit/s)
64 KiB blocks: 34.8 IO/s, 2.2 MiB/s ( 18.2 Mbit/s)
128 KiB blocks: 27.5 IO/s, 3.4 MiB/s ( 28.9 Mbit/s)
256 KiB blocks: 31.5 IO/s, 7.9 MiB/s ( 66.0 Mbit/s)
512 KiB blocks: 24.9 IO/s, 12.5 MiB/s (104.5 Mbit/s)
1 MiB blocks: 11.4 IO/s, 11.4 MiB/s ( 95.5 Mbit/s)
2 MiB blocks: 7.2 IO/s, 14.4 MiB/s (121.1 Mbit/s)
Patroit 32G SSD
nfsstorage# ./iops -n 8 -t 2 /dev/ad4
/dev/ad4, 32.02 GB, 8 threads:
512 B blocks: 2109.6 IO/s, 1.0 MiB/s ( 8.6 Mbit/s)
1 KiB blocks: 2096.7 IO/s, 2.0 MiB/s ( 17.2 Mbit/s)
2 KiB blocks: 2073.6 IO/s, 4.1 MiB/s ( 34.0 Mbit/s)
4 KiB blocks: 2084.7 IO/s, 8.1 MiB/s ( 68.3 Mbit/s)
8 KiB blocks: 1109.1 IO/s, 8.7 MiB/s ( 72.7 Mbit/s)
16 KiB blocks: 568.8 IO/s, 8.9 MiB/s ( 74.6 Mbit/s)
32 KiB blocks: 292.7 IO/s, 9.1 MiB/s ( 76.7 Mbit/s)
64 KiB blocks: 146.6 IO/s, 9.2 MiB/s ( 76.9 Mbit/s)
128 KiB blocks: 73.5 IO/s, 9.2 MiB/s ( 77.1 Mbit/s)
256 KiB blocks: 36.5 IO/s, 9.1 MiB/s ( 76.5 Mbit/s)
512 KiB blocks: 19.2 IO/s, 9.6 MiB/s ( 80.6 Mbit/s)
1 MiB blocks: 9.6 IO/s, 9.6 MiB/s ( 80.1 Mbit/s)
2 MiB blocks: 4.6 IO/s, 9.3 MiB/s ( 78.0 Mbit/s)
iscsi on DIY FreeBSD Box
/dev/sda, 21.47 GB, 8 threads:
512 B blocks: 463.6 IO/s, 231.8 KiB/s ( 1.9 Mbit/s)
1 KiB blocks: 448.4 IO/s, 448.4 KiB/s ( 3.7 Mbit/s)
2 KiB blocks: 441.6 IO/s, 883.3 KiB/s ( 7.2 Mbit/s)
4 KiB blocks: 280.0 IO/s, 1.1 MiB/s ( 9.2 Mbit/s)
8 KiB blocks: 314.5 IO/s, 2.5 MiB/s ( 20.6 Mbit/s)
16 KiB blocks: 133.0 IO/s, 2.1 MiB/s ( 17.4 Mbit/s)
32 KiB blocks: 111.3 IO/s, 3.5 MiB/s ( 29.2 Mbit/s)
64 KiB blocks: 54.2 IO/s, 3.4 MiB/s ( 28.4 Mbit/s)
128 KiB blocks: 33.2 IO/s, 4.1 MiB/s ( 34.8 Mbit/s)
256 KiB blocks: 24.0 IO/s, 6.0 MiB/s ( 50.4 Mbit/s)
512 KiB blocks: 15.8 IO/s, 7.9 MiB/s ( 66.1 Mbit/s)
1 MiB blocks: 8.3 IO/s, 8.3 MiB/s ( 69.7 Mbit/s)
2 MiB blocks: 4.8 IO/s, 9.6 MiB/s ( 80.6 Mbit/s)
可以發現 iscsi 在 IOPS的數據測試上,
其實並不會比我想像中的差到哪裡去,
所以如果是針對IO比較重的應用,也許可以考慮看看iscsi ?
p.s 奇怪,這顆SSD的數據看起來怪怪的.....
--
會當凌絕頂,一覽眾山小。 —— 杜甫
--
Tags:
儲存設備
All Comments
By Vanessa
at 2011-10-14T14:06
at 2011-10-14T14:06
By Skylar DavisLinda
at 2011-10-14T19:00
at 2011-10-14T19:00
By Elizabeth
at 2011-10-14T21:35
at 2011-10-14T21:35
By Brianna
at 2011-10-19T21:11
at 2011-10-19T21:11
Related Posts
這顆日立500G外接硬碟CP值
By Charlie
at 2011-10-10T14:29
at 2011-10-10T14:29
將檔案移到磁碟尾端 會比較好嗎?
By David
at 2011-10-10T14:06
at 2011-10-10T14:06
卸除了 硬碟 怎麼辦?
By Oliver
at 2011-10-10T14:01
at 2011-10-10T14:01
硬碟無壞軌卻無法格式化
By Wallis
at 2011-10-10T14:00
at 2011-10-10T14:00
蠢事:熱插硬碟
By Callum
at 2011-10-10T11:40
at 2011-10-10T11:40