On 01/11/17 13:34, Olivier Cochard-Labbé wrote:
> 
> On Wed, Jan 11, 2017 at 9:13 PM, Matthew Macy <mm...@nextbsd.org
> <mailto:mm...@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 ?


Olivier:

Matt has come up with some changes that seem to resolve a number of
degenerate cases that I saw in my testing after dissecting your test
case.  In your spare time, can you try applying and testing the linked
patch here to see if your results match my results?

https://people.freebsd.org/~sbruno/iflib/iflib_update.diff

sean

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to