From owner-freebsd-net@freebsd.org Wed Mar 14 20:41:08 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 51DBBF43F76 for ; Wed, 14 Mar 2018 20:41:08 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-qt0-x22a.google.com (mail-qt0-x22a.google.com [IPv6:2607:f8b0:400d:c0d::22a]) (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 E25C075B13 for ; Wed, 14 Mar 2018 20:41:07 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-qt0-x22a.google.com with SMTP id z14so4982700qti.2 for ; Wed, 14 Mar 2018 13:41:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=AwaNRWn3DhtRDkPiXrQ7WVR63b8H39PlK0thPqFFxmM=; b=j2t/SykK7MAwPmlNUd/z0P62bLxLnQO2g1fQBs5hPrvYWKAo3bQszEEQSxGhN1ayJw Ul4783kj31fjKhN6Q8WUhjGw3EfhSbr53GUGA7q8eYAZVnwpO1ITGFSPniknOIYzJ+PL s0cZPDPo9ibHslMUQ4efGlk03HvwLTkankzzbsSV+5Rktl5XWsWAbH/tdnudxsf9TjvX L+ss/6LsryblGY1hTpaxj2TD5E4zfiEu9UnDs8bgHO5vnZ7eCVLSeBEeYxt9OyVbfYxe qU3EBSotsFWO7DHUkaanE9Rv+bj5UJQx8GoF4uKgzLy6qtOEz7k4gVfl7cS02ab3HeLd Wpyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=AwaNRWn3DhtRDkPiXrQ7WVR63b8H39PlK0thPqFFxmM=; b=DhNJa+Y2ij1mx+HGuuq7C7lyhn2ov3lkRyr/+WPbfgWurmNUZoPtt5jx8YMMgro9Kp IDJskrTUHs5XtVWhy8OANOpHXCZhnzpUwXYf21hi72SUXZlz/LojcQFKOE/W4B/sJNK5 /zPtv+jR4s44Q8E89CLJxRwgNZFLrBTfWkVzqGEDZ7cWK0XeLW6mKdTZqCmTsdXjNDfN q0XQi3GQdJLkjhTa7tNLQwoLIYaeCd3NEOIcPnRINqhzpCfZeeNn7eYoGqhj5CY1NvA9 pSe+MJehsxv8AUdKP0gzWJIQxPDhOmYjdJ92YnWGj+aaHvP/uC61dbQM1YWPOnFHxyvG Z3qg== X-Gm-Message-State: AElRT7Hta1PagQvCiHiKfG1yMg1kuw+B2LzQTuWtqcEsaOA5MQ8D5O2Z H3f8a8VFP0sCuqG5RqCAouYb+FE5QZapaHb3NqM= X-Google-Smtp-Source: AG47ELtOBilvP1cZYF0ESGBvEBFNw0+dLrNz4owejsVYdZX2ikd512ebHPWZRXO8rnmp212P2I3JKKGBPxdVw0sRrr0= X-Received: by 10.200.41.18 with SMTP id y18mr9459406qty.181.1521060067302; Wed, 14 Mar 2018 13:41:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.195.204 with HTTP; Wed, 14 Mar 2018 13:41:06 -0700 (PDT) In-Reply-To: <5AA97F0B.8060808@cox.net> References: <5AA97F0B.8060808@cox.net> From: Vincenzo Maffione Date: Wed, 14 Mar 2018 21:41:06 +0100 Message-ID: Subject: Re: netmap memory config query To: Joe Buehler Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2018 20:41:08 -0000 Hi, The parameter to increase is "ring_size". FreeBSD or Linux does not matter (except for how you modify the parameter, i.e. sysctl on FreeBSD and sysfs in Linux). Cheers, Vincenzo 2018-03-14 20:59 GMT+01:00 Joe Buehler : > When I increase the ixgbevf rx ring size from 1024 to 4096 I get this: > > [ 5526.651780] 851.135009 [ 931] netmap_obj_malloc netmap_ring > request size 65792 too large > [ 5526.652779] 851.136008 [1802] netmap_mem2_rings_create Cannot allocate > RX_ring > > What netmap module parameters do I need to tweak to get past this? > > I am using LINUX should it matter. > > Joe Buehler > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > -- Vincenzo Maffione