测试项目

-----xx地产集团

测试人员

Dell -----Li Dong Bin

测试时间

02-26-2014

测试内容

-------测试PS6110xsVmware环境当中的性能

硬件配置

     -------PS6110xs+M1000e(M620+MXL)

软件平台

     -------Vmware 5.5—windows7-64bit

测试过程

     --------PS6110xs的磁盘分配500GB空间给esx主机,安装vmwin7),在win7虚拟机当中增加第二块磁盘,大小为8GB,使用iometer压力测试

问题及解决方法

     --------安装了的最新的MEM多路径管理模块,并且安装了ESX5.5的最新版本。

问题: 测试使用的环境并非是EQL存储最佳的测试环境,我们一直使用widows平台,比如win2008或者win2012,然后在上面运行iometer工具做压力测试。目前客户需要在vm上使用iometer做模拟现实环境做压力测试作为参考。同时测试的友商有日立、EMCHP 3par

实际测试的压力值开始并不理想:

采用1M的块测试结果

100%连续读

100%连续写

100%随机读

100%随机写

优化方式

  • 根据EQL的虚拟化安装部署,更改下面几个参数,对性能的提升有帮助ACK.

  • MEM的安装需要创建Storage heartbeat

The Storage Heartbeat VMkernel port is no longer required for ESX servers running version 5.1 and greater.

实际测试结果,创建了Storage heartbeat对结果影响不大

 

  • ESX5.5的版本,安装MEM1.2的性能表现优于MEM1.1的版本
  • Kernel portvSwitchMTU值设置成9000.
  • Broadcom 57810hardware iscsi adapter性能优于software adapter

  • 当测试的VM,增加第二块硬盘,大小约是内存的两倍,比如8GB,可以同os在同一个datastore或者不同,增加时请选择与os不同的scsi通道,比如scsi1:0

完成以后,修改硬盘的option,将scsi adapter类型修改成VMware Paravirtual

This will also add a new SCSI Controller to the virtual machine. For VMs that are supported you should change it from LSI to Paravirtual SCSI Adapter for better performance

  • 将待测试的磁盘格式化64k的分区

Dell has found improvements in performance by using a 64k partition alignment. This will be necessary in Windows Operating Systems before Windows 2008, Solaris, and Linux guest OS’s. Additionally, SQL, Exchange, and other IO intensive applications will benefit from formatting the filesystem with a 64K cluster size. This better aligns IOs with the 64K stripe size of the EQL arrays.

 

  • ISCSI adapter的默认timeout时间是5s 优化文档建议设置成60s

The default timeout in ESX 5.1 is 5 seconds. This should be changed to 60 seconds on each host to better allow time for iSCSI traffic to reach the host. This field is not changeable until the ESX 5.0 server has been updated to patch ESXi500-201112001 or higher. Once this patch is installed the field for LoginTimeout will be editable.

1. Log into the vCenter GUI and on the Home screen click on Hosts and Clusters and select a host.

2. Click on the configuration tab and then Storage Adapters under Hardware and select the iSCSI Software Adapter and click Properties.

3. Click the Advanced… button and scroll down to the section LoginTimout. Change this value to 60 and hit OK.

 

This can also be done via command line by typing in the following command:

esxcli iscsi adapter param set --adapter=vmhba --key=LoginTimeout --value=60

 

 

最终测试结果: