From owner-freebsd-stable@freebsd.org Thu May 19 12:45:38 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 374F6B4068B for ; Thu, 19 May 2016 12:45:38 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F38C41C7D for ; Thu, 19 May 2016 12:45:37 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1b3NKU-000HjU-49 for freebsd-stable@freebsd.org; Thu, 19 May 2016 15:45:30 +0300 Date: Thu, 19 May 2016 15:45:30 +0300 From: Slawa Olhovchenkov To: freebsd-stable@freebsd.org Subject: NETMAP resource usage question Message-ID: <20160519124530.GC39874@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2016 12:45:38 -0000 How can I calculate the necessary resources for NATMAP? I am talk about next resources: dev.netmap.buf_num dev.netmap.ring_num dev.netmap.ring_size dev.netmap.if_num dev.netmap.if_size For example for case of ix0 6+6 rings, 2048+2048 slots, 20 additional pipes igb0 6+6 rings, 1024+1024 slots, 4 additional pipes open 6 netmap's to ix0, 1+1 rings each open 6 netmap's to igb0, 1+1 rings each open 20 pipes over ix0 open 4 pipes over igb0 What's total number of resources I am planed to use?