CN105550111A - Method and system for testing and tuning IO performance benchmarks of operation systems under virtual environments - Google Patents

Method and system for testing and tuning IO performance benchmarks of operation systems under virtual environments Download PDF

Info

Publication number
CN105550111A
CN105550111A CN201510945190.9A CN201510945190A CN105550111A CN 105550111 A CN105550111 A CN 105550111A CN 201510945190 A CN201510945190 A CN 201510945190A CN 105550111 A CN105550111 A CN 105550111A
Authority
CN
China
Prior art keywords
virtual machine
tuning
linux
system
mapping
Prior art date
Application number
CN201510945190.9A
Other languages
Chinese (zh)
Inventor
黄福超
Original Assignee
浪潮(北京)电子信息产业有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 浪潮(北京)电子信息产业有限公司 filed Critical 浪潮(北京)电子信息产业有限公司
Priority to CN201510945190.9A priority Critical patent/CN105550111A/en
Publication of CN105550111A publication Critical patent/CN105550111A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators

Abstract

The invention discloses a method for testing and tuning the IO performance benchmarks of operation systems under virtual environments. The method comprises the following steps: dividing predetermined resources under a virtual system so as to create a Linux virtual machine; dividing a predetermined number of lun in storage equipment and mapping to the Linux virtual machine; and adding the predetermined number of lun through a bare machine mapping manner so as to carry out hardware configuration on the Linux virtual machine. Through the method, the virtual machine directly uses the storage space provided by the storage without virtually creating VMDK through Vmware, so that the loss of the virtual layers is decreased, the IO delay is reduced and the user experience is improved. The invention furthermore discloses a system for testing and tuning the IO performance benchmarks of operation systems under virtual environments.

Description

虚拟环境下操作系统IO性能基准的测试调优方法及系统 Test tuning method and system for operating system IO performance benchmarks in Virtual Environment

技术领域 FIELD

[0001] 本发明涉及服务器领域,特别涉及一种虚拟环境下操作系统IO性能基准的测试调优方法及系统。 [0001] The present invention relates to a server, and more particularly relates to a method and system for tuning the test operating system IO performance benchmark in a kind of virtual environment.

背景技术 Background technique

[0002] 目前,越来越多的用户投入到虚拟化平台来提升自己的硬件使用率,节省硬件投资成本;但随着虚拟化带来的问题是部分模块经过虚拟化后性能出现一定程度的折损,IO 性能折损后会体现在用户延迟等待时间增长,用户体验好感下降,可能导致用户量流失。 [0002] At present, more and more users into the virtualization platform to upgrade their hardware utilization, saving hardware investment costs; but with the problem of virtualization is some performance of the virtualized part of the module impairment, IO performance after the impairment will be reflected in the user delays waiting time increases, the user experiences a good impression decline, it could lead to the loss of subscribers. 因此,如何对虚拟环境下操作系统IO性能基准的测试调优,是本领域技术人员需要解决的技术问题。 Therefore, how to test the operating system tuning IO performance benchmarks under the virtual environment, the skilled personnel required to solve technical problems.

发明内容 SUMMARY

[0003] 本发明的目的是提供一种虚拟环境下操作系统IO性能基准的测试调优方法及系统,通过让虚拟机直接使用存储提供的存储空间而不经过Vmware虚拟化创建VMDK,减少虚拟化层面的损耗;降低IO延时,提高用户体验。 [0003] The object of the present invention is to tune the operating system testing method and system of the IO performance benchmarks to provide a virtual environment, the virtual machine by making direct use of the storage space provided by storage without passing through the VMDK Vmware virtual create, reduce virtualization level of loss; reduce IO latency and improve the user experience.

[0004] 为解决上述技术问题,本发明提供一种虚拟环境下操作系统IO性能基准的测试调优方法,包括: [0004] To solve the above problems, the present invention provides a method of operating a test system tuning IO performance benchmark in a kind of virtual environment, comprising:

[0005] 在虚拟化系统下划分预定资源创建Linux虚拟机; [0005] book is divided in a virtualized system resources to create a Linux virtual machine;

[0006] 在存储设备中划分预定个数的Iun映射给所述Linux虚拟机; [0006] predetermined number of division in the storage device mapped to said Iun Linux virtual machine;

[0007] 通过裸机映射的方式添加预定个数的所述Iun对所述Linux虚拟机进行硬件配置。 [0007] the Linux virtual machine hardware configuration Iun said predetermined number is added by way of bare mapping.

[0008] 其中,所述在虚拟化系统下划分预定资源创建Linux虚拟机,包括: [0008] wherein said predetermined resource partitioning in a virtualized system creates a Linux virtual machine, comprising:

[0009] 在服务器中安装操作系统VMware Esxi,并通过Vsphere clien登录所述Vmware Esxi的管理界面; [0009] VMware Esxi install an operating system on the server, and the log management interface through Vmware Esxi Vsphere clien;

[0010] 在虚拟化系统下划分预定资源,按照默认安装方式创建Linux虚拟机。 [0010] predetermined resource partitioning in a virtualized system, create Linux virtual machine in the default installation.

[0011] 其中,所述在存储设备中划分预定个数的Iun映射给所述Linux虚拟机,包括: [0011] wherein said predetermined number of divided Iun mapping in a storage device to the Linux virtual machine, comprising:

[0012] 登录AS8000-M2,并划分预定个数的Iun映射给所述Linux虚拟机。 [0012] Log AS8000-M2, and divided into a predetermined number of Linux Iun mapped to the virtual machine.

[0013] 其中,所述通过裸机映射的方式添加预定个数的所述Iun对所述Linux虚拟机进行硬件配置,包括: [0013] wherein said predetermined number is added to the Iun the Linux virtual machine hardware configuration by way of bare mapping, comprising:

[0014] 编辑所述Linux虚拟机配置,进入添加硬件配置界面; [0014] edit the Linux virtual machine configuration, is added into the hardware configuration interface;

[0015] 选择添加硬盘,并选择裸机映射; [0015] choose to add a hard disk, and Select Raw mapping;

[0016] 选择需要添加的Iun,其他选项默认配置。 [0016] Select Iun want to add, other options default configuration.

[0017] 其中,所述通过裸机映射的方式添加预定个数的所述Iun对所述Linux虚拟机进行硬件配置之后,还包括: After [0017] wherein said predetermined number is added by way of mapping the bare Iun the Linux virtual machine hardware configuration, further comprising:

[0018] 对所述Linux虚拟机进行IO性能基准测试。 [0018] IO performance benchmarks conducted for the Linux virtual machine.

[0019] 其中,所述对所述Linux虚拟机进行IO性能基准测试,包括: [0019] wherein said IO performance benchmark for the Linux virtual machine, comprising:

[0020] 利用Orion数据库模拟性能测试工具对所述Linux虚拟机进行IO性能基准测试。 [0020] Performance tests using the Orion database simulation tool IO performance benchmark for the Linux virtual machine.

[0021] 本发明提供一种虚拟环境下操作系统IO性能基准的测试调优系统,包括: [0021] The present invention provides an operating system IO performance benchmark in an environmental test for a virtual tuning system, comprising:

[0022] 创建模块,用于在虚拟化系统下划分预定资源创建Linux虚拟机; [0022] The creation module for dividing at predetermined resource virtualization system to create a Linux virtual machine;

[0023] 映射模块,用于在存储设备中划分预定个数的Iun映射给所述Linux虚拟机; [0023] mapping module, Iun for dividing the predetermined number in the storage device mapped to the Linux virtual machine;

[0024] 配置模块,用于通过裸机映射的方式添加预定个数的所述Iun对所述Linux虚拟机进行硬件配置。 [0024] The configuration module, for adding a predetermined number Iun the Linux virtual machine hardware configuration by way of bare mapping.

[0025]其中,所述配置模块包括: [0025] wherein the configuration module comprises:

[0026] 编辑单元,用于编辑所述Linux虚拟机配置,进入添加硬件配置界面; [0026] The editing unit for editing the Linux virtual machine configuration, is added into the hardware configuration interface;

[0027] 选择单元,用于选择添加硬盘,并选择裸机映射;选择需要添加的lun,其他选项默认配置。 [0027] The selection unit for selecting to add a hard disk, and bare metal selected mapping; lun selected to be added, other options default configuration.

[0028] 其中,还包括: [0028] wherein, further comprising:

[0029] 测试模块,用于对所述Linux虚拟机进行IO性能基准测试。 [0029] The testing module for performing IO performance benchmark for the Linux virtual machine.

[0030] 其中,所述测试模块具体用于:利用Orion数据库模拟性能测试工具对所述Linux 虚拟机进行10性能基准测试。 [0030] wherein the test module is configured to: the Linux virtual machine 10 using the Orion database performance benchmarks simulation performance testing tool.

[0031] 本发明所提供的虚拟环境下操作系统IO性能基准的测试调优方法及系统,包括: 在虚拟化系统下划分预定资源创建Linux虚拟机;在存储设备中划分预定个数的Iun映射给所述Linux虚拟机;通过裸机映射的方式添加预定个数的所述Iun对所述Linux虚拟机进行硬件配置; [0031] Test operating system tuning method and a system IO performance benchmark, the present invention includes a virtual environment provided by: dividing at predetermined resource virtualization system to create a Linux virtual machine; division in the storage device a predetermined number of mapping Iun to the Linux virtual machine; by way of adding a predetermined number of said mapping bare Iun the Linux virtual machine hardware configuration;

[0032] 该方法通过裸机映射的方式添加预定个数的存储设备的磁盘对虚拟机进行硬件配置,即通过让虚拟机直接使用存储提供的存储空间而不经过Vmware虚拟化创建VMDK,减少虚拟化层面的损耗;降低IO损耗即降低IO延时,提高用户体验。 [0032] The method of adding by way of Raw Device Mapping disk storage device a predetermined number of the virtual machine hardware configuration, namely by making direct use of virtual machine storage space to store supplied without passing through the Vmware virtualization to create VMDK, reduce virtualization level of loss; reduce IO IO loss ie reduce delays and improve the user experience.

附图说明 BRIEF DESCRIPTION

[0033] 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。 [0033] In order to more clearly illustrate the technical solutions in the embodiments or the prior art embodiment of the present invention, briefly introduced hereinafter, embodiments are described below in the accompanying drawings or described in the prior art needed to be used in describing the embodiments the drawings are only examples of the present invention, those of ordinary skill in the art is concerned, without creative efforts, can derive other drawings from the accompanying drawings provided.

[0034] 图1为本发明实施例所提供的虚拟环境下操作系统IO性能基准的测试调优方法的流程图; [0034] FIG. 1 is a flowchart OS Test Method IO performance tuning reference virtual environment according to an embodiment of the present invention;

[0035] 图2为本发明实施例所提供的另一虚拟环境下操作系统IO性能基准的测试调优方法的流程图; [0035] FIG 2 is a flowchart OS Test Method IO performance tuning in reference to another embodiment of the virtual environment provided by the embodiment of the invention;

[0036] 图3为本发明实施例所提供的虚拟环境下操作系统IO性能基准的测试调优系统的结构框图; [0036] FIG 3 a block diagram of the operating system IO performance benchmark testing tuning system in a virtual environment provided by the embodiment of the embodiment of the invention;

[0037] 图4为本发明实施例所提供的另一虚拟环境下操作系统IO性能基准的测试调优系统的结构框图。 [0037] Figure 4 a block diagram of the operating system IO performance benchmark in another embodiment provided by the virtual environment test tuning system according to the present invention.

具体实施方式 Detailed ways

[0038]本发明的核心是提供一种虚拟环境下操作系统IO性能基准的测试调优方法及系统,通过让虚拟机直接使用存储提供的存储空间而不经过Vmware虚拟化创建VMDK,减少虚拟化层面的损耗;降低IO延时,提高用户体验。 [0038] The core of the invention is an operating system testing method and system tuning IO performance in reference to provide a virtual environment, the virtual machine by making direct use of the storage space provided by storage without passing through the VMDK Vmware virtual create, reduce virtualization level of loss; reduce IO latency and improve the user experience.

[0039] 其中,VMDK(VMffare Virtual Machine Disk Format,虚拟机VMware创建的虚拟硬格式)。 [0039] where, VMDK (VMffare Virtual Machine Disk Format, virtual hard format virtual machines created by VMware).

[0040] 为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。 [0040] In order that the invention object, technical solutions, and advantages of the embodiments more clearly, the following the present invention in the accompanying drawings, technical solutions of embodiments of the present invention are clearly and completely described, obviously, the described the embodiment is an embodiment of the present invention is a part, but not all embodiments. 基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, all other embodiments of ordinary skill in the art without any creative effort shall fall within the scope of the present invention.

[0041] 请参考图1,图1为本发明实施例所提供的虚拟环境下操作系统IO性能基准的测试调优方法的流程图;该方法可以包括: [0041] Please refer to FIG 1, FIG. 1 is a flowchart of a method of operating a test system tuning reference IO performance in a virtual environment provided by the embodiment of the embodiment; the method may comprise:

[0042] SlOO、在虚拟化系统下划分预定资源创建Linux虚拟机; [0042] SlOO, scheduled divide resources in a virtualized Linux system creates a virtual machine;

[0043] 其中,首先创建一个虚拟机,具体创建方法可以包括:在服务器中安装操作系统VMware Esxi,并通过Vsphere clien登录所述Vmware Esxi的管理界面;在虚拟化系统下划分预定资源,按照默认安装方式创建Linux虚拟机。 [0043] wherein, first create a virtual machine, create specific method may include: the operating system VMware Esxi installed in the server, and the log management interface through Vmware Esxi Vsphere clien; predetermined resource partitioning in a virtualized system, by default create a Linux virtual machine installation.

[0044] 这里用户可以根据自己实际需求创建所需虚拟机,本方法并不对虚拟机的创建方法进行限定。 [0044] where the user can create a desired according to their actual needs of the virtual machine, the method is not a method for creating a virtual machine is defined.

[0045] SlOO、在存储设备中划分预定个数的Iun映射给所述Linux虚拟机; [0045] SlOO, a predetermined number of division in the storage device mapped to said Iun Linux virtual machine;

[0046] 其中,本方法通过虚拟机直接使用存储设备提供的存储空间,不在经过Vmware虚拟化创建VMDK,因此,在存储设备中划分预定个数的Iun映射给所述Linux虚拟机;这里划分Iun的个数需要根据用户的实际情况进行。 [0046] wherein, the method used by the virtual machine directly to the memory storage device provides, not created through the VMDK Vmware virtualization, therefore, a predetermined number of divided Iun mapping in a storage device to the Linux virtual machine; here divided Iun the required number of actual users. 在存储设备中划分预定个数的Iun映射给所述Linux虚拟机,可以包括: A predetermined number of division in the storage device mapped to said Iun Linux virtual machine, may comprise:

[0047] 登录AS8000-M2,并划分预定个数的Iun映射给所述Linux虚拟机。 [0047] Log AS8000-M2, and divided into a predetermined number of Linux Iun mapped to the virtual machine. 这里使用浪潮存储设备AS8000-M2提供存储空间。 As used herein, AS8000-M2 wave storage devices to provide storage space.

[0048] SlOO、通过裸机映射的方式添加预定个数的所述Iun对所述Linux虚拟机进行硬件配置。 [0048] SlOO, adding a predetermined number of said Iun by way of mapping the bare Linux virtual machine hardware configuration.

[0049] 其中,将存储设备中存储空间通过裸机映射的方式添加到虚拟机中,具体过程可以是: [0049] wherein the added storage device, by way of bare space mapped into the virtual machine, the specific process may be:

[0050] 编辑所述Linux虚拟机配置,进入添加硬件配置界面; [0050] edit the Linux virtual machine configuration, is added into the hardware configuration interface;

[0051] 选择添加硬盘,并选择裸机映射; [0051] choose to add a hard disk, and Select Raw mapping;

[0052]选择需要添加的lun,其他选项默认配置。 [0052] Select lun want to add, other options default configuration.

[0053]基于上述技术方案,本发明实施例提供的虚拟环境下操作系统IO性能基准的测试调优方法,该方法通过裸机映射的方式添加预定个数的存储设备的磁盘对虚拟机进行硬件配置,即通过让虚拟机直接使用存储提供的存储空间而不经过Vmware虚拟化创建VMDK,减少虚拟化层面的损耗;降低IO损耗即降低IO延时,提高用户体验。 [0053] Based on the above technical solution, the operating system IO performance test method of tuning a reference virtual environment according to an embodiment of the present invention, adding a predetermined number of storage devices by bare disks of the method of mapping a virtual machine hardware configuration , namely by making direct use of virtual machine storage space to store supplied without passing through the Vmware virtualization to create VMDK, reduce virtualization layer loss; reduce IO IO loss ie reduce delays and improve the user experience.

[0054]基于上述技术方案,请参考图2,该方法包括: [0054] Based on the above technical scheme, please refer to FIG. 2, the method comprising:

[0055] S200、在虚拟化系统下划分预定资源创建Linux虚拟机; [0055] S200, predetermined resource partitioning in a virtualized Linux system creates a virtual machine;

[0056] S210、在存储设备中划分预定个数的Iun映射给所述Linux虚拟机; [0056] S210, a predetermined number of division in the storage device mapped to said Iun Linux virtual machine;

[0057] S220、通过裸机映射的方式添加预定个数的所述Iun对所述Linux虚拟机进行硬件配置。 [0057] S220, the addition of the predetermined number Iun by way of mapping the bare Linux virtual machine hardware configuration.

[0058] S230、对所述Linux虚拟机进行IO性能基准测试。 [0058] S230, the Linux virtual machine IO performance benchmarks.

[0059] 其中,通过对Linux虚拟机进行IO性能基准测试可以对该方法的效果进行验证。 [0059] where the effect of the method can be verified by a Linux virtual machine IO performance benchmark. 通过验证结果可以证明本方法的可行性。 Demonstrate the feasibility of the method can be verified results. 具体的验证过程可以如下: The specific verification process may be as follows:

[ΟΟόΟ]利用Orion数据库模拟性能测试工具对所述Linux虚拟机进行IO性能基准测试。 [ΟΟόΟ] Orion database using the simulated performance testing tool IO performance benchmark for the Linux virtual machine.

[0061] 下面通过红帽6.4为例RHEL6.4,说明上述方法的具体实施过程:其中使用的测试设备为NF5280M3(浪潮2路机架式服务器)、浪潮存储设备AS8000-M2。 [0061] Next, an example by Red Hat 6.4 RHEL6.4, illustrate specific embodiments of the above method procedure: wherein the test device used was NF5280M3 (Wave 2 way rack server), the wave of storage devices AS8000-M2.

[0062] 1、服务器安装操作系统VMware Esxi 5.5.0(默认安装即可),通过Vsphere clien 登录Vmware Esxi进入管理界面,在管理界面的虚拟化系统下划分资源创建Linux虚拟机(以红帽6 · 4为例RHEL6 · 4),默认安装。 [0062] 1, the server operating system is installed VMware Esxi 5.5.0 (the default installation), log on Vmware Esxi by Vsphere clien into the management interface, resource partitioning in a virtualized system management interface to create a Linux virtual machine (with Red Hat 6 · 4 as an example RHEL6 · 4), installed by default.

[0063] 2、登录浪潮存储设备AS8000-M2划分4个Iun(逻辑卷)映射给VMware主机。 [0063] 2, the wave log storage device 4 is divided AS8000-M2 IUN (logical) mapped to the host VMware.

[0064] 3、编辑虚拟机RHEL6.4配置,增加硬件配置,选择增加硬盘,选择裸机映射,选择要添加的Iun (逻辑卷),剩余默认选择即可。 [0064] 3, RHEL6.4 edit the virtual machine configuration, additional hardware configuration, select Add a hard disk, select Raw Device Mapping, select Iun (logical volume) to be added, the remaining can be selected by default. 完成磁盘添加。 Adding to complete the disk.

[0065] 4、针对上述改完的RHEL6.4进行IO性能测试,其中测试使用Orion数据库模拟性能测试工具,例:4k-1024k-0write_rand 4K块到1024K块0写全随机情况下的读写性能。 [0065] 4, the performance tests for the above change IO finished RHEL6.4, wherein the simulation test using Orion database performance testing tools, for example: 4k-1024k-0write_rand 4K block 0 to block write read and write performance 1024K at full stochastic .

[0066] 5、测试完成后删除上述添加的磁盘,通过VMware虚拟化磁盘方式添加,即先创建VMDK再分配给虚拟机进行添加,且添加完之后用之前4中的性能测试方法也进行相同性能测试记录结果。 [0066] 5, and deleting the added disk after the test is completed, by adding VMware virtual disk mode, which is to create a virtual machine VMDK reassigned to add, and then add a complete performance test method 4 is also the same performance before use record test results.

[0067] 其中,本发明的方法测试结果如表1,虚拟化方案测试结果如表2; [0067] wherein, the method of the present invention, the test results are shown in Table 1, the test virtualization scheme results shown in Table 2;

Figure CN105550111AD00061

[0072] 根据测试结果,前述方案即本发明的方法IOPS大部分都有提升,延时降低,即说明本方法有效。 [0072] According to test results, the method of the present invention, i.e. IOPS aforementioned embodiment has improved the most, the delay is reduced, i.e., to illustrate the method is effective. 其中,IOPS:每秒IO操作数。 Which, IOPS: IO operations per second.

[0073]基于上述技术方案,本发明实施例提供的虚拟环境下操作系统IO性能基准的测试调优方法,该方法通过裸机映射的方式添加预定个数的存储设备的磁盘对虚拟机进行硬件配置,即通过让虚拟机直接使用存储提供的存储空间而不经过Vmware虚拟化创建VMDK,减少虚拟化层面的损耗;降低IO损耗即降低IO延时,提高用户体验。 [0073] Based on the above technical solution, the operating system IO performance test method of tuning a reference virtual environment according to an embodiment of the present invention, adding a predetermined number of storage devices by bare disks of the method of mapping a virtual machine hardware configuration , namely by making direct use of virtual machine storage space to store supplied without passing through the Vmware virtualization to create VMDK, reduce virtualization layer loss; reduce IO IO loss ie reduce delays and improve the user experience.

[0074]本发明实施例提供了虚拟环境下操作系统IO性能基准的测试调优方法,通过让虚拟机直接使用存储提供的存储空间而不经过Vmware虚拟化创建VMDK,减少虚拟化层面的损耗;降低IO延时,提高用户体验。 [0074] Embodiments of the present invention provides a method of operating a test system tuning IO performance benchmark in the virtual environment, the virtual machine by making direct use of the storage space provided by storage virtualization Vmware created without passing through the VMDK, reduce loss virtualization layer; reduce IO latency and improve the user experience.

[0075] 下面对本发明实施例提供的虚拟环境下操作系统IO性能基准的测试调优系统进行介绍,下文描述的虚拟环境下操作系统IO性能基准的测试调优系统与上文描述的虚拟环境下操作系统IO性能基准的测试调优方法可相互对应参照。 [0075] The following IO performance benchmark test Tuning System OS virtualization environments provided will be described embodiments of the present invention, the virtual environment a virtual environment described below operating system IO performance benchmark testing tuning system described above operating system IO performance benchmark testing tuning process may correspond to cross-reference.

[0076] 请参考图3,图3为本发明实施例所提供的虚拟环境下操作系统IO性能基准的测试调优系统的结构框图;该系统可以包括: [0076] Please refer to FIG. 3, FIG. 3 is a block diagram showing the structure of the invention the test system tuning operating system IO performance benchmark in a virtual environment provided by the embodiment of the embodiment; The system may comprise:

[0077] 创建模块100,用于在虚拟化系统下划分预定资源创建Linux虚拟机; [0077] The creation module 100, for dividing the predetermined resource in a virtualized system creates a Linux virtual machine;

[0078] 映射模块200,用于在存储设备中划分预定个数的Iun映射给所述Linux虚拟机; [0079]配置模块300,用于通过裸机映射的方式添加预定个数的所述Iun对所述Linux虚拟机进行硬件配置。 [0078] The mapping module 200 for dividing the predetermined number in the storage device mapped to said Iun Linux virtual machine; [0079] Configuration module 300 for adding a predetermined number of bare metal by way of mapping the Iun the Linux virtual machine hardware configuration.

[0080] 可选的,所述创建模块100具体用于:在服务器中安装操作系统VMware Esxi,并通过Vsphere clien登录所述Vmware Esxi的管理界面;在虚拟化系统下划分预定资源,按照默认安装方式创建Linux虚拟机。 [0080] Optionally, the creation module 100 is specifically configured to: an operating system installed in the server VMware Esxi, and the management interface via Vmware Esxi Vsphere clien log; predetermined resource partitioning in a virtualized system, installed in accordance with the default create a Linux virtual machine mode.

[0081 ]可选的,所述映射模块200具体用于:登录AS8000-M2,并划分预定个数的Iun映射给所述Linux虚拟机。 [0081] Alternatively, the mapping module 200 is specifically configured to: log AS8000-M2, and a predetermined number of divided Iun mapped to the Linux virtual machine.

[0082]可选的,所述配置模块300包括: [0082] Optionally, the configuration module 300 comprising:

[0083] 编辑单元,用于编辑所述Linux虚拟机配置,进入添加硬件配置界面; [0083] The editing unit for editing the Linux virtual machine configuration, is added into the hardware configuration interface;

[0084] 选择单元,用于选择添加硬盘,并选择裸机映射;选择需要添加的lun,其他选项默认配置。 [0084] The selection unit for selecting to add a hard disk, and bare metal selected mapping; lun selected to be added, other options default configuration.

[0085] 可选的,请参考图4,还包括: [0085] Alternatively, referring to FIG 4, further comprising:

[0086]测试模块400,用于对所述Linux虚拟机进行IO性能基准测试。 [0086] The test module 400, IO performance benchmark for the Linux virtual machine.

[0087]可选的,所述测试模块400具体用于:利用Orion数据库模拟性能测试工具对所述Linux虚拟机进行IO性能基准测试。 [0087] Optionally, the test module 400 is configured to: the Linux virtual machine using the Orion IO performance benchmark database simulation performance testing tool.

[0088] 说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。 [0088] In various embodiments, the specification progressive manner described, is different from the embodiment and the other embodiments each of which emphasizes embodiment, the same or similar portions between the various embodiments refer to each other. 对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。 For the disclosed embodiment of the apparatus embodiment, since it corresponds to the method disclosed embodiments, the description is relatively simple, see Methods of the correlation can be described.

[0089] 专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。 [0089] professionals may further appreciate that the various means disclosed herein and algorithm steps described exemplary embodiments, by electronic hardware, computer software, or a combination thereof. In order to clearly illustrate the hardware and software interchangeability, in the above description, according to functions generally described compositions and steps of the examples. 这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。 Whether these functions are performed by hardware or software depends upon the particular application and design constraints of the technical solutions. 专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。 Professional technical staff may use different methods for each specific application to implement the described functionality, but such implementation should not be considered outside the scope of the present invention.

[0090] 结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。 [0090] The steps of a method or algorithm described in the embodiments disclosed herein may be implemented in hardware, or a combination thereof, in a software module executed by a processor implemented directly. 软件模块可以置于随机存储器(RAM)、内存、只读存储器(R0M)、电可编程R0M、电可擦除可编程R0M、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。 A software module may be placed in a random access memory (RAM), a memory, a read only memory (R0M), R0M electrically programmable, electrically erasable programmable R0M, registers, a hard disk, a removable disk, CD-ROM, or within the technical field known any other form of storage medium.

[0091] 以上对本发明所提供的虚拟环境下操作系统IO性能基准的测试调优方法及系统进行了详细介绍。 [0091] been described in detail above test method and system for tuning the performance of a reference IO virtual operating system environment provided by the present invention. 本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想。 Herein through specific examples and embodiments of the principles of the present invention are set forth in the above described embodiments are only used to help understand the method and core idea of ​​the present invention. 应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰, 这些改进和修饰也落入本发明权利要求的保护范围内。 It should be noted that those of ordinary skill in the art, in the present invention without departing from the principles of the premise, may also be a number of modifications and improvements of the present invention, and these improvements and modifications also fall within the scope of the claims of the invention.

Claims (10)

1. 一种虚拟环境下操作系统10性能基准的测试调优方法,其特征在于,包括: 在虚拟化系统下划分预定资源创建L i nux虚拟机; 在存储设备中划分预定个数的lun映射给所述Linux虚拟机; 通过裸机映射的方式添加预定个数的所述lun对所述Linux虚拟机进行硬件配置。 OS 10 in a performance benchmark test 1. A tuning method for a virtual environment, characterized by comprising: dividing at predetermined resource virtualization system to create a virtual machine L i nux; lun mapping a predetermined number of division in the storage device to the Linux virtual machine; the Linux virtual machine hardware configuration lun said predetermined number is added by way of bare mapping.
2. 如权利要求1所述的测试调优方法,其特征在于,所述在虚拟化系统下划分预定资源创建Linux虚拟机,包括: 在服务器中安装操作系统VMware Esxi,并通过Vsphere clien登录所述Vmware Esxi 的管理界面; 在虚拟化系统下划分预定资源,按照默认安装方式创建Linux虚拟机。 2. The test method of tuning according to claim 1, wherein said predetermined resource partitioning in a virtualized system creates a Linux virtual machine, comprising: an operating system installed in the server VMware Esxi, and logged by Vsphere clien said Vmware Esxi management interface; dividing the predetermined resources in a virtualized system, create Linux virtual machine in the default installation.
3. 如权利要求2所述的测试调优方法,其特征在于,所述在存储设备中划分预定个数的lun映射给所述Linux虚拟机,包括: 登录AS8000-M2,并划分预定个数的lun映射给所述Linux虚拟机。 3. The test method of tuning as claimed in claim 2, wherein said predetermined partitioning number lun mapping in a storage device to the Linux virtual machine, comprising: a log AS8000-M2, and a predetermined number of division lun is mapped to the Linux virtual machine.
4. 如权利要求3所述的测试调优方法,其特征在于,所述通过裸机映射的方式添加预定个数的所述lun对所述Linux虚拟机进行硬件配置,包括: 编辑所述Linux虚拟机配置,进入添加硬件配置界面; 选择添加硬盘,并选择裸机映射; 选择需要添加的lun,其他选项默认配置。 4. The test method of tuning according to claim 3, wherein said adding the predetermined number lun of the Linux virtual machine hardware configuration by way of bare mapping, comprising: editing the Linux Virtual machine configuration, enter add hardware configuration interface; choose to add a hard disk, and select raw device mapping; select lun want to add, other options default configuration.
5. 如权利要求1至4任一项所述的测试调优方法,其特征在于,所述通过裸机映射的方式添加预定个数的所述lun对所述Linux虚拟机进行硬件配置之后,还包括: 对所述Linux虚拟机进行10性能基准测试。 After tuning 5. The test method according to any one of claims 1 to 4, wherein said adding the predetermined number lun of the Linux virtual machine by way of bare mapping hardware configuration, further comprising: a Linux virtual machine 10 performance benchmark.
6. 如权利要求5所述的测试调优方法,其特征在于,所述对所述Linux虚拟机进行10性能基准测试,包括: 利用Orion数据库模拟性能测试工具对所述Linux虚拟机进行10性能基准测试。 6. The tuning method of testing according to claim 5, characterized in that the benchmark 10 for the Linux virtual machine, comprising: a Linux virtual machine 10 using the Orion database performance simulation performance testing tools Benchmarks.
7. -种虚拟环境下操作系统10性能基准的测试调优系统,其特征在于,包括: 创建模块,用于在虚拟化系统下划分预定资源创建Linux虚拟机; 映射模块,用于在存储设备中划分预定个数的1 un映射给所述L i nux虚拟机; 配置模块,用于通过裸机映射的方式添加预定个数的所述lun对所述Linux虚拟机进行硬件配置。 7. - The operating system 10 to tune performance benchmark test species under the virtual environment system, characterized by comprising: a creation module for dividing at predetermined resource virtualization system to create a Linux virtual machine; mapping module, in storage device divided in a predetermined number of 1 un mapped to the L i nux virtual machine; configuration module for the Linux virtual machine hardware configuration lun said predetermined number is added by way of bare mapping.
8. 如权利要求7所述的测试调优系统,其特征在于,所述配置模块包括: 编辑单元,用于编辑所述Linux虚拟机配置,进入添加硬件配置界面; 选择单元,用于选择添加硬盘,并选择裸机映射;选择需要添加的lun,其他选项默认配置。 Selecting means for selecting add; editing unit for editing the Linux virtual machine configuration, is added into the hardware configuration interface: test as claimed in claim tuning system of claim 7, wherein the configuration module comprises hard disk, and select raw device mapping; select lun want to add, other options default configuration.
9. 如权利要求7或8所述的测试调优系统,其特征在于,还包括: 测试模块,用于对所述Linux虚拟机进行10性能基准测试。 Test tuning system of claim 7 or according to claim 8, characterized in that, further comprising: a testing module for the Linux virtual machine 10 performance benchmark.
10. 如权利要求9所述的测试调优系统,其特征在于,所述测试模块具体用于:利用Orion数据库模拟性能测试工具对所述Linux虚拟机进行10性能基准测试。 10. The test system of claim 9 tuning claim, wherein said test module is configured to: the Linux virtual machine 10 using the Orion database performance benchmarks simulation performance testing tool.
CN201510945190.9A 2015-12-16 2015-12-16 Method and system for testing and tuning IO performance benchmarks of operation systems under virtual environments CN105550111A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510945190.9A CN105550111A (en) 2015-12-16 2015-12-16 Method and system for testing and tuning IO performance benchmarks of operation systems under virtual environments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510945190.9A CN105550111A (en) 2015-12-16 2015-12-16 Method and system for testing and tuning IO performance benchmarks of operation systems under virtual environments

Publications (1)

Publication Number Publication Date
CN105550111A true CN105550111A (en) 2016-05-04

Family

ID=55829305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510945190.9A CN105550111A (en) 2015-12-16 2015-12-16 Method and system for testing and tuning IO performance benchmarks of operation systems under virtual environments

Country Status (1)

Country Link
CN (1) CN105550111A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325974A (en) * 2016-08-11 2017-01-11 浪潮(北京)电子信息产业有限公司 Virtualization IO performance optimization method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101986285A (en) * 2010-11-03 2011-03-16 华为技术有限公司 Virtual machine storage space management method, system and physical host
EP2530591A1 (en) * 2006-10-17 2012-12-05 Manage IQ, Inc. Control and management of virtual systems
CN102915270A (en) * 2012-09-14 2013-02-06 福建升腾资讯有限公司 Method for recording storage I/O (input/output) requirement and verifying pressure simulation
CN103810058A (en) * 2012-11-12 2014-05-21 华为技术有限公司 Backup method, equipment and system for virtual machine
US9052938B1 (en) * 2014-04-15 2015-06-09 Splunk Inc. Correlation and associated display of virtual machine data and storage performance data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2530591A1 (en) * 2006-10-17 2012-12-05 Manage IQ, Inc. Control and management of virtual systems
CN101986285A (en) * 2010-11-03 2011-03-16 华为技术有限公司 Virtual machine storage space management method, system and physical host
CN102915270A (en) * 2012-09-14 2013-02-06 福建升腾资讯有限公司 Method for recording storage I/O (input/output) requirement and verifying pressure simulation
CN103810058A (en) * 2012-11-12 2014-05-21 华为技术有限公司 Backup method, equipment and system for virtual machine
US9052938B1 (en) * 2014-04-15 2015-06-09 Splunk Inc. Correlation and associated display of virtual machine data and storage performance data

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SUNNY: ""VMware RDM与VMFS的配置及性能比较"", 《HTTP://BLOG.SINA.COM.CN/S/BLOG_545F2B470101A0YC.HTML》 *
佚名: ""ESXi5 创建磁盘裸映射以及虚拟网卡直连"", 《HTTP://WWW.68IDC.CN/HELP/JIABENMAKE/QITA/20150405309992.HTML》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325974A (en) * 2016-08-11 2017-01-11 浪潮(北京)电子信息产业有限公司 Virtualization IO performance optimization method and system

Similar Documents

Publication Publication Date Title
JP5559176B2 (en) How to provision virtual resources using the name resolution
US8498997B2 (en) Server image migration
CN102446114B (en) Method and system used for optimizing virtual graphics processing unit utilization
JP5680961B2 (en) Integrated provision of physical image and virtual image
US9323561B2 (en) Calibrating cloud computing environments
US8825863B2 (en) Virtual machine placement within a server farm
CN102033755A (en) Method and system for running virtual machine mirror image
JP2016510458A (en) The execution of the copy in the storage system
CN101120317A (en) Method, apparatus and system for dynamically reassigning memory from one virtual machine to another
JP5922307B2 (en) Method and system for providing a roaming Remote Desktop
JPH06348601A (en) Computer system
US20120191929A1 (en) Method and apparatus of rapidly deploying virtual machine pooling volume
US20150154227A1 (en) Method for processing input/output request, host, server, and virtual machine
Zhang et al. VMThunder: fast provisioning of large-scale virtual machine clusters
US20160239333A1 (en) Apparatus and method for scheduling graphics processing unit workloads from virtual machines
CN101661486B (en) Method and system for fragment sorting for hard disk of host comprising virtual computer
CN102707966A (en) Method and device for acceleratively starting operating system, and method, device and terminal for generating prefetched information
US20100174865A1 (en) Dynamic data security erasure
US20140095769A1 (en) Flash memory dual in-line memory module management
US9250988B2 (en) Virtualization-based environments for problem resolution
CN103019802B (en) A kind of virtual machine management methods and platforms
CN103473067B (en) Embedded Linux partitions and data reduction methods, systems and system development methods
JP5813375B2 (en) Reduced latency associated with the response to the request in the storage system
US20140137113A1 (en) Virtual machine template creation based on data feeds
CN103106043A (en) Methods and computer systems for managing resources of a storage server

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
RJ01