On Fri, Jan 15, 2021 at 03:03:26PM +0000, Samuel Verschelde wrote: > Hi list, > > Another "popular" thread on XCP-ng forum [1], started in october 2020, > allowed us to detect that patch 12 from the XSA-332 advisory [2] had a very > significant impact on network performance in the case of pfSense VMs. > > We reproduced the issue internally (well, we reproduced "something". The > user setups in this thread are diverse) and our findings seem to confirm > what the users reported. Running iperf3 from the pfSense VM to a debian VM > gives results around 5 times slower than before. Reverting this single patch > brings the performance back. On the debian to pfSense direction, the drop is > about 25%.
pfSense is based on FreeBSD, so I would bet that whatever performance degradation you are seeing would also happen with plain FreeBSD. I would assume netfront in FreeBSD is triggering the ratelimit on Linux, and hence it gets throttled. Do you think you have the bandwidth to look into the FreeBSD side and try to provide a fix? I'm happy to review and commit in upstream FreeBSD, but would be nice to have someone else also in the loop as ATM I'm the only one doing FreeBSD/Xen development AFAIK. Thanks, Roger.