From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ig0-f181.google.com (mail-ig0-f181.google.com [209.85.213.181]) by dpdk.org (Postfix) with ESMTP id 9979A68AE for ; Wed, 23 Jul 2014 21:23:45 +0200 (CEST) Received: by mail-ig0-f181.google.com with SMTP id h3so1825371igd.2 for ; Wed, 23 Jul 2014 12:25:09 -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=dQl7IKAq2gd7kHh2Ta/kbgzTSmdNBbGBAXZ5yyG0o08=; b=btUFP77TBYAi/t6fEhXufFEyMllWygVpUrUUCjwGOE6OQ8Y8tn3D+ow9uMWuWoR43l ynPW9r3Y7Q/N+ASmmQGFkw56pz6os1z321A3ABLrvp7neQ8Q6+BZDPiIeD86Znrrw30I ho6aasF1KXhBuI3/SIxkzqvVIKDiKs759gZmYxg6HyYiwikxHMpBijiTN032wpQ0wcle 1wiOO7RqiXaVXov/c2ZPsTClHuC2wuQgZjWWRc/oOavofxxOVwT7jriT9OjP6vFRp5FI cfOLXcD2AcuR6xM4V2esGBlZGrg5n/ORx7teX7UbmRppuRIOFhkLKM8Lv7cIcdD1murK QUNg== X-Received: by 10.42.240.20 with SMTP id ky20mr5525782icb.97.1406143509810; Wed, 23 Jul 2014 12:25:09 -0700 (PDT) MIME-Version: 1.0 Sender: kay21s@gmail.com Received: by 10.64.206.166 with HTTP; Wed, 23 Jul 2014 12:24:49 -0700 (PDT) From: Kai Zhang Date: Wed, 23 Jul 2014 15:24:49 -0400 X-Google-Sender-Auth: OozDCB3K-XbfTe8O5ekNa336zfI 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] About round trip latency with DPDK 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: Wed, 23 Jul 2014 19:23:45 -0000 Hello, I am trying to develop a low-latency application, and I measured the round trip latency with DPDK. However I got an average of 650~720 microseconds round-trip latency with Intel 82599 10Gbps NIC. The experiment method is as follows. 2 machines (A and B) are connected back-to-back. Machine A embeds a time stamp in the packet and sends to B, B (use testpmd or l2fwd) forwards packets back to A immediately (A->B->A), and A receives packets and calculates time difference between current time and the embedded time stamp. (code : https://github.com/kay21s/dpdk/tree/master/examples/recv_send) I have 3 machines, and performing the above experiment on each pair leads to a similar latency. However, previous academic papers report that DPDK offers only a few 10 microseconds round trip latency. What's the round trip latency DPDK is supposed to offer? Have you measured it at Intel? Thanks a lot, Kai