DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] error running two instances of pktgen
@ 2018-06-28  1:56 Stefano Salsano
  2018-06-28  7:05 ` Muhammad Zain-ul-Abideen
  0 siblings, 1 reply; 10+ messages in thread
From: Stefano Salsano @ 2018-06-28  1:56 UTC (permalink / raw)
  To: users

Hi,

we are trying to run two instances of pktgen-dpdk on the same host, each 
one working on one network interface

we use the following commands to run pktgen:

sudo -E ./app/x86_64-native-linuxapp-gcc/pktgen -l 0-4 -n 3 
--file-prefix pg1 -b 06:00.1 -- -P -m "1.0"

sudo -E ./app/x86_64-native-linuxapp-gcc/pktgen -l 5-8 -n 3 
--file-prefix pg0 -b 06:00.0 -- -P -m "1.0"

each one is working separately, but if we run the second one when the 
first one is running (or vice-versa), we receive this error :

     Create: Default TX  0:0  - Memory used (MBUFs 16384 x (size 2176 + 
Hdr 128)) + 192 =  36865 KB, headroom 128
!PANIC!: Cannot create mbuf pool (Default TX  0:0) port 0, queue 0, 
nb_mbufs 16384, socket_id 0: No such file or directory
PANIC in pktgen_mbuf_pool_create():
Cannot create mbuf pool (Default TX  0:0) port 0, queue 0, nb_mbufs 
16384, socket_id 0: No such file or directory6: 
[./app/x86_64-native-linuxapp-gcc/pktgen(_start+0x29) [0x466139]]
5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) 
[0x7fb458c89830]]
4: [./app/x86_64-native-linuxapp-gcc/pktgen(main+0x598) [0x460388]]
3: [./app/x86_64-native-linuxapp-gcc/pktgen(pktgen_config_ports+0x18ad) 
[0x491aed]]
2: [./app/x86_64-native-linuxapp-gcc/pktgen(__rte_panic+0xc3) [0x45769b]]
1: [./app/x86_64-native-linuxapp-gcc/pktgen(rte_dump_stack+0x2b) [0x50aadb]]

we are using
-- Pktgen Ver: 3.5.1 (DPDK 18.08.0-rc0)  Powered by DPDK
** Version: DPDK 18.08.0-rc0, Command Line Interface with timers

are we doing something wrong?

Stefano

-- 
*******************************************************************
Stefano Salsano
Professore Associato
Dipartimento Ingegneria Elettronica
Universita' di Roma Tor Vergata
Viale Politecnico, 1 - 00133 Roma - ITALY

http://netgroup.uniroma2.it/Stefano_Salsano/

E-mail  : stefano.salsano@uniroma2.it
Cell.   : +39 320 4307310
Office  : (Tel.) +39 06 72597770 (Fax.) +39 06 72597435
*******************************************************************

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-06-28 12:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-28  1:56 [dpdk-users] error running two instances of pktgen Stefano Salsano
2018-06-28  7:05 ` Muhammad Zain-ul-Abideen
2018-06-28  7:23   ` Stefano Salsano
2018-06-28  7:33     ` Muhammad Zain-ul-Abideen
2018-06-28  8:12       ` Stefano Salsano
2018-06-28  8:32         ` Muhammad Zain-ul-Abideen
2018-06-28  8:53           ` Stefano Salsano
2018-06-28 12:49             ` Wiles, Keith
2018-06-28 12:57             ` Wiles, Keith
2018-06-28  8:33         ` Muhammad Zain-ul-Abideen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).