Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Apr 2019 23:01:42 +0800
From:      Kris von Mach <mach@swishmail.com>
To:        freebsd-stable@freebsd.org
Subject:   em performs worse than igb (latency wise) in 12?
Message-ID:  <b910baa6-6428-67fa-5df4-49b777e770d1@swishmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

I've upgraded from Stable 11 to Stable 12, and noticed that igb has been =

removed and is now part of em driver. However, the performance seems a=20
lot worse. This is using HP 366FLR which is just HP's version of Intel=20
i350 I believe.

I've tried incorporating the sysctl settings I used in 11 into 12:

dev.igb.0.fc=3D0
dev.igb.0.iflib.rx_budget=3D65535
hw.igb.rx_process_limit=3D"-1"
hw.igb.num_queues=3D"2"
hw.igb.rxd=3D"2048"=C2=A0 # (default 1024)
hw.igb.txd=3D"2048"=C2=A0 # (default 1024)
hw.igb.max_interrupt_rate=3D"32000" # (default 8000)

hw.em.rx_process_limit=3D"-1"
hw.em.num_queues=3D"2"
hw.em.rxd=3D"2048"=C2=A0 # (default 1024)
hw.em.txd=3D"2048"=C2=A0 # (default 1024)
hw.em.max_interrupt_rate=3D"32000"

But that didn't seem to help.

Switching back to 11, of course restored the performance.

The performance hit I'm talking about seems to be with latency, not=20
throughput.

To give you an example, this server is serving a website that is=20
monitored from different locations and all locations the latency has=20
increased by about 30-50% using stable 12.

Any ideas as to how to improve latency in 12? Can you compile igb driver =

in 12? Has something else other than the network driver changed in 12=20
that could cause an increase in latency?







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b910baa6-6428-67fa-5df4-49b777e770d1>