networkperformancetuning

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
networkperformancetuning [2018/03/13 05:54] – wiki markup MarkLinimonnetworkperformancetuning [2018/11/16 08:31] (current) – OlivierCochardLabbé
Line 20: Line 20:
   * net.inet.flowtable.nmbflows   * net.inet.flowtable.nmbflows
 ==== Router ==== ==== Router ====
-This section describes how to reach 10G performance from your server+This section describes how to reach 10G performance from your server. 
 + 
 +**This section is old** you should read the latest [[https://people.freebsd.org/~olivier/talks/2018_AsiaBSDCon_Tuning_FreeBSD_for_routing_and_firewalling-Paper.pdf|Tuning FreeBSD for routing and firewalling (AsiaBSD 2018)]] for more up-to-date data on a %%FreeBSD%% 11.1 
 === Hardware === === Hardware ===
 First, you need good NIC(s) capable of: First, you need good NIC(s) capable of:
Line 63: Line 66:
   * kern.random.sys.harvest.point_to_point=0   * kern.random.sys.harvest.point_to_point=0
   * kern.random.sys.harvest.interrupt=0   * kern.random.sys.harvest.interrupt=0
-Entropy harvest is collecting first 2 bytes of each frame, and doing this under single mutex :-(+Entropy harvest is collecting first 2 bytes of each frame, and doing this under single mutex ([[https://svnweb.freebsd.org/changeset/base/334450|fixed in r334450]])
 Some benchs about this impact here [[http://blog.cochard.me/2015/09/receipt-for-building-10mpps-freebsd.html|Receipt for building a 10Mpps FreeBSD based router]]. Some benchs about this impact here [[http://blog.cochard.me/2015/09/receipt-for-building-10mpps-freebsd.html|Receipt for building a 10Mpps FreeBSD based router]].
  
Line 138: Line 141:
   * Quagga. Famous cisco-like daemon.   * Quagga. Famous cisco-like daemon.
   * bird. Juniper-like configs, multiple kernel tables, ability to filter kernel routes   * bird. Juniper-like configs, multiple kernel tables, ability to filter kernel routes
 +
 +----
 +
 +{{tag>Project}}
  
  • networkperformancetuning.1520920472.txt.gz
  • Last modified: 2018/03/13 05:54
  • by MarkLinimon