This is an old revision of the document!
Limelight Networks ixgbe(4) tuning
- hw.ix.tx_process_limit: 256 (512?)
- hw.ix.rx_process_limit: 256 (512?)
- hw.ix.rxd: 2048 (4096?) - In the past we've found 2048 gives the best perf, but with different cards
- hw.ix.txd: 2048 (4096?)
- net.inet.tcp.tso=0
- kern.sched.slice=12
- hw.ix.enable_aim: 1
- dev.ix.0.fc=3
- hw.ix.num_queues=6 (4/5?)
- kern.random.sys.harvest.ethernet=1
- kern.random.sys.harvest.point_to_point=1
- kern.random.sys.harvest.interrupt=1
- kern.ipc.maxsockbuf=524288 (16777216?) - This is tuned for multiple 1Gs, I don't see us hitting a limit, but we may need to increase in the future.
netperf can be used here to easily see throughput, and netstat -I ix0 -hw 1 will show us a running pps.
The processing limit, harvests, and TSO/LRO settings are ones that could ease CPU usage, though we are very light on inbound so TSO is likely more of a possibility. The rest are performance related.
- kern.random.sys.harvest.ethernet=0
- kern.random.sys.harvest.point_to_point=0
- kern.random.sys.harvest.interrupt=0