Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have noticed both broadcom and Intel NICs allow you tune the number of transmit and receive buffers (A Higher number of buffers will cause more memory usage).

How do these buffers work:

  • What is their size?
  • What is the relation of buffers to TCP or Ethernet sessions if there is one? (i.e. 1 buffer per session or a pool of buffers?)
share|improve this question

Well, there is some advice on network card buffers that indicates more is better, generally:

Set the receive buffers on the Network Interface Card on the Web server to a maximum. This reduces the number of dropped packets and reduces TCP retransmissions. You can set this parameter by going to Start | Settings | Control Panel | Network and Dial Up Connections. Select the active LAN Connection typically called Local Area Connection. Right click to select Properties. Click on the Configure button next to the Network Interface Card. Set the receive buffers to the maximum value 1024.


You may be wondering about the trade-offs in doing the above. The trade-off is that the operating system will need to allocate more memory for NIC receive buffers and user ports.

share|improve this answer
Intel goes through recommended optimizations at as well. But I am interested in how these actually interact with the OS and TCP/IP stack.… Gives a lot of insight in to what some of those are. – Kyle Brandt Feb 26 '11 at 22:03

The RX and TX buffers generally equate to one Ethernet frame. If you've configured the RX buffer count to 512, then the driver will set aside enough buffers to handle 512 Ethernet frames. The amount of memory will vary slightly as different NICs uses different buffer descriptor data structures, but in general you should multiply the buffer size by the MTU to estimate the amount of memory required.


share|improve this answer

If you have code access, there is also the SO_RCVBUF option that is useful, especially on Windows.

Btw, someone knows what is the relation of the RX buffers from the NIC versus the SO_RCVBUF option ? (WskControlSocket/getsockopt)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.