Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multicore test #4

Open
alexsalig opened this issue Jun 25, 2016 · 2 comments
Open

Multicore test #4

alexsalig opened this issue Jun 25, 2016 · 2 comments

Comments

@alexsalig
Copy link

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

  • mulitcore branch: give me following error:
    ipaugenblick-multicore/dpdk-1.6.0r2/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_ethtool.c:2899:2: error: implicit declaration of function ‘SET_ETHTOOL_OPS’ [-Werror=implicit-function-declaration] SET_ETHTOOL_OPS(netdev, &ixgbe_ethtool_ops);
  • mulitcore2 branch: give me following error:
    ipaugenblick-multicore2/stack_and_service/porting/app_glue.c:416:26: error: subscripted value is neither array nor pointer nor vector app_glue_periodic_called[rte_lcore_id()]++;
  • mulitcore3 branch: give me following error:
    ipaugenblick-multicore3/stack_and_service/specific_includes/net/sock.h:1294:57: error: subscripted value is neither array nor pointer nor vector ret = res_counter_charge_nofail(&prot->memory_allocated[rte_lcore_id()],
@chaudhryusama
Copy link
Collaborator

Hi Alex,

multicore3 is the latest branch. However, there are some compiling issues. Can you do the following changes to the branch you clone
chaudhryusama@f785f94
This will fix the error you are facing during compilation. By the way this branch is still a work in progress.

@alexsalig
Copy link
Author

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.

@alexsalig alexsalig reopened this Jun 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants