-
11.
公开(公告)号:US20160239337A1
公开(公告)日:2016-08-18
申请号:US15139724
申请日:2016-04-27
Applicant: Huawei Technologies Co., Ltd.
Inventor: Qiang Gu , Liufei Wen
IPC: G06F9/455 , H04L12/931
CPC classification number: G06F9/45558 , G06F9/544 , G06F2009/45562 , H04L49/70 , H04L69/12 , H04L69/321
Abstract: A method and computing device for selecting a protocol stack for performing protocol processing on data is presented. The computing device is configured with a hypervisor for managing a first virtual machine. According to the method, when a socket creation instruction sent by the first virtual machine is received, a protocol stack instance is selected from the protocol stack instances provided by the computing device. Then, a socket is created in the selected protocol stack instance according to the socket creation instruction; and a creation result is transmitted to the first virtual machine. Therefore, in a virtualized environment, multiple virtual machines disposed in a same computing device can share a network protocol processing capability, and protocol stacks of the virtual machines achieve load balance.
Abstract translation: 提出了一种用于选择用于对数据执行协议处理的协议栈的方法和计算设备。 计算设备配置有用于管理第一虚拟机的管理程序。 根据该方法,当接收到由第一虚拟机发送的套接字创建指令时,从由计算设备提供的协议栈实例中选择协议栈实例。 然后,根据套接字创建指令在所选协议栈实例中创建套接字; 并将创建结果发送到第一虚拟机。 因此,在虚拟化环境中,设置在同一计算设备中的多个虚拟机可以共享网络协议处理能力,并且虚拟机的协议栈实现负载平衡。