From owner-freebsd-net@freebsd.org Thu Nov 17 21:50:08 2016 Return-Path: Delivered-To: freebsd-net@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 5006EC46E96 for ; Thu, 17 Nov 2016 21:50:08 +0000 (UTC) (envelope-from dreadiscool@gmail.com) Received: from mail-qt0-x230.google.com (mail-qt0-x230.google.com [IPv6:2607:f8b0:400d:c0d::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0DE62115D for ; Thu, 17 Nov 2016 21:50:08 +0000 (UTC) (envelope-from dreadiscool@gmail.com) Received: by mail-qt0-x230.google.com with SMTP id c47so144527288qtc.2 for ; Thu, 17 Nov 2016 13:50:08 -0800 (PST) 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=hueUmd+6Q5JaNqAXdET7BlV9vLTzi4kAQNTJqVxF7IU=; b=kdTJLsN8nhK97qwo42QWjR0xUaDGCjO9RZsI/puA4mSnMZmhEFTNBQf4dgx7u5wbiD TlHweYvI+e6JdBY1C4qOpFWUG1DNwI+WC/V0hIyZarFGOIBGSOuwZHsGgBbGls9qv4Rw EhfzTQgaZzwlLmZqnUZPL2a3LbEYl34eIWE+3qBrlD0+yIA5igrbUmQqfYuEwe35wvvt stSI0k3FTzqI8xcIgaJItZf7felz/bUMXIn0qcEL+QAb0oEuJcBdfDvcOafFVKxLCGxW a3R8LZvN3IEGRFSsdANLXQIOcCKrIC+5Xo+HA56iskUmw2p8d89v7E1WyJapxw4V1SDk prKA== 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=hueUmd+6Q5JaNqAXdET7BlV9vLTzi4kAQNTJqVxF7IU=; b=QdQpFmYselH9gdyUb8EbtRzBU5HuVBbQePXt4mX76DBMCshu7S9Am74iVjygc73hbW J5hXgj+mktNtQhH+pB0rKZ5lPfqoXISCU5SN+ncIVzBFB4ikpe2Q+lyNg66asX39c/Y6 gc8Tevm6W8FCOh6J2971ieY9CqRcqHvEFOdCtvyXTG5wRk3Fb9ORy7FQ/DK+D5kLb95X Mis0Hn4YD4yMDxQdq9Yx8HelEHoZ20KBcUuwR4kzwYGyEpB8iaNLlbYn9g7qV/1pxHW1 9AnMeioqP5PON6+aQidi2xaRiQCxv8h9qg7CUzRiuyfohWM2hOhtaGKpNlyDjbOvYluU VG2A== X-Gm-Message-State: AKaTC00bqmRejPAZQjpS5wY1/zmc3qHnLtHxaxl4sUvhD3Lhm9poccHdErsCxehSD8/jZPRLuado/UbTvv459g== X-Received: by 10.237.59.6 with SMTP id p6mr4264981qte.217.1479419407066; Thu, 17 Nov 2016 13:50:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.144.144 with HTTP; Thu, 17 Nov 2016 13:50:06 -0800 (PST) From: Paras Jha Date: Thu, 17 Nov 2016 16:50:06 -0500 Message-ID: Subject: Advantages of Netmap NM_OPEN_NO_MMAP To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2016 21:50:08 -0000 Hi all, I had a quick question about some of the implications of sharing packet buffer memory between multiple interfaces. Assuming an arbitrary amount of interfaces (> 2) are linked together with NM_OPEN_NO_MMAP and share the same memory, would this have any issues with lock contention? Sorry in advance if this is the wrong place to post, I had seen several other archives about Netmap on this mailing list and I thought it was the most appropriate place. Regards