From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f175.google.com (mail-qt0-f175.google.com [209.85.216.175]) by dpdk.org (Postfix) with ESMTP id AE645DE5 for ; Tue, 17 Jan 2017 09:28:02 +0100 (CET) Received: by mail-qt0-f175.google.com with SMTP id x49so143673207qtc.2 for ; Tue, 17 Jan 2017 00:28:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:from:date:message-id:subject:to; bh=3OsnRcptfuvXyVUiskks7cSVah64/viT6kk4sJybLwU=; b=hWRAdYiDECKIPHBnw2Z3Ou4uLkZRBhu9QZU/86mtWyew0nsJEYsNsOH6BQf66IhtFP O3YmuIj2mxPISG58/4pKmCKg0E54IpBiObEYnQecjKud8/ClxYAEYHKENpPYEWJZ1o51 1DMTbP3mOJvThctj92zVu5P1/pzNEhqw+Jtszj2XPjiNW9T/zbrp3EJXdpMxjhCxpgKn qEaoBMPWEdX8b2D/x1JiHRsvQbI3CTO1p/40pahm5qkvA5gJxNI12RflKAPlhFlRSeGE AgnkbPqNhm7tRhtF7Jz1mMxvUMqN+buGajhUXt0I2cGGVoF6bIC7bDXNhXlhpaDhnjJG Z7tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=3OsnRcptfuvXyVUiskks7cSVah64/viT6kk4sJybLwU=; b=fR3lklrIIGfE5gCnjcxzX+agQvdoJf8QriqpolWPScrUQZXRq+LHkqr7CwftXRaqLQ gIWDtaQDKgC+JToTqkY7C6snvhAKyaubPfzR0CQ+3cPzXrHSlHA7DFrMPfEPH8ooOe4h 9wFUnYRXVKD+vPqjS9AaVmaIQxQTBZIe4Xqo+9mdl9gifUc8h8qdoS4/PR49lIEnTSIB nWGvQ4JRfwwQqKs+okfD7wsllBwCFmA584iexEIaqfPd6Wcq/ZBVHYdjNouHYBfwJAfw fiP4KM8fRYBVnzzOpSKy97DKRA0b9Qj6TfzSBpBXQPQnszyI/H35ooCILK0JkHc07Igg V8bA== X-Gm-Message-State: AIkVDXL/Nff4BQKHl+Ak4pVNPwa4wX9RCweVDaHxZeA5DVVp1ZTv7bfRNdIPfiQR06HiG2d35VoyCYrq7Gk7ew== X-Received: by 10.55.94.6 with SMTP id s6mr22146114qkb.124.1484641681789; Tue, 17 Jan 2017 00:28:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.108.7 with HTTP; Tue, 17 Jan 2017 00:28:01 -0800 (PST) From: Marco Kwok Date: Tue, 17 Jan 2017 16:28:01 +0800 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] what is the average latency you get for io forwarding from dpdk? X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: maruko.kwok@gmail.com List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2017 08:28:02 -0000 Hello all, I wonder if anyone could get a relative low latency from dpdk on 1gb link. When using testpmd, an packet of 150 bytes is sent, packet is received by the port and loopback to the sender. I usually could get 50us for io forward. Sometime it can be as fast as 3us. However it is too slow to be used for switching application. My test platform is on a intel NUC NUC5I5RYH, which has i5 5250U 1.6GHz, 16GB DDR3 and i218-V network chip. dpdk 16.07.2 I have done the following things try to get a better latency with no luck: -setup 1G hugepages -disable cpu frequency scaling to make sure cpu runs at max speed of 2.7GHz -isolate a cpu core from kernel task scheduler by isolcpus -setting the burst size of testpmd to 1 Guys, I really want your input. I don't need high throughput but low latency. Does anyone of you have been able to achieve a lower latency with dpdk? I don't see the advantage I have taken from dpdk now. Best, Mark