Re: How multithreaded is networking in FreeBSD 15.1?

David Christensen <[email protected]>
Newsgroups gmane.os.freebsd.questions
Message-ID <[email protected]>
On 8/17/26 23:28, Андрей Герасимов wrote:
> For a high-load router, you need to consider the network card.
> 
> For 1G-10G, Intel performs well, while Mellanox performs well for 40G and
> higher. The main thing is that the network card supports RSS (distributing
> interrupts from the network card across processor cores) and the FreeBSD
> driver is able to handle it.
> 
> Next, select a processor. The higher the clock speed of each core, the
> better. Hyperthreading should be disabled. For example, the Intel 82599EB
> has 2 ports, each port using 8 interrupts. For maximum performance, you
> need to dedicate 8 processor cores to each network card port. To maximize
> the use of both ports, you need a processor with 18 cores (Xeon Gold 6150).
> Reserve 1-2 cores for the OS itself, IPFW, NAT, etc. If only one network
> card port will be used, 10 cores are fine. You can use a dual-processor
> server with simpler processors, but it's more difficult to distribute
> interrupts across the processor cores, and performance will be slightly
> worse than with a single processor.
> 
> Choose memory based on the processor's requirements and the required
> capacity.
> 
> Properly configured IPfw and NAT work under heavy loads without problems.
> LACP also offers no performance issues, as long as you use an even number
> of ports. Three ports will work, but not at full capacity.


Thank you for the information.  :-)


The OP has provided little information about their project, so it is 
difficult to make recommendations.


David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.