CN105119724A - Network virtualization implementation method based on Loongson platform - Google Patents
Network virtualization implementation method based on Loongson platform Download PDFInfo
- Publication number
- CN105119724A CN105119724A CN201510426308.7A CN201510426308A CN105119724A CN 105119724 A CN105119724 A CN 105119724A CN 201510426308 A CN201510426308 A CN 201510426308A CN 105119724 A CN105119724 A CN 105119724A
- Authority
- CN
- China
- Prior art keywords
- platform
- network
- implementation method
- network interface
- virtualization
- 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
Links
Abstract
The invention discloses a network virtualization implementation method based on a Loongson platform. According to the implementation method, a physical platform is formed based on the Loongson platform and an intel 82576 network card, a KVM (Kernel Virtual Machine) virtualization platform is set up on the physical platform, and then an intel SR-IOV technology is transplanted to the platform. According to the invention, the intel SR-IOV technology is applied to the Loongson platform, thereby improving the rate of a virtual machine network on the Loongson platform, and improving the application level of virtualization technologies on a home-made computer platform.
Description
Technical field
The present invention relates to computer virtualized technical field, be specifically related to a kind of network virtualization implementation method based on Loongson platform.
Background technology
In recent years, along with developing rapidly of cloud computing, Intel Virtualization Technology is also more and more paid attention to, the Intel Virtualization Technology of also most potentiality emerging in Linux system surely belongs to KVM(KernelVirtualMachine, kernel virtual machine), because it is increased income and is present in kernel with modular form, be subject to the favor of numerous developers.
Domestic Platform Intel Virtualization Technology is at the early-stage, and due to processor architecture restriction, the mature technology on X86 can not directly be applied, and needs again to explore a kind of implementation method.In Intel Virtualization Technology, network virtualization is one of important technology, and it can improve the throughput of network in virtual machine, improves the efficiency of network.This technology (SR-IOV) relative maturity in X86 system, it can allow the speed of virtual machine network reach the level of physical machine.Because this technology needs hardware supports, in Domestic Platform, also there is no corresponding mature technology, cause the network rate in virtual machine very low.
Summary of the invention
The technical problem to be solved in the present invention is: main purpose of the present invention is that Loongson platform realizes network virtualization, improves the virtual machine network speed of Loongson platform, based on domestic Loongson processor, proposes a kind of implementation method of network virtualization.
Implementation method of the present invention is based on Godson 3A desktop computer and intel82576 network interface card formation platform, and builds KVM virtualization platform thereon, then by intelSR-IOV technology transplant in this platform.
The technical solution adopted in the present invention is:
Based on a network virtualization implementation method for Loongson platform, described implementation method based on Loongson platform and intel82576 network interface card formation platform, and builds KVM virtualization platform thereon, then by intelSR-IOV technology transplant in this platform.
Described implementation method is supported by adding SR-IOV in the trawl performance of intel82576 network interface card kernel, intel82576 network interface card fictionalizes 14 Microsoft Loopback Adapters (virtual functions VF) automatically, with 2 physical network cards (physical function PF), altogether can identify 16 network interface cards in system, 8 virtual machines can be distributed to and use.
Described implementation method is virtual for processor, network interface card interrupt redirection, virtual machine kernel trawl performance, and amendment part of original code, allows SR-IOV technology obtain CPU hardware supports, can be used by KVM virtualization.
Described implementation method utilizes the direct distribution function of PCI equipment of KVM itself, any two network interface cards fictionalized is distributed to virtual machine, just can obtain 2 network interface cards equally in virtual machine.Utilize the direct distribution function of equipment, substantially reducing (even avoiding) VM-Exit when performing card operation is trapped in Hypervisor, drastically increase network performance, can reach and performance about the same in Native system, particularly in Loongson platform, can greatly improve virtual machine network speed.
Beneficial effect of the present invention is:
The present invention, by the SR-IOV technology of intel is applied to Loongson platform, improves the speed of virtual machine network in Loongson platform, improves the application level of Intel Virtualization Technology on home brewed computer platform.
Accompanying drawing explanation
Fig. 1 is network interface card SR-IOV functional schematic;
Fig. 2 is Loongson platform network virtualization frame diagram;
Fig. 3 is for transplanting network performance comparison diagram before and after SR-IOV.
Embodiment
With reference to the accompanying drawings, by embodiment, the present invention is further described:
Embodiment 1:
Based on a network virtualization implementation method for Loongson platform, described implementation method based on Loongson platform and intel82576 network interface card formation platform, and builds KVM virtualization platform thereon, then by intelSR-IOV technology transplant in this platform.
Embodiment 2:
As shown in Figure 1, on the basis of embodiment 1, implementation method described in the present embodiment is supported by adding SR-IOV in the trawl performance of intel82576 network interface card kernel, intel82576 network interface card fictionalizes 14 Microsoft Loopback Adapters (virtual functions VF) automatically, with 2 physical network cards (physical function PF), altogether can identify 16 network interface cards in system, 8 virtual machines can be distributed to and use.
Embodiment 3:
On the basis of embodiment 1 or 2, the aspect amendment part of original code such as implementation method described in the present embodiment is virtual for processor, network interface card has interrupt redirection, virtual machine kernel trawl performance, allow SR-IOV technology obtain CPU hardware supports, can be used by KVM virtualization.
Embodiment 4:
As shown in Figure 2, on the basis of embodiment 3, implementation method described in the present embodiment utilizes the direct distribution function of PCI equipment of KVM itself, any two network interface cards fictionalized is distributed to virtual machine, just can obtain 2 network interface cards equally in virtual machine.Utilize the direct distribution function of equipment, substantially reducing (even avoiding) VM-Exit when performing card operation is trapped in Hypervisor, drastically increase network performance, can reach and performance about the same in Native system, particularly in Loongson platform, can greatly improve virtual machine network speed.
As shown in Figure 3, after transplanting work completes, carry out network rate test, test the network rate of host, virtual machine respectively, virtual machine will carry out transplanting the contrast before and after SR-IOV, and after transplanting SR-IOV, network rate significantly improves, almost close to the horizontal network of host.
Above execution mode is only for illustration of the present invention; and be not limitation of the present invention; the those of ordinary skill of relevant technical field; without departing from the spirit and scope of the present invention; can also make a variety of changes and modification; therefore all equivalent technical schemes also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.
Claims (4)
1. the network virtualization implementation method based on Loongson platform, it is characterized in that: described implementation method is based on Loongson platform and intel82576 network interface card formation platform, and build KVM virtualization platform thereon, then by intelSR-IOV technology transplant in this platform.
2. a kind of network virtualization implementation method based on Loongson platform according to claim 1, it is characterized in that: described method is supported by adding SR-IOV in the trawl performance of intel82576 network interface card kernel, intel82576 network interface card fictionalizes 14 Microsoft Loopback Adapters automatically, with 2 physical network cards, altogether can identify 16 network interface cards in system, 8 virtual machines can be distributed to and use.
3. a kind of network virtualization implementation method based on Loongson platform according to claim 1 and 2, it is characterized in that: described method is virtual for processor, network interface card has interrupt redirection, virtual machine kernel trawl performance, amendment part of original code, allow SR-IOV technology obtain CPU hardware supports, can be used by KVM virtualization.
4. a kind of network virtualization implementation method based on Loongson platform according to claim 3, it is characterized in that: described method utilizes the direct distribution function of PCI equipment of KVM itself, any two network interface cards fictionalized are distributed to virtual machine, in virtual machine, just can obtain 2 network interface cards equally.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510426308.7A CN105119724A (en) | 2015-07-20 | 2015-07-20 | Network virtualization implementation method based on Loongson platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510426308.7A CN105119724A (en) | 2015-07-20 | 2015-07-20 | Network virtualization implementation method based on Loongson platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105119724A true CN105119724A (en) | 2015-12-02 |
Family
ID=54667624
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510426308.7A Pending CN105119724A (en) | 2015-07-20 | 2015-07-20 | Network virtualization implementation method based on Loongson platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105119724A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106533825A (en) * | 2016-10-25 | 2017-03-22 | 广东浪潮大数据研究有限公司 | Linux system-based SR-IOV function testing method |
CN107329723A (en) * | 2017-07-13 | 2017-11-07 | 山东超越数控电子有限公司 | It is a kind of to realize the method that DirectDraw accelerates |
CN111866209A (en) * | 2020-07-07 | 2020-10-30 | 上海云轴信息科技有限公司 | Method and equipment for distributing network card for cloud host |
CN113259142A (en) * | 2021-07-07 | 2021-08-13 | 飞腾信息技术有限公司 | Multicast performance optimization method, system, device and storage medium in virtual machine |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120284712A1 (en) * | 2011-05-04 | 2012-11-08 | Chitti Nimmagadda | Systems and methods for sr-iov pass-thru via an intermediary device |
CN202771305U (en) * | 2012-05-30 | 2013-03-06 | 曙光信息产业(北京)有限公司 | Machine frame server based on Longson CPUs (Central Processing Units) and north bridge chip SR5650 |
-
2015
- 2015-07-20 CN CN201510426308.7A patent/CN105119724A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120284712A1 (en) * | 2011-05-04 | 2012-11-08 | Chitti Nimmagadda | Systems and methods for sr-iov pass-thru via an intermediary device |
CN202771305U (en) * | 2012-05-30 | 2013-03-06 | 曙光信息产业(北京)有限公司 | Machine frame server based on Longson CPUs (Central Processing Units) and north bridge chip SR5650 |
Non-Patent Citations (1)
Title |
---|
杨洪波: "《高性能网络虚拟化技术研究》", 《中国博士学位论文全文数据库信息科技辑》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106533825A (en) * | 2016-10-25 | 2017-03-22 | 广东浪潮大数据研究有限公司 | Linux system-based SR-IOV function testing method |
CN107329723A (en) * | 2017-07-13 | 2017-11-07 | 山东超越数控电子有限公司 | It is a kind of to realize the method that DirectDraw accelerates |
CN111866209A (en) * | 2020-07-07 | 2020-10-30 | 上海云轴信息科技有限公司 | Method and equipment for distributing network card for cloud host |
CN113259142A (en) * | 2021-07-07 | 2021-08-13 | 飞腾信息技术有限公司 | Multicast performance optimization method, system, device and storage medium in virtual machine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9893996B2 (en) | Techniques for packet management in an input/output virtualization system | |
US9854036B2 (en) | Method for migrating memory data of virtual machine, and related apparatus and cluster system | |
EP2881860B1 (en) | Method for implementing an interrupt between virtual processors, related device, and system | |
US20130205106A1 (en) | Mapping guest pages to disk blocks to improve virtual machine management processes | |
US9697031B2 (en) | Method for implementing inter-virtual processor interrupt by writing register data in a single write operation to a virtual register | |
CN106648826B (en) | For the method and apparatus of thermophoresis virtual machine | |
CN107924325B (en) | Apparatus and method for multi-level virtualization | |
CN105119724A (en) | Network virtualization implementation method based on Loongson platform | |
US9201823B2 (en) | Pessimistic interrupt affinity for devices | |
US9329880B2 (en) | Counter for fast interrupt register access in hypervisors | |
US9003094B2 (en) | Optimistic interrupt affinity for devices | |
US10367688B2 (en) | Discovering changes of network interface controller names | |
US10331589B2 (en) | Storing interrupt location for fast interrupt register access in hypervisors | |
CN104111867B (en) | A kind of virtual machine (vm) migration device and method | |
CN111123737A (en) | Digital hardware virtual simulation system | |
US9164788B2 (en) | Apparatus and method for automatic para-virtualization of OS kernel | |
CN105515933A (en) | Management method for realizing network function of VMware based on OpenStack | |
CN104067218B (en) | Distribute memory access control strategy | |
CN107741868B (en) | Setting method and device for Basic Input Output System (BIOS) | |
CN107239696B (en) | A kind of hot restorative procedure of loophole for virtualization hypercalls function | |
CN102629211B (en) | A kind of hardware resource configurable virtual machine activation method | |
US20230043929A1 (en) | Storage snapshots for nested virtual machines | |
CN115292000A (en) | Method and device for dynamic migration of virtual machine and electronic equipment | |
CN102819712B (en) | Method and device for ensuring security of virtual machine operation system | |
Silva et al. | Virtualization Maturity in Creating System VM: An Updated Performance Evaluation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151202 |
|
RJ01 | Rejection of invention patent application after publication |