Weird CPU useage

Started by heyheyheyhey, November 04, 2021, 01:50:54 PM

Previous topic - Next topic
Quote from: johndchch on November 10, 2021, 05:17:39 PM
Quote from: AdSchellevis on November 10, 2021, 10:43:09 AM
For future setups if possible I would prefer an Intel x700 series card (ixl) as these have been proven to be stable in our experience.

given I can buy x520-da2 or x540-t2 for about us$70, wheras an x710-t2 is about us$600 I don't think this is a viable 'fix'

anyone running the 22.x beta able to confirm if the issue is present on freebsd13? ( update - just saw your comment on github that it is indeed better on 22/freebsd13 - sounds like that is a the proper 'fix' )

I've ran into this on 22.1RC1 ( https://forum.opnsense.org/index.php?topic=26478.0 ) and it is indeed still an issue...

As a temporary workaround, you can always remove the -v from https://github.com/opnsense/core/blob/161d24650b6020393b57238c0a0d4e40110dc6d3/src/etc/inc/interfaces.lib.inc#L213 (will break some lag features on our end, but if you don't use them it shouldn't matter that much)

The intel x500 series so far seems to be the only card with locking issues when extracting detailed interface characteristics.
Ideally someone would dig into the driver code and try to fix the issue, it's not very hard to replicate on a stock FreeBSD 12/13 system as far as I know.

Best regards,

Ad

I totally forgot that I already made a workaround which we hoped wouldn't be needed in FreeBSD 13 (https://github.com/opnsense/src/commit/1382f0f64310790e0df67f4cd42d1662104a7043)

Fact remains that the upstream driver is broken and a proper fix would be practical as future driver updates might break setups, and as we don't use these cards ourselves it's not always guaranteed we will spend a lot of time tracking issues like this.

Best regards,

Ad