vadimsu / ipaugenblick

Linux TCP/IP stack port for DPDK
Other
89 stars 53 forks source link

Multicore test #4

Open alexsalig opened 8 years ago

alexsalig commented 8 years ago

I want to test multi-core version of ipaugenblick. I found 3 multi-core branches, but can't run any of them:

chaudhryusama commented 8 years ago

Hi Alex,

multicore3 is the latest branch. However, there are some compiling issues. Can you do the following changes to the branch you clone https://github.com/chaudhryusama/ipaugenblick/commit/f785f94edd5de351bcd3123e06858308a03c2698 This will fix the error you are facing during compilation. By the way this branch is still a work in progress.

alexsalig commented 8 years ago

Thanks. Now, I can compile the project, but when I run following command:

root@debian:/ipaugenblick-multicore3# /usr/bin/ipaugenblick_srv -c 1 -n 1 -d /ipaugenblick-multicore3/dpdk-2.0.0/x86_64-native-linuxapp-gcc/lib/librte_pmd_e1000.so -- -p 0

I get this error:

EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Support maximum 128 logical core(s) by configuration.
EAL: Detected 4 lcore(s)
EAL: VFIO modules not all loaded, skip VFIO support...
EAL: Setting up memory...
EAL: Ask a virtual area of 0x400000 bytes
EAL: Virtual area found at 0x7fa029e00000 (size = 0x400000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7fa029a00000 (size = 0x200000)
EAL: Ask a virtual area of 0x27400000 bytes
EAL: Virtual area found at 0x7fa002400000 (size = 0x27400000)
EAL: Ask a virtual area of 0x1d000000 bytes
EAL: Virtual area found at 0x7f9fe5200000 (size = 0x1d000000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f9fe4e00000 (size = 0x200000)
EAL: Ask a virtual area of 0x1f400000 bytes
EAL: Virtual area found at 0x7f9fc5800000 (size = 0x1f400000)
EAL: Requesting 800 pages of size 2MB from socket 0
EAL: TSC frequency is ~2659998 KHz
EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles !
EAL: open shared lib /ipaugenblick-multicore3/dpdk-2.0.0/x86_64-native-linuxapp-gcc/lib/librte_pmd_e1000.so
EAL: Master lcore 0 is ready (tid=2e0738c0;cpuset=[0])
EAL: PCI device 0000:02:00.0 on NUMA socket -1
EAL:   probe driver: 8086:10a9 rte_igb_pmd
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:02:00.1 on NUMA socket -1
EAL:   probe driver: 8086:10a9 rte_igb_pmd
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:03:00.0 on NUMA socket -1
EAL:   probe driver: 8086:10d3 rte_em_pmd
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:04:00.0 on NUMA socket -1
EAL:   probe driver: 8086:10d3 rte_em_pmd
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:05:00.0 on NUMA socket -1
EAL:   probe driver: 8086:10d3 rte_em_pmd
EAL:   PCI memory mapped at 0x7fa02a200000
EAL:   PCI memory mapped at 0x7fa02a220000
PMD: eth_em_dev_init(): port_id 0 vendorID=0x8086 deviceID=0x10d3
EAL: PCI device 0000:06:00.0 on NUMA socket -1
EAL:   probe driver: 8086:10d3 rte_em_pmd
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:07:00.0 on NUMA socket -1
EAL:   probe driver: 8086:10d3 rte_em_pmd
EAL:   Not managed by a supported kernel driver, skipped
EAL: PCI device 0000:08:00.0 on NUMA socket -1
EAL:   probe driver: 8086:10d3 rte_em_pmd
EAL:   Not managed by a supported kernel driver, skipped
argc = 3
EAL: Error - exiting with code: 1
  Cause: Cannot configure device: err=-22, port=0

I test it with ixgbe network interface, but get the same error.