From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp2203-239.mail.aliyun.com (smtp2203-239.mail.aliyun.com [121.197.203.239]) by dpdk.org (Postfix) with ESMTP id 4E3C65A96 for ; Wed, 1 Jul 2015 12:34:47 +0200 (CEST) X-Alimail-AntiSpam: AC=CONTINUE; BC=0.3241381|-1; FP=0|0|0|0|0|-1|-1|-1; HT=c01b14446; MF=liw@dtdream.com; NM=0; PH=DS; RN=2; RT=2; SR=0; Received: from 10.160.1.217(mailfrom:liw@dtdream.com ip:111.198.29.130) by smtp.aliyun-inc.com(10.147.11.250); Wed, 01 Jul 2015 18:34:41 +0800 Message-ID: <5593C23E.8060109@dtdream.com> Date: Wed, 01 Jul 2015 18:34:38 +0800 From: Wei Li User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: dev@dpdk.org Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [dpdk-dev] 100% cpu of VM (OS windows 7) X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2015 10:34:49 -0000 dpdk: 2.0.0 ovs: 2.4.90 qemu: 2.3.0 OS of vm: windows7 64bit driver of virtio for windows: virtio-win-0.1.96_amd64 ovs-vsctl add-br br0 -- set bridge br0 datapath_type=netdev ovs-vsctl add-port br0 tap0 -- set Interface tap0 type=dpdkvhostuser qemu-system-x86_64 win.img -cpu host -smp 2 --enable-kvm -m 2G -vnc :1 -object memory-backend-file,id=mem,size=2G,mem-path=/dev/hugepages,share=on -numa node,memdev=mem -mem-prealloc -chardev socket,id=char1,path=/var/run/openvswitch/tap0 -netdev type=vhost-user,id=net1,chardev=char1,vhostforce -device virtio-net-pci,netdev=net1,mac=00:00:00:00:00:01,csum=off,gso=off,guest_tso4=off,guest_tso6=off,guest_ecn=off & |-----| |-----| | VM |----| ovs | use vhostuser |-----| |-----| When VM receiving packets from virtionet, the cpu of vm get 100%, but sending packets looks like ok if the OS of VM is Linux, there is no problem what different between windows 7 and linux? Have anyone meet the problem?