Hi Damjan and vPPers,

I got a question about the physical mem management in vPP.

As I understand, we specify socket-mem in startup.conf for DPDK to allocate mem 
for itself, but we are using vPP phymem allocator for mbuf and crypto PMDs if 
vdev is specified. The latter consist of crypto op , session, and driver pools, 
and they are quite small in general. However, at least one hugepage will be 
allocated for each pool, which could be 1GB. Big waste in a way. DPDK instead 
handles it in a better way using a mem segment based mechanism.

Question: why use a customzied dpdk_pool_create instea of asking DPDK to manage 
mempool just like rte_pktbuf_create_by_ops?

Regards,
Kingwel


-------- 原始邮件 --------
主题: [vpp-dev] runing testpmd inside vm without installing guest OS
来自: "Damjan Marion via Lists.Fd.Io" <dmarion=me....@lists.fd.io>
发至: 2018年11月23日 下午11:47
抄送: Vpp-dev <vpp-dev@lists.fd.io>

In case anybody is interested, this is quick way to run testpmd inside vm, for 
vhost-user testing.

No guest userspace needed, no disk image, guest kernel just runs bash script 
which starts testpmd....

https://gist.github.com/dmarion/161d83165d27af7c39ab807beae4746c


--
Damjan

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11394): https://lists.fd.io/g/vpp-dev/message/11394
Mute This Topic: https://lists.fd.io/mt/28308134/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to