performance issue about drv-netif-dpdk & rump_server

  • From: Yuan Liang YL Miao <flynn.miao@xxxxxxxxxx>
  • To: rumpkernel-users@xxxxxxxxxxxxx
  • Date: Wed, 19 Aug 2015 15:20:57 +0800



Dear all,

I follow the page http://comments.gmane.org/gmane.comp.rumpkernel.user/746,
reference examples/Makefile.inc,
change the Makefile of rump_server,
and get a rump_server with librumpnet_dpdkif.

Run rump_server like this:
./rump_server unix:///tmp/rumpctrlsock
And I can create dpdk interface now.

But the performance is not quite good:
test with 10G intel nics,
the topo is like this: host1 --- (dpdk0)rump_server (as a router)(dpdk1)
--- host2
Test with netperf tool, the TCP_STREAM result is only about 500Mb/sec, even
less than the result of virtif of rumpkernel.
Test with pktgen, Mpps is only about 0.7Mpps, that's same with the result
of virt interface of rumpkernel.

(1)It seems that the goodness of dpdk is not utilized by rump_server.
Any suggestion for the performance issue?

(2)When rump_server starts up, there is an error. Any suggestion for the
error?
...
EAL: Detected lcore 34 as core 4 on socket 1
EAL: Detected lcore 35 as core 8 on socket 1
EAL: Detected lcore 36 as core 9 on socket 1
EAL: Detected lcore 37 as core 10 on socket 1
EAL: Detected lcore 38 as core 11 on socket 1
EAL: Detected lcore 39 as core 12 on socket 1
EAL: Support maximum 128 logical core(s) by configuration.
EAL: Detected 40 lcore(s)
EAL: cannot open VFIO container, error 2 (No such file or directory)
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< error
EAL: VFIO support could not be initialized
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
EAL: Setting up memory...
EAL: Ask a virtual area of 0x100000000 bytes
EAL: Virtual area found at 0x7f8800000000 (size = 0x100000000)
EAL: Ask a virtual area of 0x100000000 bytes
EAL: Virtual area found at 0x7f86c0000000 (size = 0x100000000)
EAL: Requesting 4 pages of size 1024MB from socket 0
EAL: Requesting 4 pages of size 1024MB from socket 1
EAL: TSC frequency is ~2294687 KHz
EAL: Master core 0 is ready (tid=48f2f880)
EAL: PCI device 0000:03:00.0 on NUMA socket 0
EAL: probe driver: 8086:1528 rte_ixgbe_pmd
EAL: PCI memory mapped at 0x7f8900000000
EAL: PCI memory mapped at 0x7f8900200000
PMD: eth_ixgbe_dev_init(): MAC: 4, PHY: 3
PMD: eth_ixgbe_dev_init(): port 0 vendorID=0x8086 deviceID=0x1528
EAL: PCI device 0000:03:00.1 on NUMA socket 0
EAL: probe driver: 8086:1528 rte_ixgbe_pmd
EAL: 0000:03:00.1 not managed by UIO driver, skipping
EAL: PCI device 0000:04:00.0 on NUMA socket 0
EAL: probe driver: 8086:1528 rte_ixgbe_pmd
EAL: PCI memory mapped at 0x7f8900204000
...


Thanks.

Flynn Miao

Other related posts: