Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2017 12:37:01 -0800
From:      Matthew Macy <mmacy@nextbsd.org>
To:        =?UTF-8?Q?=22Olivier_Cochard-Labb=C3=A9=22?= <olivier@freebsd.org>
Cc:        "Sean Bruno" <sbruno@freebsd.org>,  "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>,  "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: HEADS-UP: IFLIB implementations of sys/dev/e1000 em, lem, igb pending
Message-ID:  <1598f3f8588.d20017893749.339651164872952258@nextbsd.org>
In-Reply-To: <CA%2Bq%2BTcpUXXPEQtdMFup6EZzyCKs9Ep%2BnS5SB%2Bfm6bSJSDs34_w@mail.gmail.com>
References:  <30f21c75-d3a2-edcd-1999-d5ed9f970c06@freebsd.org> <b000a957-8d17-a04d-6275-0d3920aa8a17@freebsd.org> <CA%2Bq%2BTcramTrYgYT-s%2B=aBZzRJV8FmKQqGt=1twPhLBR7AoXkcQ@mail.gmail.com> <1598d97bf2a.c6bcb76838987.6501340920645175463@nextbsd.org> <574a7ac7-4842-9518-8286-a4d89a9f7a27@freebsd.org> <CA%2Bq%2BTco-dcoU8EZnDEzgoK-v2Q2=U5GF6ASMSj0kwzd_wB5xig@mail.gmail.com> <6c6cb534-73c7-464b-8af1-7445a9c0188c@freebsd.org> <1598f29d379.ea6360351471.8752933472741761813@nextbsd.org> <CA%2Bq%2BTcpUXXPEQtdMFup6EZzyCKs9Ep%2BnS5SB%2Bfm6bSJSDs34_w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

You can still explicitly set the number of descriptors. It is now reported under the dev sysctl tree. dev.<device>.<unit>.<value>

-M


 ---- On Wed, 11 Jan 2017 12:34:23 -0800 Olivier Cochard-Labbé <olivier@freebsd.org> wrote ---- 
 > 
 > On Wed, Jan 11, 2017 at 9:13 PM, Matthew Macy <mmacy@nextbsd.org> wrote:
 > 
 >   > Hmmm ... did your old tests do 4 or 8 queues on this hardware?
 >   >
 >   > Did the old tests run 1024 tx/rx slots or the max 4096?
 >  
 >  That's a great point, only having one thread per core could easily account for this. I'm hoping Sean can make txq != rxq work so that you can have 8txqs and 4 rxqs.
 >  
 > 
 > ​The netgate RCC-VE 4860 is a 4 cores atom C2558E, and I'm using 2 of the 4 Gigabit Intel i350 ports.
 > Lab detail:
 > https://bsdrp.net/documentation/examples/forwarding_performance_lab_of_a_netgate_rcc-ve_4860
 > 
 > My tunning are (same for both test):
 > hw.igb.rxd="2048" (it should be useless now)
 > hw.igb.txd="2048" (it should be useless now)
 > hw.em.rxd="2048"
 > hw.em.txd="2048"
 > hw.igb.rx_process_limit="-1" (It should be useless now too)
 > hw.em.rx_process_limit="-1"
 > 
 > dev.igb.2.fc=0
 > dev.igb.3.fc=0
 > 
 > I can generate profiling data for you: what kind of data do you want ?
 >  





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1598f3f8588.d20017893749.339651164872952258>