[dpdk-dev] Issues with example/vhost vm2vm

2015-05-13 Thread Maciej Grochowski
Hello, I trying to create vm2vm benchmark on my ubuntu (14.04) based platform. I had compiled DPDK to run a vhost example app with followed flags CONFIG_RTE_LIBRTE_VHOST=y CONFIG_RTE_LIBRTE_VHOST_USER=y CONFIG_RTE_LIBRTE_VHOST_DEBUG=n then I run vhost app based on documentation: ./build/app/vh

[dpdk-dev] Issues with example/vhost with running VM

2015-05-13 Thread Maciej Grochowski
Hello, I trying to create vm2vm benchmark on my ubuntu(14.04) based platform. I had compiled DPDK to run a vhost example app with followed flags CONFIG_RTE_LIBRTE_VHOST=y CONFIG_RTE_LIBRTE_VHOST_USER=y CONFIG_RTE_LIBRTE_VHOST_DEBUG=n then I run vhost app based on documentation: ./build/app/vho

[dpdk-dev] Issues with example/vhost with running VM

2015-05-14 Thread Maciej Grochowski
, Xie, Huawei wrote: > Try --socket-mem or -m 2048 to limit the vhost switch's memory > consumption, note that vswitch requires several GB memory due to some issue > in the example, so try allocating more huges pages. > > > -Original Message- > > From: dev [ma

[dpdk-dev] Vhost user no connection vm2vm

2015-05-15 Thread Maciej Grochowski
Hello, I have strange issue with example/vhost app. I had compiled DPDK to run a vhost example app with followed flags CONFIG_RTE_LIBRTE_VHOST=y CONFIG_RTE_LIBRTE_VHOST_USER=y CONFIG_RTE_LIBRTE_VHOST_DEBUG=n then I run vhost app based on documentation: ./build/app/vhost-switch -c f -n 4 --hug

[dpdk-dev] FW: Vhost user no connection vm2vm

2015-05-22 Thread Maciej Grochowski
Unfortunately not, I have the same issue in rte_vhost_dequeue_burst function. What kernel version are You using on host/guest? In my case on host I had 3.13.0 and on guests old 3.2 debian. I just looked deeper into virtio back-end (vhost) but at first glace it seems like nothing coming from virt

[dpdk-dev] Vhost user no connection vm2vm

2015-05-22 Thread Maciej Grochowski
"Do you use some command I suggest before, In case of you miss the previous mail, just copy it again:" -Yes but it didn't help me ;/ I will describe step by step to esure that configuration is made by right way I started vhost: ./build/app/vhost-switch -c f -n 4 --huge-dir /mnt/huge --socket-

[dpdk-dev] Vhost user no connection vm2vm

2015-05-22 Thread Maciej Grochowski
x/free_hugepages > > If qemu guest allocates memory from hugepages, 2nd cat command will > indicate it. > > Thanks, > Tetsuya > > > On 2015/05/22 18:28, Maciej Grochowski wrote: > > "Do you use some command I suggest before, > > In case of you mis

[dpdk-dev] Vhost user no connection vm2vm

2015-05-22 Thread Maciej Grochowski
gt; Regards, > Andriy > > On Fri, May 22, 2015 at 12:04 PM, Maciej Grochowski > wrote: > > I checked this, results below > > > > #before script: > > root@# cat /sys/kernel/mm/hugepages/hugepages-2048kB/free_hugepages > > 494 > > #after 1 qemu script &g

[dpdk-dev] KNI performance numbers...

2015-06-25 Thread Maciej Grochowski
I meet similar issue with KNI connected VM, but In my case I run 2 VM guests based on KNI and measure network performance between them: sesion: ### I just started demo with kni ./build/kni -c 0xf0 -n 4 -- -P -p 0x3 --config="(0,4,6,8),(1,5,7,9)" ###starting... ###set kni on vEthX to connect (a