Jump to content
Калькуляторы

dpdk dpdk-ans dpdk-gninx

Добрый! Настраиваю впервые. Делал все по https://github.com/opendp/dpdk-nginx. Суть проблемы в запуске ans да и вообще всех тестовых приложений в dpdk.

 

Запуск

sudo ./build/ans -c 0x2 -n 1  -- -p 0x1 --config="(0,0,1)"

 

EAL: Detected 4 lcore(s)
EAL: Probing VFIO support...
PMD: bnxt_rte_pmd_init() called for (null)
EAL: PCI device 0000:00:08.0 on NUMA socket -1
EAL:   probe driver: 8086:100f rte_em_pmd
EAL: PCI device 0000:00:09.0 on NUMA socket -1
EAL:   probe driver: 8086:100f rte_em_pmd
EAL: PCI device 0000:00:0a.0 on NUMA socket -1
EAL:   probe driver: 8086:100f rte_em_pmd
EAL: PCI device 0000:00:11.0 on NUMA socket -1
EAL:   probe driver: 8086:100f rte_em_pmd
param nb 1 ports 3 
port id 0 

Start to Init port 
 port 0:  
 port name rte_em_pmd:  
 max_rx_queues 1: max_tx_queues:1 
 rx_offload_capa 0x0: tx_offload_capa:0x0 
 Creating queues: rx queue number=1 tx queue number=1... 
 MAC Address:08:00:27:89:89:A7 
 Deault-- tx pthresh:0, tx hthresh:0, tx wthresh:0, txq_flags:0x0 
 lcore id:1, tx queue id:0, socket id:0 
 Conf-- tx pthresh:0, tx hthresh:0, tx wthresh:0, txq_flags:0xfffff1ff 


Skipping disabled port 1

Skipping disabled port 2
Allocated mbuf pool on socket 0, mbuf number: 16384 

Initializing rx queues on lcore 1 ... 
Default-- rx pthresh:0, rx hthresh:0, rx wthresh:0 
port id:0, rx queue id: 0, socket id:0 
Conf-- rx pthresh:8, rx hthresh:8, rx wthresh:4 

core mask: 2, sockets number:1, lcore number:1 
start to init ans 
USER8: LCORE[1] lcore mask 0x2 
USER8: LCORE[1] lcore id 1 is enable 
USER8: LCORE[1] lcore number 1 
USER1: rte_ip_frag_table_create: allocated of 25165952 bytes at socket 0
USER8: LCORE[1] UDP layer init successfully, Use memory:4194304 bytes 
USER8: LCORE[1] TCP hash table init successfully, tcp pcb size 448 total size 58720256 
USER8: LCORE[1] so shm memory 16777216 bytes, so number 131072,  sock shm size 128 bytes 
USER8: LCORE[1] Sock init successfully, allocated of 41943040 bytes 
add eth0 device
USER8: LCORE[1] Interface eth0 if_capabilities: 0x0 
add IP 200000a on device eth0 

Skipping disabled port 1

Skipping disabled port 2
Show interface 

eth0	HWaddr 08:00:27:89:89:a7
	inet addr:10.0.0.2
	inet addr:255.255.255.0
add static route 

Destination		Gateway		Netmask			Flags		Iface
10.0.0.0		*		255.255.255.0		U C 		0
10.0.0.5		*		255.255.255.255		U H L 		0
10.10.0.0		10.0.0.5		255.255.255.0		U G 		0



USER8: LCORE[-1] ANS mgmt thread startup 

Checking link status ..........................................................................................done
Port 0 Link Down
USER8: main loop on lcore 1
USER8:  -- lcoreid=1 portid=0 rxqueueid=0
nb ports 3 hz: 2194815794 

 

Смущает

 

EAL: Probing VFIO support...
PMD: bnxt_rte_pmd_init() called for (null)
EAL: PCI device 0000:00:08.0 on NUMA socket -1
EAL:   probe driver: 8086:100f rte_em_pmd
EAL: PCI device 0000:00:09.0 on NUMA socket -1
EAL:   probe driver: 8086:100f rte_em_pmd
EAL: PCI device 0000:00:0a.0 on NUMA socket -1
EAL:   probe driver: 8086:100f rte_em_pmd
EAL: PCI device 0000:00:11.0 on NUMA socket -1
EAL:   probe driver: 8086:100f rte_em_pmd

 

В чем ошибка? fedora 4.9.6-200.fc25.x86_64. dpdk 16.07.2

 

Network devices using DPDK-compatible driver
============================================
0000:00:08.0 '82545EM Gigabit Ethernet Controller (Copper)' drv=igb_uio unused=e1000
0000:00:09.0 '82545EM Gigabit Ethernet Controller (Copper)' drv=igb_uio unused=e1000
0000:00:0a.0 '82545EM Gigabit Ethernet Controller (Copper)' drv=igb_uio unused=e1000

Network devices using kernel driver
===================================
0000:00:11.0 '82545EM Gigabit Ethernet Controller (Copper)' if=enp0s17 drv=e1000 unused=igb_uio *Active*

Other network devices
=====================
<none>

 

 

============================================================
Core and Socket Information (as reported by '/proc/cpuinfo')
============================================================

cores =  [0, 1, 2, 3]
sockets =  [0]

      Socket 0      
      --------      
Core 0 [0]           
Core 1 [1]           
Core 2 [2]           
Core 3 [3]     

Edited by TriplePenetration

Share this post


Link to post
Share on other sites

Ошибок ровно три:

1. ник

2. это форум провайдеров и хайлоад нгинха тут никому не интересен

3. это форум провайдеров и в таких тонких материях тут полтора человека разбирается

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.