我们有一个大型数据库,并且客户抱怨在通过应用程序界面运行搜索时性能非常慢。它全部由第三方供应商提供,我从他们的指南中计算出数据库将需要1300的IoP。他们没有提供大量有关实际意义和仅运行diskspd的信息我可以看到它符合供应商的最低要求。
没有与结果进行比较的上下文与我不确定延迟是好还是坏。任何人都可以就下面的结果是否适合您提供建议吗?
数据库主要用于搜索,虽然它每天写入约450,000条新记录,目前有大约2.7亿行数据。
数据库驱动器都是基于NAS的,位于通过标准NIC通过1GB iSCSI连接的Netapp NAS上(没有HBA由客户安装)
我知道这可能不是很有帮助,但只是想找个地方开始吗?
Command Line: diskspd.exe -b8k -d60 -o4 -t8 -h -r -w25 -L -Z1G -c20G I:\diskspd\iotest.dat
Input parameters:
timespan: 1
-------------
duration: 60s
warm up time: 5s
cool down time: 0s
measuring latency
random seed: 0
path: 'I:\diskspd\iotest.dat'
think time: 0ms
burst size: 0
software and hardware write cache disabled
write buffer size: 1073741824
performing mix test (write/read ratio: 25/100)
block size: 8192
using random I/O (alignment: 8192)
number of outstanding I/O operations: 4
thread stride size: 0
threads per file: 8
using I/O Completion Ports
IO priority: normal
Results for timespan 1:
*******************************************************************************
actual test time: 60.00s
thread count: 8
proc count: 32
CPU | Usage | User | Kernel | Idle
-------------------------------------------
0| 8.01%| 2.70%| 5.30%| 91.99%
1| 8.45%| 1.30%| 7.15%| 91.55%
2| 52.03%| 2.31%| 49.71%| 47.97%
3| 4.84%| 0.70%| 4.13%| 95.16%
4| 7.98%| 2.78%| 5.20%| 92.02%
5| 7.64%| 2.18%| 5.46%| 92.35%
6| 10.58%| 5.80%| 4.78%| 89.42%
7| 4.99%| 0.55%| 4.45%| 95.01%
8| 11.13%| 10.17%| 0.96%| 88.84%
9| 0.00%| 0.00%| 0.00%| 100.00%
10| 5.67%| 5.17%| 0.49%| 94.33%
11| 0.00%| 0.00%| 0.00%| 100.00%
12| 8.84%| 7.62%| 1.22%| 91.18%
13| 0.00%| 0.00%| 0.00%| 100.00%
14| 9.85%| 9.26%| 0.60%| 90.14%
15| 0.00%| 0.00%| 0.00%| 100.00%
16| 11.18%| 9.31%| 1.87%| 88.82%
17| 0.00%| 0.00%| 0.00%| 100.00%
18| 8.35%| 6.84%| 1.51%| 91.65%
19| 0.00%| 0.00%| 0.00%| 100.00%
20| 2.99%| 2.55%| 0.44%| 97.01%
21| 0.00%| 0.00%| 0.00%| 100.00%
22| 3.95%| 3.54%| 0.42%| 96.05%
23| 0.00%| 0.00%| 0.00%| 100.00%
24| 0.86%| 0.65%| 0.21%| 99.11%
25| 0.00%| 0.00%| 0.00%| 100.00%
26| 0.29%| 0.18%| 0.10%| 99.71%
27| 0.00%| 0.00%| 0.00%| 100.00%
28| 0.16%| 0.13%| 0.03%| 99.84%
29| 0.00%| 0.00%| 0.00%| 100.00%
30| 0.10%| 0.08%| 0.03%| 99.87%
31| 0.31%| 0.00%| 0.31%| 99.71%
-------------------------------------------
avg.| 5.26%| 2.31%| 2.95%| 94.74%
Total IO
thread | bytes | I/Os | MB/s | I/O per s | AvgLat | LatStdDev | file
-----------------------------------------------------------------------------------------------------
0 | 363053056 | 44318 | 5.77 | 738.64 | 5.386 | 13.446 | I:\diskspd\iotest.dat (20GB)
1 | 364249088 | 44464 | 5.79 | 741.07 | 5.368 | 13.444 | I:\diskspd\iotest.dat (20GB)
2 | 347242496 | 42388 | 5.52 | 706.47 | 5.629 | 13.935 | I:\diskspd\iotest.dat (20GB)
3 | 368271360 | 44955 | 5.85 | 749.26 | 5.310 | 13.273 | I:\diskspd\iotest.dat (20GB)
4 | 363085824 | 44322 | 5.77 | 738.71 | 5.387 | 13.533 | I:\diskspd\iotest.dat (20GB)
5 | 363855872 | 44416 | 5.78 | 740.27 | 5.375 | 13.491 | I:\diskspd\iotest.dat (20GB)
6 | 349626368 | 42679 | 5.56 | 711.32 | 5.594 | 13.958 | I:\diskspd\iotest.dat (20GB)
7 | 367419392 | 44851 | 5.84 | 747.52 | 5.323 | 13.252 | I:\diskspd\iotest.dat (20GB)
-----------------------------------------------------------------------------------------------------
total: 2886803456 | 352393 | 45.89 | 5873.28 | 5.419 | 13.539
Read IO
thread | bytes | I/Os | MB/s | I/O per s | AvgLat | LatStdDev | file
-----------------------------------------------------------------------------------------------------
0 | 272957440 | 33320 | 4.34 | 555.34 | 6.709 | 14.979 | I:\diskspd\iotest.dat (20GB)
1 | 274038784 | 33452 | 4.36 | 557.54 | 6.619 | 13.939 | I:\diskspd\iotest.dat (20GB)
2 | 259612672 | 31691 | 4.13 | 528.19 | 6.952 | 14.441 | I:\diskspd\iotest.dat (20GB)
3 | 276250624 | 33722 | 4.39 | 562.04 | 6.593 | 14.031 | I:\diskspd\iotest.dat (20GB)
4 | 272154624 | 33222 | 4.33 | 553.71 | 6.639 | 13.532 | I:\diskspd\iotest.dat (20GB)
5 | 272744448 | 33294 | 4.34 | 554.91 | 6.654 | 14.050 | I:\diskspd\iotest.dat (20GB)
6 | 263372800 | 32150 | 4.19 | 535.84 | 6.898 | 14.473 | I:\diskspd\iotest.dat (20GB)
7 | 275447808 | 33624 | 4.38 | 560.41 | 6.618 | 14.263 | I:\diskspd\iotest.dat (20GB)
-----------------------------------------------------------------------------------------------------
total: 2166579200 | 264475 | 34.44 | 4407.96 | 6.708 | 14.217
Write IO
thread | bytes | I/Os | MB/s | I/O per s | AvgLat | LatStdDev | file
-----------------------------------------------------------------------------------------------------
0 | 90095616 | 10998 | 1.43 | 183.30 | 1.378 | 5.236 | I:\diskspd\iotest.dat (20GB)
1 | 90210304 | 11012 | 1.43 | 183.54 | 1.570 | 10.972 | I:\diskspd\iotest.dat (20GB)
2 | 87629824 | 10697 | 1.39 | 178.29 | 1.708 | 11.449 | I:\diskspd\iotest.dat (20GB)
3 | 92020736 | 11233 | 1.46 | 187.22 | 1.459 | 9.707 | I:\diskspd\iotest.dat (20GB)
4 | 90931200 | 11100 | 1.45 | 185.00 | 1.640 | 12.826 | I:\diskspd\iotest.dat (20GB)
5 | 91111424 | 11122 | 1.45 | 185.37 | 1.546 | 10.786 | I:\diskspd\iotest.dat (20GB)
6 | 86253568 | 10529 | 1.37 | 175.49 | 1.611 | 11.359 | I:\diskspd\iotest.dat (20GB)
7 | 91971584 | 11227 | 1.46 | 187.12 | 1.447 | 8.498 | I:\diskspd\iotest.dat (20GB)
-----------------------------------------------------------------------------------------------------
total: 720224256 | 87918 | 11.45 | 1465.32 | 1.544 | 10.328
答案 0 :(得分:0)
数据库是SATA聚合还是SAS聚合?由于其缓存和nvram架构,您运行的dskspd测试将从netapp获得不准确的结果......