All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [ovs-dpdk bug] Failing to release memory when QEMU exits?
       [not found] <CAOE=1Z32pCoJBm0yeuy9f3dDKCZjsf0TM-P9m8Ngz7OUaPR_6A@mail.gmail.com>
@ 2017-10-31  2:44 ` Sam
  0 siblings, 0 replies; only message in thread
From: Sam @ 2017-10-31  2:44 UTC (permalink / raw)
  To: ovs-dev, dev

add dpdk

2017-10-31 10:43 GMT+08:00 Sam <batmanustc@gmail.com>:

> Hi all,
>
> I found in ovs-dpdk it is failing to release memory when QEMU exits. Is
> this a clear bug in ovs-dpdk? If it is, when did this bug fixed? Detail is
> bellow:
>
>
> For qemu-2.6.0 and ovs-dpdk, in huge page (1G) environment, after kill the
> qemu process, memory which is alloc for the vm could not be released.
>
> The start up command is:
>
> CMD1="$QEMU_CMD -D qemu.log -trace events=qemu-events-all -enable-kvm -cpu
> qemu64,+vmx,+ssse3,+sse4.1,+sse4.2,+x2apic,+aes,+avx,+vme,+p
> at,+ss,+pclmulqdq,+xsave,level=13 -machine pc,accel=kvm -chardev
> socket,id=hmqmondev,port=55908,host=127.0.0.1,nodelay,server,nowait -mon
> chardev=hmqmondev,id=hmqmon,mode=readline -rtc
> base=utc,clock=host,driftfix=none -usb -device usb-tablet -daemonize
> -nodefaults -nodefconfig -no-kvm-pit-reinjection -global
> kvm-pit.lost_tick_policy=discard -vga std -k en-us -smp 8 -name
> gangyewei-qemutime-1 -m 40960 -boot order=cdn -vnc :8,password -drive
> file=$DISK_0,if=none,id=drive_0,format=qcow2,cache=none,aio=native
> -device virtio-blk-pci,id=dev_drive_0,drive=drive_0,bus=pci.0,addr=0x5
> -drive file=$DISK_1,if=none,id=drive_1,format=qcow2,cache=none,aio=native
> -device virtio-blk-pci,id=dev_drive_1,drive=drive_1,bus=pci.0,addr=0x6
> -drive file=$DISK_2,if=none,id=drive_2,format=qcow2,cache=none,aio=native
> -device virtio-blk-pci,id=dev_drive_2,drive=drive_2,bus=pci.0,addr=0x7
> -device ide-cd,drive=ide0-cd0,bus=ide.1,unit=1 -drive
> id=ide0-cd0,media=cdrom,if=none -chardev socket,id=char-n-52b49b80,path
> =/usr/local/var/run/openvswitch/n-52b49b80,server -netdev
> type=vhost-user,id=n-52b49b80,chardev=char-n-52b49b80,vhostforce=on
> -device virtio-net-pci,netdev=n-52b49b80,mac=00:22:52:b4:9b:80,id=ne
> tdev-n-52b49b80,addr=0xf$(nic_speed 10000) -object
> memory-backend-file,id=mem,size=40960M,mem-path=/mnt/huge,share=on -numa
> node,memdev=mem -pidfile $PID_FILE -chardev socket,path=/opt/cloud/workspa
> ce/servers/4511f52a-f450-40d3-9417-a1e0a27ed507/qga.sock,server,nowait,id=qga0
> -device virtio-serial -device virtserialport,chardev=qga0,na
> me=org.qemu.guest_agent.0"
>
> The stop script is just kill this process.
>
> the result of `cat /proc/meminfo` show memory is still there.
>
> After restart ovs-dpdk(which is openvswitch with dpdk lib), memory is
> released.
>
>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-10-31  2:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAOE=1Z32pCoJBm0yeuy9f3dDKCZjsf0TM-P9m8Ngz7OUaPR_6A@mail.gmail.com>
2017-10-31  2:44 ` [ovs-dpdk bug] Failing to release memory when QEMU exits? Sam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.