From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vb0-x22d.google.com (mail-vb0-x22d.google.com [IPv6:2607:f8b0:400c:c02::22d]) by dpdk.org (Postfix) with ESMTP id 144A5592C for ; Fri, 4 Oct 2013 13:46:18 +0200 (CEST) Received: by mail-vb0-f45.google.com with SMTP id e15so2165034vbg.4 for ; Fri, 04 Oct 2013 04:47:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=CkVsjLyXtVvH3LsA/WuuYPA7IiAE/RHSptCOJRG83BE=; b=nmFanmeQ/SatsU61reWhFX3xECDLb4vx65BEwAN5Blg3pFwni0lY/3suJ0J+BNalgU +Cc+kROSYyclkwlg+gxS2nRrFwQjx6OcFN0319pXKDTlcTLLYAQ6kTnljN3dom3dfXdG QxaM0qU3q62YIFYy5Nvu5maaKpZm1J7bFeCNZ0DpYoarHfMhZd8WJIZi/18N80Gq9Zuk Hn1+jlLEjOu32BSgp14yYE+hGWihFqo58ftTVAQxAU2QzVRDQAkmRo1Th188ObH/D1sE ymkSBpzB72Wbdui+9b672rswFWvQk10vY8s1r3sPb3kRh+7FU4BzLmWqLvuZx5bLsU0G LxKg== MIME-Version: 1.0 X-Received: by 10.220.145.132 with SMTP id d4mr12065412vcv.9.1380887222112; Fri, 04 Oct 2013 04:47:02 -0700 (PDT) Sender: walter.dedonato@gmail.com Received: by 10.52.96.231 with HTTP; Fri, 4 Oct 2013 04:47:02 -0700 (PDT) Date: Fri, 4 Oct 2013 13:47:02 +0200 X-Google-Sender-Auth: 3Evw40R7wqO_OrhkzKCaFkUKf3o Message-ID: From: Walter de Donato To: dev@dpdk.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Multi-process on the same host X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2013 11:46:19 -0000 Hello, I've been using DPDK for a while and now I encountered the following issue: when I try to run two primary processes on the same host (with --no-shconf option enabled) respectively sending packets on one port and receiving them on a different port (the two ports are directly connected with a CAT-6 cable), I get this error on the receiving process: Program received signal SIGSEGV, Segmentation fault. 0x00000000004158a0 in rte_eth_rx_burst (port_id=0 '\000', queue_id=0, rx_pkts=0x7ffff5baa8f0, nb_pkts=128) at /home/devel/dpdk/build/include/rte_ethdev.h:1658 1658 return (*dev->rx_pkt_burst)(dev->data->rx_queues[queue_id], rx_pkts, nb_pkts); To give some more details: - the options given to the two processes: ./receiver -c 0x3 -n 2 -m 200 --no-shconf -- -p 0x1 ./sender -c 0xc -n 2 -m 200 --no-shconf -- -p 0x2 where the -p option is the binary mask to select the ports to enable. - the network card is a dualport Intel X540: port 0: Intel Corporation Ethernet Controller 10 Gigabit X540-AT2 (rev 01) port 1: Intel Corporation Ethernet Controller 10 Gigabit X540-AT2 (rev 01) - this is the hugeadm --pool-list output: Size Minimum Current Maximum Default 1073741824 2 2 2 * My first question is: should it be possible to let separate primary processes coexist if they use different resources (cores, ports, memory pools)? A second question is: there is any other workaround to let this scenario work without merging the two processes into two lcores of the same process? Thanks in advance, -Walter Walter de Donato, Ph.D. PostDoc @ Department of Electrical Engineering and Information Technologies University of Napoli Federico II Via Claudio 21 -- 80125 Napoli (Italy) Phone: +39 081 76 83821 - Fax: +39 081 76 83816 Email: walter.dedonato@unina.it WWW: http://wpage.unina.it/walter.dedonato