From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f175.google.com (mail-pf0-f175.google.com [209.85.192.175]) by dpdk.org (Postfix) with ESMTP id 15DB8532D for ; Fri, 28 Oct 2016 18:25:13 +0200 (CEST) Received: by mail-pf0-f175.google.com with SMTP id s8so39724242pfj.2 for ; Fri, 28 Oct 2016 09:25:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=K1x5tvqo2SQSXgYmJIjNY2WtkB+5pUZj5pbk8uHemvU=; b=rbe1PhzyNgKuBJW0AJ6++jpaaKFok9Qy0Rw+XwboDZsQ4tQ94mSFODPSp8f0k4MjMn mtxZk9q1D9vAgSaAJ5ewiLtlSAW9KEj5xfmyCE8MeAXb0BuhsMRTGc5nC5+IJAz5OP4e AwkbZV+Ic0q/hdmt3CWsn+3GDkNLYuqWxO6fOD4C5LSYgXP2yQLcES5IKw0ecrDBv586 E29XStuRcqEtuEY20vKrCdgUu4G1ShsVEDFtK9RJ+I03KXlouWcub95pFCM4vIX8DVR3 bi4PYDuG9BLKhA5r10yP+THaFd/apVzZ7czjUU/1twX0bYeRzJlvzpfsxKYoh3KJLPqc 1bxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=K1x5tvqo2SQSXgYmJIjNY2WtkB+5pUZj5pbk8uHemvU=; b=gtsV8aelyp+nEK/Gap+GvlAZ2RhHxbNzKx+STnG8VOs9OhYd+xaRezZ7L66oJqibq0 TdYPy4UDfrNHoitFoSIqq4Ywp2hHuM3lZYLKjRG8aLgEBpHjb3An+zKKT5TdsZFvPs+6 t0vD2TMnFong0U/7/N3hyRqlFuMOazQPePpyNJy37qmAVmFjVRLVAt+i0X3jed1nS8mT YGw6ob4AepLaIlRPove9JEzvgXYMuFBIPDwo0xUEQRF5degpk67WQZpkei9LCA+kaL44 QK23r8juokWdY3WtPKdcs2K/ULtzYPhmchhY/GBXDbggn9GrXaQqNW3o5kNxfY84QpUb 9r1A== X-Gm-Message-State: ABUngvcPPxy5KMsUOttaPmlBYhevyvhNARg8KwQuZ7aAhNJjl2SAdHbXtV3zMAi6aZWoSg== X-Received: by 10.98.57.84 with SMTP id g81mr25983201pfa.115.1477671912374; Fri, 28 Oct 2016 09:25:12 -0700 (PDT) Received: from xeon-e3 (static-50-53-69-251.bvtn.or.frontiernet.net. [50.53.69.251]) by smtp.gmail.com with ESMTPSA id m69sm4568812pfg.39.2016.10.28.09.25.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 28 Oct 2016 09:25:12 -0700 (PDT) Date: Fri, 28 Oct 2016 09:25:25 -0700 From: Stephen Hemminger To: Ferruh Yigit Message-ID: <20161028092525.696652d4@xeon-e3> In-Reply-To: <8c7f9d25-b042-6b7e-b197-7873ea7425ef@intel.com> References: <8c7f9d25-b042-6b7e-b197-7873ea7425ef@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: DPDK Subject: Re: [dpdk-dev] KNI discussion in userspace event 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, 28 Oct 2016 16:25:13 -0000 On Fri, 28 Oct 2016 15:31:50 +0100 Ferruh Yigit wrote: > Discussed alternatives were: > * Tun/Tap > This won't be as fast as KNI and performance is an issue. That is a myth. Both require the some number of copies. TUN/TAP copies is a syscall and KNI copies is a kthread. Actually, the KNI method is worse because it has kernel thread always running chewing a CPU. I.e it is pure poll mode.