Add hw.intr_storm_threshold in sysctl tunning list.
As discussed with cmb, it would be nice to add hw.intr_storm_threshold in the sysctl list in the GUI.
FreeBSD's default is probably sane for most cases, and determining the appropriate default is dependent on hardware specifics. On slower CPUs, the default is appropriate. On fast ones, it needs to be considerably more. Not worth the effort to try to write something to figure out what it should be dynamically based on the hardware. Adding it as a tunable in the sysctl list, left by default to FreeBSD's default, is probably the best option.
A too low value may result in "interrupt storm detected on irqxxxx; throttling interrupt source".