CN108847972A - The method of network data transmission rate is improved under a kind of virtual environment - Google Patents

The method of network data transmission rate is improved under a kind of virtual environment Download PDF

Info

Publication number
CN108847972A
CN108847972A CN201810585311.7A CN201810585311A CN108847972A CN 108847972 A CN108847972 A CN 108847972A CN 201810585311 A CN201810585311 A CN 201810585311A CN 108847972 A CN108847972 A CN 108847972A
Authority
CN
China
Prior art keywords
virtual
virtual machine
network
host
data transmission
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201810585311.7A
Other languages
Chinese (zh)
Inventor
崔凯
刘传刚
李志恒
房金彪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Chaoyue CNC Electronics Co Ltd
Original Assignee
Shandong Chaoyue CNC Electronics Co Ltd
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 Shandong Chaoyue CNC Electronics Co Ltd filed Critical Shandong Chaoyue CNC Electronics Co Ltd
Priority to CN201810585311.7A priority Critical patent/CN108847972A/en
Publication of CN108847972A publication Critical patent/CN108847972A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/083Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability for increasing network speed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0002Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of method that network data transmission rate is improved under virtual environment, it is related to virtualization system performance optimization field, the present invention is not under conditions of additionally increasing host platform hardware configuration, by establishing internal data transfer channel and optimization virtual machine software and hardware configuration parameter, improve virtual machine overall performance, it greatly improves virtual machine and external equipment carries out the message transmission rate of network communication, the application to virtualization technology in high speed network data interconnection has very high Technical Reference to be worth.

Description

The method of network data transmission rate is improved under a kind of virtual environment
Technical field
The present invention relates to improve network data transmission speed under virtualization system performance optimization field more particularly to a kind of virtual environment The method of rate.
Background technique
Current virtualization technique is by flexible creation virtual machine and realizes the technologies such as computing resource utilization rate maximization Feature is more and more widely used in country, informatization on nation defence construction field.But since virtual machine is to operate in one On virtual hardware platform, causes the performance of virtual machine to have a degree of decline compared with actual physics chance, especially needing Want big data quantity handle and field of network communication, if without additional elevation hardware configuration and software it is not optimized, virtual machine Data transmission capabilities are typically only capable to reach 50% of physical machine or so, seriously constrain the popularization and application of virtualization technology.
Summary of the invention
In order to solve the above technical problems, the invention proposes improve network data transmission rate under a kind of virtual environment Method.
The method of network data transmission rate is improved under a kind of virtual environment of the invention.By establishing internal data transfer Channel and optimization virtual machine software and hardware configuration parameter, promote virtual machine overall performance, greatly improve virtual machine and external environment Carry out the message transmission rate of network communication.
Virtual platform technical characteristic is sufficiently used, establishes the internal data transfer channel of virtual machine and host, and with Host is combined with the physical network channel of external equipment, uses virtual network and external equipment network interconnection instead of virtual machine Mode, promoted virtual machine and external equipment network data transmission efficiency.
According to the configuration of host physical platform and practical application scene, the virtualization of integrated use hardware auxiliary, virtual money The virtualization technologies such as source distribution, task process priority scheduling strategy, to the hardware devices such as virtual cpu, memory, network interface with And operating system optimizes configuration, promotes virtual machine overall performance, provides good running environment for virtual machine network transmission.
Construct the data transmission path of virtual machine and host
Firstly, establishing the network connection of virtual equipment and external equipment with gigabit networking, then established altogether on external equipment File is enjoyed, and establishes the network drive of external equipment Shared Folders on virtual equipment host;
Then, in the virtual platform of virtual equipment, " virtual machine " menu → " setting " menu is selected, in " option " page In, it selects " Shared Folders ", chooses " enabling always in shutdown next time or before hanging up " and " be mapped as network in a client to drive Dynamic device " option, clicks " addition ... " button, and the mapped network drive established on selection host in " host paths " is built The data transmission path of vertical virtual machine and host realizes that virtual machine can be carried out by this data transmission channel and host Data transmission;
Optimization promotes virtual machine overall performance
It is mentioned using technologies such as the virtualization of hardware auxiliary, optimization virtual resource allocation, optimization task process priority scheduling strategies Rise virtual machine performance;
(1)Open hardware auxiliary virtualization
By taking X86 physics machine platform as an example, in virtual platform, virtual machine → setting → hardware → processor → virtualization is drawn It holds up, preferred mode selects " automatic ", chooses " virtualization Intel VT-x/EPT or AMD-V/RVI(V)" option;
(2)Optimize virtual resource allocation
CPU and memory virtual resource allocation basic principle are as follows:
C) the total core amounts distributed to virtual machine do not exceed the half of total core amounts of physical machine;
D) memory size distributed to virtual machine, does not exceed the half of physical machine memory;
(3)Optimize task process priority scheduling strategy
In virtual platform, virtual machine → setting → option → advanced → process priority, " input content of crawl " is set as Height, " input content for cancelling crawl " are set as normal;
(4)Optimize virtual machine network configuration
D) virtual machine → setting → hardware → network adapter, two virtual network ports are changed to be directly connected to physical network in virtual machine Bridge mode;
E) in virtual machine control panel, the IP address of two virtual network ports is set as distributing automatically;
F) in physical machine network connection, the IP of the IP address of the VMnet1 and VMnet8 of virtual machine and locally-attached two network interfaces It address will be in different network segments.
By above method, additional capital investment is not needed to promote hardware configuration, only needs integrated use internal data Passage technology and a variety of virtualization optimisation techniques, can be obviously improved the network data transmission rate of virtual machine, reach Or the network transmission performance close to physical machine, meet the application demand of big data quantity network data transmission.
Detailed description of the invention
Fig. 1 is for typical virtualized environment lower network data transmission applications system architecture diagram.
Specific embodiment
More detailed elaboration is carried out to the contents of the present invention below:
To establish virtual machine on VMware virtual platform, said for being carried out data transmission by gigabit networking with external equipment Bright specific operation process.
Step 1:Construct the data transmission path of virtual machine and host
Firstly, the network connection of virtual equipment and external equipment is established with gigabit networking according to attached drawing 1, then in external equipment On establish Shared Folders, and the network drive of external equipment Shared Folders is established on virtual equipment host.
Then, in the virtual platform of virtual equipment, " virtual machine " menu → " setting " menu is selected, at " option " It in the page, selects " Shared Folders ", choose " enabling always in shutdown next time or before hanging up " and " is mapped as net in a client Network driver " option clicks " addition ... " button, the mapping network driving established on selection host in " host paths " Device establishes the data transmission path of virtual machine and host, realizes that virtual machine can pass through this data transmission channel and host Machine carries out data transmission.
Step 2:Optimization promotes virtual machine overall performance
It is mentioned using technologies such as the virtualization of hardware auxiliary, optimization virtual resource allocation, optimization task process priority scheduling strategies Rise virtual machine performance.
(1)Open hardware auxiliary virtualization
By taking X86 physics machine platform as an example, in virtual platform, virtual machine → setting → hardware → processor → virtualization is drawn It holds up, preferred mode selects " automatic ", chooses " virtualization Intel VT-x/EPT or AMD-V/RVI(V)" option.
(2)Optimize virtual resource allocation
The CPU and memory for distributing to virtual machine should not be too many, in order to avoid the overall performance of physical machine is reduced to influence virtual machine The speed of service, CPU and memory virtual resource allocation basic principle are as follows:
E) the total core amounts distributed to virtual machine do not exceed the half of total core amounts of physical machine;
F) memory size distributed to virtual machine, does not exceed the half of physical machine memory.
(3)Optimize task process priority scheduling strategy
In virtual platform, virtual machine → setting → option → advanced → process priority, " input content of crawl " is set as Height, " input content for cancelling crawl " are set as normal.
(4)Optimize virtual machine network configuration
G) virtual machine → setting → hardware → network adapter, two virtual network ports are changed to be directly connected to physical network in virtual machine Bridge mode;
H) in virtual machine control panel, the IP address of two virtual network ports is set as distributing automatically;
I) in physical machine network connection, the IP of the IP address of the VMnet1 and VMnet8 of virtual machine and locally-attached two network interfaces It address will be in different network segments.
It is entire to realize that process synthesis has used a variety of virtual machine performance optimisation techniques, to improve the systematicness under virtual environment The solution of software view can be provided with network data transmission rate.Through actual test, it is optimized after virtual machine network Message transmission rate have reached or close to physical machine network transmission performance, greatly improve system working efficiency.

Claims (3)

1. improving the method for network data transmission rate under a kind of virtual environment, which is characterized in that
With virtual platform technical characteristic, establish the internal data transfer channel of virtual machine and host, and with host with The physical network channel of external equipment combines, and the mode of virtual network and external equipment network interconnection is used instead of virtual machine, Promote the network data transmission efficiency of virtual machine and external equipment;
According to the configuration of host physical platform and practical application scene, with the virtualization of hardware auxiliary, virtual resource allocation, appoint The virtualization technology of business process priority scheduling strategy, optimizes virtual cpu, memory, network interface and operating system Configuration.
2. the method according to claim 1, wherein
Construct the data transmission path of virtual machine and host
Firstly, establishing the network connection of virtual equipment and external equipment with gigabit networking, then established altogether on external equipment File is enjoyed, and establishes the network drive of external equipment Shared Folders on virtual equipment host;
Then, in the virtual platform of virtual equipment, " virtual machine " menu → " setting " menu is selected, in " option " page In, it selects " Shared Folders ", chooses " enabling always in shutdown next time or before hanging up " and " be mapped as network in a client to drive Dynamic device " option, clicks " addition ... " button, and the mapped network drive established on selection host in " host paths " is built The data transmission path of vertical virtual machine and host realizes that virtual machine can be carried out by this data transmission channel and host Data transmission.
3. the method according to claim 1, wherein
Optimization promotes virtual machine overall performance
It is mentioned using technologies such as the virtualization of hardware auxiliary, optimization virtual resource allocation, optimization task process priority scheduling strategies Rise virtual machine performance;
(1)Open hardware auxiliary virtualization
By taking X86 physics machine platform as an example, in virtual platform, virtual machine → setting → hardware → processor → virtualization is drawn It holds up, preferred mode selects " automatic ", chooses " virtualization Intel VT-x/EPT or AMD-V/RVI(V)" option;
(2)Optimize virtual resource allocation
CPU and memory virtual resource allocation basic principle are as follows:
A) the total core amounts distributed to virtual machine do not exceed the half of total core amounts of physical machine;
B) memory size distributed to virtual machine, does not exceed the half of physical machine memory;
(3)Optimize task process priority scheduling strategy
In virtual platform, virtual machine → setting → option → advanced → process priority, " input content of crawl " is set as Height, " input content for cancelling crawl " are set as normal;
(4)Optimize virtual machine network configuration
A) virtual machine → setting → hardware → network adapter, two virtual network ports are changed to be directly connected to physical network in virtual machine Bridge mode;
B) in virtual machine control panel, the IP address of two virtual network ports is set as distributing automatically;
C) in physical machine network connection, the IP of the IP address of the VMnet1 and VMnet8 of virtual machine and locally-attached two network interfaces It address will be in different network segments.
CN201810585311.7A 2018-06-08 2018-06-08 The method of network data transmission rate is improved under a kind of virtual environment Pending CN108847972A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810585311.7A CN108847972A (en) 2018-06-08 2018-06-08 The method of network data transmission rate is improved under a kind of virtual environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810585311.7A CN108847972A (en) 2018-06-08 2018-06-08 The method of network data transmission rate is improved under a kind of virtual environment

Publications (1)

Publication Number Publication Date
CN108847972A true CN108847972A (en) 2018-11-20

Family

ID=64210304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810585311.7A Pending CN108847972A (en) 2018-06-08 2018-06-08 The method of network data transmission rate is improved under a kind of virtual environment

Country Status (1)

Country Link
CN (1) CN108847972A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114697215A (en) * 2022-03-31 2022-07-01 西安超越申泰信息科技有限公司 Method, system, equipment and medium for improving performance of virtualization network
WO2023273482A1 (en) * 2021-06-29 2023-01-05 华为技术有限公司 Control method and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591715A (en) * 2012-01-05 2012-07-18 北京航空航天大学 Implementing method for optimizing network performance of virtual machine by using multiqueue technology
CN106844066A (en) * 2017-01-22 2017-06-13 腾讯科技(深圳)有限公司 One kind application operation method, apparatus and system
CN107122224A (en) * 2016-02-25 2017-09-01 中兴通讯股份有限公司 A kind of data transmission method, virtual machine and host
CN107678835A (en) * 2017-09-30 2018-02-09 东软集团股份有限公司 A kind of data transmission method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591715A (en) * 2012-01-05 2012-07-18 北京航空航天大学 Implementing method for optimizing network performance of virtual machine by using multiqueue technology
CN107122224A (en) * 2016-02-25 2017-09-01 中兴通讯股份有限公司 A kind of data transmission method, virtual machine and host
CN106844066A (en) * 2017-01-22 2017-06-13 腾讯科技(深圳)有限公司 One kind application operation method, apparatus and system
CN107678835A (en) * 2017-09-30 2018-02-09 东软集团股份有限公司 A kind of data transmission method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
NUMBER_ZERO: "如何在VMware 虚拟机和宿主机之间通过共享文件夹共享数据", 《HTTPS://BLOG.CSDN.NET/QQ_31180393/ARTICLE/DETAILS/79891890》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023273482A1 (en) * 2021-06-29 2023-01-05 华为技术有限公司 Control method and electronic device
CN114697215A (en) * 2022-03-31 2022-07-01 西安超越申泰信息科技有限公司 Method, system, equipment and medium for improving performance of virtualization network

Similar Documents

Publication Publication Date Title
CN111490949B (en) Method, network card, host device and computer system for forwarding data packets
US9529773B2 (en) Systems and methods for enabling access to extensible remote storage over a network as local storage via a logical storage controller
US10282222B2 (en) Cloud virtual machine defragmentation for hybrid cloud infrastructure
CA2991359C (en) Packet processing method in cloud computing system, host, and system
US10768972B2 (en) Managing virtual machine instances utilizing a virtual offload device
US8208396B2 (en) Discovery and capability exchange management in a virtualized computing platform utilizing a SR-IOV adapter
US8276139B2 (en) Provisioning virtual machine placement
US20180210752A1 (en) Accelerator virtualization method and apparatus, and centralized resource manager
CN103942087B (en) Live migration of virtual machine method and relevant apparatus and group system
US10708232B2 (en) Techniques for communication in hybrid cloud system
CN108964959A (en) A kind of network interface card direct communication system and data packet monitoring and managing method for virtual platform
AU2016414391A1 (en) Packet processing method in cloud computing system, host, and system
WO2015165298A1 (en) Computer, control device and data processing method
WO2016035003A1 (en) Transparent non-uniform memory access (numa) awareness
JP2015528231A (en) Offload virtual machine flows to physical queues
US9712436B2 (en) Adaptive load balancing for bridged systems
CN106301859A (en) A kind of manage the method for network interface card, Apparatus and system
US10256994B2 (en) Open virtualized multitenant network scheme servicing virtual machine and container based connectivity
WO2014114072A1 (en) Regulation method and regulation device for i/o channels in virtualization platform
CN108847972A (en) The method of network data transmission rate is improved under a kind of virtual environment
CN104156663B (en) A kind of hardware virtual port and processor system
CN110389711A (en) Endpoint device is helped to realize method, equipment and the computer program product of SR-IOV function
US20190026154A1 (en) Flexible automated provisioning of single-root input/output virtualization (sr-iov) devices
US20130151721A1 (en) Remote Session Management
CN105162577B (en) Encrypting and decrypting method and physical server under virtual environment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181120