I want to increase the buffer size for network interface card to handle large concurrency. With ethtool I have set the buffer size to 4096 KB. But I want to increase more. Is that possible, and what should I do?
feedback
|
migrated from stackoverflow.com May 17 '11 at 12:56
This question came from our site for professional and enthusiast programmers.
|
The NIC ring buffer maximum size is determined by how much memory is available on the NIC. Typically you do not adjust this setting, this is very much a system administration task and an advanced one at that. 4MB is quite large for a NIC ring buffer. Intel NICs tend to cap at this amount. Broadcom NICs tend to cap at less than one quarter that amount, 1020KB. It is extremely unlikely, unless you have a 10GigE NIC, that you can go above 4096KB in the NIC's internal ring buffer. But we would need the exact model to know for sure as it is a hardware limitation. http://www.scottalanmiller.com/linux/2011/06/20/working-with-nic-ring-buffers/ | |||
|
feedback
|
