首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >标杆Azure的高级存储P30磁盘

标杆Azure的高级存储P30磁盘
EN

Server Fault用户
提问于 2015-02-15 16:40:05
回答 3查看 4.2K关注 0票数 11

我们正在两个新的标准DS13 (8内核,56 GB) VM上运行性能测试(都使用最新/默认的Windows2012 R2映像),并且在测试本地SSD性能时遇到了第1步的困难。

我们了解到,这些VM的400 We本地SSD中有25%可用作临时存储,其余75%用于高级存储缓存:http://azure.microsoft.com/blog/2014/12/11/new-premium-storage-backed-virtual-machines/

在剩下的25%中,我们希望看到以下几个方面的性能:http://www.brentozar.com/archive/2014/09/azure-really-60-faster/ http://azure.microsoft.com/blog/2014/10/06/d-series-performance-expectations/

..。但是水晶磁盘标记显示它在爬行:

代码语言:javascript
复制
               Sequential Read :     4.097 MB/s
              Sequential Write :     4.096 MB/s
             Random Read 512KB :     4.112 MB/s
            Random Write 512KB :     4.112 MB/s
        Random Read 4KB (QD=1) :     2.057 MB/s [   502.3 IOPS]
       Random Write 4KB (QD=1) :     2.057 MB/s [   502.2 IOPS]
       Random Read 4KB (QD=32) :     2.048 MB/s [   500.0 IOPS]
      Random Write 4KB (QD=32) :     2.047 MB/s [   499.7 IOPS]

  Test : 50 MB [D: 7.2% (8.1/112.0 GB)] (x5)
  Date : 2015/02/14 15:35:41
    OS : Windows Server 2012 R2 Datacenter (Full installation) [6.3 Build 9600] (x64)

OS磁盘的性能更好,但远不及您期望的150 MB/s (假设这是为默认127 MB磁盘分配的)。

预期:

http://azure.microsoft.com/en-us/documentation/articles/storage-premium-storage-preview-portal/

看到:

代码语言:javascript
复制
           Sequential Read :    66.031 MB/s
          Sequential Write :    63.034 MB/s
         Random Read 512KB :    65.861 MB/s
        Random Write 512KB :    63.580 MB/s
    Random Read 4KB (QD=1) :     2.097 MB/s [   511.9 IOPS]
   Random Write 4KB (QD=1) :     2.047 MB/s [   499.7 IOPS]
   Random Read 4KB (QD=32) :     2.086 MB/s [   509.3 IOPS]
  Random Write 4KB (QD=32) :     2.078 MB/s [   507.4 IOPS]

  Test : 50 MB [C: 12.9% (16.4/127.0 GB)] (x5)
  Date : 2015/02/14 15:46:35
    OS : Windows Server 2012 R2 Datacenter (Full installation) [6.3 Build 9600] (x64)

P30磁盘(使用ReadOnly缓存)的性能也不太好:

代码语言:javascript
复制
           Sequential Read :   204.567 MB/s
          Sequential Write :    39.677 MB/s
         Random Read 512KB :   204.549 MB/s
        Random Write 512KB :    34.865 MB/s
    Random Read 4KB (QD=1) :    20.951 MB/s [  5114.9 IOPS]
   Random Write 4KB (QD=1) :     1.666 MB/s [   406.7 IOPS]
   Random Read 4KB (QD=32) :    20.893 MB/s [  5100.9 IOPS]
  Random Write 4KB (QD=32) :    20.944 MB/s [  5113.4 IOPS]

  Test : 50 MB [E: 0.0% (0.2/1023.0 GB)] (x5)
  Date : 2015/02/14 15:22:59
    OS : Windows Server 2012 R2 Datacenter (Full installation) [6.3 Build 9600] (x64)

与当前部署在CloudDrive上的主机缓存相比(注意4KB随机读取的性能):

代码语言:javascript
复制
           Sequential Read :   136.711 MB/s
          Sequential Write :    10.210 MB/s
         Random Read 512KB :   190.744 MB/s
        Random Write 512KB :     9.063 MB/s
    Random Read 4KB (QD=1) :    10.813 MB/s [  2639.8 IOPS]
   Random Write 4KB (QD=1) :     0.508 MB/s [   107.5 IOPS]
   Random Read 4KB (QD=32) :   106.533 MB/s [ 26009.1 IOPS]
  Random Write 4KB (QD=32) :     9.363 MB/s [  2286.0 IOPS]

  Test : 50 MB [F: 4.1% (24.9/600.0 GB)] (x5)
  Date : 2015/02/14 20:25:01
  OS : Windows Server 2012 Datacenter (Full installation) [6.2 Build 9200] (x64)

这就是SQLIO为本地SSD报告的内容:

代码语言:javascript
复制
C:\Program Files (x86)\SQLIO>sqlio -dD
sqlio v1.5.SG
1 thread reading for 30 secs from file D:testfile.dat
        using 2KB IOs over 128KB stripes with 64 IOs per run
size of file D:testfile.dat needs to be: 8388608 bytes
current file size:      0 bytes
need to expand by:      8388608 bytes
expanding D:testfile.dat ... done.
initialization done
CUMULATIVE DATA:
throughput metrics:
IOs/sec:   499.38
MBs/sec:     0.97

对于P30:

代码语言:javascript
复制
C:\Program Files (x86)\SQLIO>sqlio -dE
sqlio v1.5.SG
1 thread reading for 30 secs from file E:testfile.dat
        using 2KB IOs over 128KB stripes with 64 IOs per run
size of file E:testfile.dat needs to be: 8388608 bytes
current file size:      0 bytes
need to expand by:      8388608 bytes
expanding E:testfile.dat ... done.
initialization done
CUMULATIVE DATA:
throughput metrics:
IOs/sec:  5103.03
MBs/sec:     9.96

为P30宣传的5000 IOPS仍然有效,但是每个磁盘的200 MB/s吞吐量又如何呢?

注意:尝试使用P30缓存策略创建ReadWrite数据磁盘将导致:

更新-AzureVm: BadRequest: DataVirtualHardDisk不支持磁盘缓存设置ReadWrite。

如有任何指导,将不胜感激:

  • 为什么本地的SSD存储被控制在500 IOPS和1-4 MB/s吞吐量?
  • 如何实现200 to /S的写操作,就像我们在P30s上看到的那样,要运行什么测试?
  • MS:您能发布我们可以运行的I/O基准测试来验证最大限制吗?
EN

回答 3

Server Fault用户

回答已采纳

发布于 2015-03-04 16:24:10

回答你的问题:

  1. 本地存储被节流到500 IOPS @8KB。这些限制是错误的,很快就会大幅度提高。
  2. 若要在写入时达到200 MB/秒,您需要(a)使用至少40 MB的块大小(否则,您首先会遇到5,000 IOPS限制),和(b)使用至少25的队列深度(对于40 MB的块,随着块大小的增加,可以使用较小的队列深度)。
  3. 我们同意,如果我们发布基准,您可以使用它来验证限制,这将是很好的。如果我们这样做了,它可能不会是,直到我们离开预览。

David Berg - Microsoft Azure性能团队

票数 9
EN

Server Fault用户

发布于 2015-02-17 23:20:00

高级存储仅支持读缓存,而不像标准磁盘那样读写。

票数 0
EN

Server Fault用户

发布于 2015-02-18 03:55:02

SQLIO测试的吞吐量是有限的,因为您使用的是默认的2KB IO块大小。将当前获取的P30磁盘上的IOPS乘以块大小,得到5103IOPS*2KB= 10206 KB/s或9.97MB/S,这是测试中报告的吞吐量。在SQLIO命令中增加块大小(请参阅http://www.mssqltips.com/sqlservertip/2127/benchmarking-sql-server-io-with-sqlio/),您将能够找到吞吐量限制。一个64 KB的IO块大小应该给你5103 IOPS * 64 KB = 326592 KB/s或318.94 MB/s,并测试微软广告的限制。

我还没有在我的D系列VM上测试本地的SSD,但是我还没有访问高级存储,所以在这种情况下它不会有帮助。我唯一的猜测是,一旦您在使用75%本地SSD容量的机器上使用高级存储,它也可能会限制您的本地SSD访问,以保证优质存储性能。

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/667832

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档