User Tools

Site Tools


documentation:examples:forwarding_performance_lab_of_a_superserver_5018a-ftn4_with_10-gigabit_chelsio_t540-cr

Differences

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

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
documentation:examples:forwarding_performance_lab_of_a_superserver_5018a-ftn4_with_10-gigabit_chelsio_t540-cr [2017/09/04 09:03] – external edit 127.0.0.1documentation:examples:forwarding_performance_lab_of_a_superserver_5018a-ftn4_with_10-gigabit_chelsio_t540-cr [2019/12/16 20:47] – [Lab set-up] olivier
Line 11: Line 11:
  
 For more information about full setup of this lab: [[documentation:examples:Setting up a forwarding performance benchmark lab]] (switch configuration, etc.). For more information about full setup of this lab: [[documentation:examples:Setting up a forwarding performance benchmark lab]] (switch configuration, etc.).
- 
-BSDRP used for this bench is based on FreeBSD 11.1. 
  
 ==== Diagram ==== ==== Diagram ====
Line 62: Line 60:
 pkt-gen -i vcxl1 -f rx -w 4 pkt-gen -i vcxl1 -f rx -w 4
 </code> </code>
-===== Basic configuration ===== +===== configuration and tuning =====
- +
-==== Disabling Ethernet flow-control === +
- +
-First, disable Ethernet flow-control on both servers. Chelsio T540 are configured like this: +
-<code> +
-echo "dev.cxl.0.pause_settings=0" >> /etc/sysctl.conf +
-echo "dev.cxl.0.pause_settings=0" >> /etc/sysctl.conf +
-service sysctl reload +
-</code> +
- +
-=== Disabling LRO and TSO === +
- +
-A router [[Documentation:Technical docs:Performance|should not use LRO and TSO]]. BSDRP disable by default using a RC script (disablelrotso_enable="YES" in /etc/rc.conf.misc). +
-==== IP Configuration on DUT ====  +
- +
-Configure static routes: +
-<code> +
-sysrc static_routes="generator receiver" +
-sysrc route_generator="-net 198.18.0.0/16 198.18.8.2" +
-sysrc route_receiver="-net 198.19.0.0/16 198.19.8.2" +
-sysrc ifconfig_cxl0="inet 198.18.0.8/24 -tso4 -tso6 -lro" +
-sysrc ifconfig_cxl1="inet 198.19.0.8/24 -tso4 -tso6 -lro" +
-sysrc static_arp_pairs="HPncxl0 HPncxl1" +
-sysrc static_arp_HPncxl0="198.18.0.110 00:07:43:2e:e4:72" +
-sysrc static_arp_HPncxl1="198.19.0.110 00:07:43:2e:e4:7a" +
-</code> +
-===== Default forwarding rate ===== +
- +
-Behaviour in front of a multi-flow traffic generator at line-rate 14.8Mpps (thanks Chelsio!), pkt-gen on the receiver reports: +
- +
-<code> +
-705.046821 main_thread [2277] 3173758 pps (3176351 pkts 1524648480 bps in 1000817 usec) 19.66 avg_batch 0 min_space +
-706.048593 main_thread [2277] 3179960 pps (3185595 pkts 1529085600 bps in 1001772 usec) 19.65 avg_batch 823 min_space +
-707.050593 main_thread [2277] 3180102 pps (3186459 pkts 1529500320 bps in 1001999 usec) 19.63 avg_batch 1000 min_space +
-708.052592 main_thread [2277] 3182707 pps (3189072 pkts 1530754560 bps in 1002000 usec) 19.69 avg_batch 768 min_space +
-709.054593 main_thread [2277] 3166689 pps (3173022 pkts 1523050560 bps in 1002000 usec) 19.59 avg_batch 1001 min_space +
-710.055593 main_thread [2277] 3126576 pps (3129706 pkts 1502258880 bps in 1001001 usec) 19.33 avg_batch 999 min_space +
-711.057592 main_thread [2277] 3138706 pps (3144980 pkts 1509590400 bps in 1001999 usec) 19.41 avg_batch 768 min_space +
-712.058592 main_thread [2277] 3147761 pps (3150909 pkts 1512436320 bps in 1001000 usec) 19.47 avg_batch 768 min_space +
-713.059592 main_thread [2277] 3156042 pps (3159195 pkts 1516413600 bps in 1000999 usec) 19.51 avg_batch 768 min_space +
-714.060592 main_thread [2277] 3174469 pps (3177647 pkts 1525270560 bps in 1001001 usec) 19.58 avg_batch 768 min_space +
-715.061593 main_thread [2277] 3172119 pps (3175291 pkts 1524139680 bps in 1001000 usec) 19.60 avg_batch 1001 min_space +
-</code>+
  
-About 3.1M packets-per-seconds forwarded.+[[https://github.com/ocochard/netbenches/tree/master/Atom_C2758_8Cores-Chelsio_T540-CR/forwarding-pf-ipfw/configs|DUT configurations repository]]
  
-===== Firewall impact on forwarding rate =====+===== Results =====
  
-{{:documentation:examples:bench-lab-ss5018a-ftn4-chelsio-11-stable.png}}+{{https://raw.githubusercontent.com/ocochard/netbenches/master/Atom_C2758_8Cores-Chelsio_T540-CR/forwarding-pf-ipfw/results/fbsd12-stable.r354440.BSDRP.1.96/graph.png}}
  
documentation/examples/forwarding_performance_lab_of_a_superserver_5018a-ftn4_with_10-gigabit_chelsio_t540-cr.txt · Last modified: 2019/12/16 20:48 by olivier

Except where otherwise noted, content on this wiki is licensed under the following license: BSD 2-Clause
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki