From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ie0-f176.google.com (mail-ie0-f176.google.com [209.85.223.176]) by dpdk.org (Postfix) with ESMTP id A09331FE for ; Sun, 20 Jul 2014 20:02:45 +0200 (CEST) Received: by mail-ie0-f176.google.com with SMTP id tr6so6203043ieb.35 for ; Sun, 20 Jul 2014 11:03:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=vklzZfcheK8WlUu6Y6MeecB5KxOHKOEUFrt+zQDKWJk=; b=ptk7Jztu0LPnjSvwy+Xx4vdl+oIQ/QKXG5hO4CVtvze3Gw/X69PsNxfLeTCVatvv6n 3oKgRj2gi6VF/ZZOCOtaBt+/3wIrdrVs91GA3IGNEZz64QlOFd78VUtRTlODC+cyjmVV TI85gui96jAaBHBX42XGbSjcVHu8mGVAAmSR+sK6fTCwL8eIwgyfInhp4/E3gxQ8e9QE ZSq9sl2ajD+k5uG05vMAzgM634NL+2sS1+lqo89pcj01ziaccA8y5M01sn7F9cIRiaLz 6qD30WAWiNDPu/8SHorvv5oBUYu6LM1x27rYHVjjXjf4knx2+iu6CYC77UDqMjGJ3xiF LeRA== X-Received: by 10.42.49.196 with SMTP id x4mr5996966icf.85.1405879435142; Sun, 20 Jul 2014 11:03:55 -0700 (PDT) MIME-Version: 1.0 Sender: kay21s@gmail.com Received: by 10.64.206.166 with HTTP; Sun, 20 Jul 2014 11:03:35 -0700 (PDT) From: Kai Zhang Date: Sun, 20 Jul 2014 14:03:35 -0400 X-Google-Sender-Auth: mb923_jxvrR9gCzJX8tiyPjAPj4 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Running independent processes on the same machine 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: Sun, 20 Jul 2014 18:02:46 -0000 Hello, I have been trying to measure the round trip latency with two machines, A->B->A. I modified l2fwd as two new apps: rx and tx, where tx sends packets and embeds time stamp, rx receives packets and calculate the round trip latency. The source code are as follows: https://github.com/kay21s/dpdk/tree/master/examples/rx https://github.com/kay21s/dpdk/tree/master/examples/tx Both of rx and tx run correctly if only one app is running. However, when I am trying to run rx and tx simultaneously on machine A, rx cannot receive any packets. The commands I used are sudo ./build/tx -c 0x2 -n 1 --file-prefix p2 -m 64 -- -q 1 -p 1 sudo ./build/rx -c 0x1 -n 1 --file-prefix p1 -m 64 -- -q 1 -p 1 Thanks for your help, Kai