Much Thanks.
>Thank You Andriy, You are right
>Below I put tested KVM configuration that put packets into vhost dpdk plane
>space:
>export TLBFS_DIR=/mnt/huge
>export UVH_PREFIX=/home/ubuntu/esi_ee/dpdk/examples/vhost/usvhost
>export VM1_MAC=00:01:04:00:01:00
>kvm -cpu host -smp 2 -enable-kvm \
Thank You Andriy, You are right
Below I put tested KVM configuration that put packets into vhost dpdk plane
space:
export TLBFS_DIR=/mnt/huge
export UVH_PREFIX=/home/ubuntu/esi_ee/dpdk/examples/vhost/usvhost
export VM1_MAC=00:01:04:00:01:00
kvm -cpu host -smp 2 -enable-kvm \
-drive if=virtio,
Hi Maciej,
I guess it's nice to make sure guest memory is actually allocated by
hugepages.
So please check like below.
$ cat /sys/kernel/mm/hugepage/x/free_hugepages
$ ./start_qemu.sh
$ cat /sys/kernel/mm/hugepage/x/free_hugepages
If qemu guest allocates memory from hugepages, 2nd cat co
Hi guys,
I guess you just miss the qemu flag to map the memory as shared, i.e.:
-object memory-backend-file,id=mem,size=1024M,mem-path=/mnt/huge,share=on
(the keyword is share=on)
Here is an example script:
https://github.com/srajag/contrail-vrouter/blob/dpdk-devel/examples/vms/VROUTER1/80.start-v
I checked this, results below
#before script:
root@# cat /sys/kernel/mm/hugepages/hugepages-2048kB/free_hugepages
494
#after 1 qemu script
root@# cat /sys/kernel/mm/hugepages/hugepages-2048kB/free_hugepages
366
So qemu consume 262144k~262MB that is correct with script
On Fri, May 22, 2015 at 11:
"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-
Hi
What kernel version are You using on host/guest?
>>I use ubuntu 12.04(3.11.0-15-generic) in host. In vm I use ubuntu 12.04 and
>>ubuntu14.04 both, but the result is same.
Do you use some command I suggest before, In case of you miss the previous
mail, just copy it again:
>> I try it but the r
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Maciej Grochowski
> Sent: Friday, May 15, 2015 6:15 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] Vhost user no connection vm2vm
>
> Hello, I have strange issue with example/vhost app
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
9 matches
Mail list logo