From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f54.google.com (mail-vk0-f54.google.com [209.85.213.54]) by dpdk.org (Postfix) with ESMTP id DC8182BE9 for ; Sat, 11 Jun 2016 06:52:25 +0200 (CEST) Received: by mail-vk0-f54.google.com with SMTP id u64so11062357vkf.3 for ; Fri, 10 Jun 2016 21:52:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=7J8ieBClhWHeFKlOBiYSQwa1+QXUYEAFkYRlaO8210Y=; b=tneaS4vUd0kUfcQYZ48sJ33heU/O9GLqc6dM92jVzZLzGEUFTm4dynC2LT/dfWJtU0 SYWb1ogN2F5q6q7lachpbWCRDxIAtr/VccSpKSl/GhNlDLOwTeIol2s4R4+64W9Kr51q QDOPFPBAG0eUo6SrMY/38PmRqdy9+HEF2PoxUDcfYSCHVTScDEFk/0p88d6kE2G2fbZ2 XOb2TTK6NawNxGBNS0AYL5xaHW+Q8eDzaC9KcEy+ypi6zcmp+ri1w59HjaaJI2BF+HaC O7aeHYb/T+Lc0kZE0GgtmlTO3ZmENfB7ViusFImF8ZuEFlWHEtDyEkGF7wTB1M0pK0f2 7TxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=7J8ieBClhWHeFKlOBiYSQwa1+QXUYEAFkYRlaO8210Y=; b=U3OWGZQ572xVy3MZwWYkKp32RN647D+cRVXn4uDtYW1TCWSV8u/IJwW+zPFu/YJjKx Y59F30Ztzv5KdgHxBNxByt1QW7LDe5gqvCyhhLX8E+K1gFOX6CgOZUFPBQRPXejpvOcT RyVkRJ30Brxz9dEVM0YPZv1vr+FJ0UcqsrxEvra5I2sRCzG/fFwZw71bRoHQte9d8AUI k69/dPub2xYMGCkC6VRmQjBHaehkOGVnPzaVrb2cr4WHO6lGtuiuegGVgZzhObKrHm4z 9oBdKjx5LGJQJN2CrK7/1EUWM8UwM92BKBKlXAMMIroZ7yfCe6eCMLmIX6ZjqI3+c2vt PiYQ== X-Gm-Message-State: ALyK8tKyAQsefsN9f6uzv/fuxQfy75yDBKJ7HUVOb9HdQoi5dKVBaj3YAabgo8g3q12HPI4R0C3ZoQJU9ZQtQA== X-Received: by 10.31.189.7 with SMTP id n7mr2268988vkf.36.1465620745298; Fri, 10 Jun 2016 21:52:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.37.183 with HTTP; Fri, 10 Jun 2016 21:52:24 -0700 (PDT) From: Cliff Burdick Date: Fri, 10 Jun 2016 21:52:24 -0700 Message-ID: To: users Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] KNI Very Slow X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jun 2016 04:52:26 -0000 Hi, I've been playing around with the sample KNI app, and for some reason it's extremely slow to respond to pings after the application starts. I'm starting it with: ./build/kni -c 0xf0 -n 4 -- -p 0x3 -P --config="(0,4,6),(1,5,7)" and after it starts up, I'm able to ifconfig vEth0 with an IP without issues. However, when I start to ping from another machine, it takes about 45 seconds of continuous pings before anything comes back. I added a couple printfs to the kni app after rte_kni_tx_burst is called, and after rte_kni_rx_burst. When each ping arrives, I see rte_kni_tx_burst sending the packets to Linux. However, the printf after rte_kni_rx_burst has a long period of time where nothing is coming out. Only after the 45 seconds does it reach some kind of "steady state" where the pings work continuously, and the kni tx/rx are happening immediately. Has anyone seen this behavior?