User Tools

Site Tools


documentation:examples:forwarding_performance_lab_of_a_netgate_rcc-ve_4860

Forwarding performance lab of Netgate RCC-VE 4860

Forwarding performance lab of a quad core Intel Atom C2558E (2.40GHz) with 2+4 Gigabit Intel NIC

Hardware detail

This lab will test a Netgate RCC-VE 4860 (dmesg):

  • Quad cores Intel Atom C2558 (2.40GHz)
  • 2 Gigabit Intel i211
  • 4 Gigabit Intel i350
  • 8Gb of RAM

Lab set-up

For more information about full setup of this lab: Setting up a forwarding performance benchmark lab (switch configuration, etc.).

Diagram

 +------------------------------------------+    +-----------------------+
 |            Device under Test             |    |     Packet gen        |
 |                  igb2:   198.18.0.209/24 |<===| igb2: 198.18.0.203    |
 |                           2001:2::209/64 |    |     2001:2::203/64    |
 |                     (00:08:a2:09:33:da)  |    | (00:1b:21:c4:95:7a)   |
 |                                          |    |                       |
 |                  igb3:   198.19.0.209/24 |    | igb3: 198.19.0.203    |
 |                    2001:2:0:8000::209/64 |    | 2001:2:0:8000::203/64 |
 |                     (00:08:a2:09:33:db)  |===>| (00:1b:21:c4:95:7b)   |
 |                                          |    |                       |
 |               static routes              |    |                       |
 |      198.19.0.0/16 => 198.19.0.203       |    +-----------------------+
 |      198.18.0.0/16 => 198.18.0.203       |
 | 2001:2::/49        => 2001:2::203        |
 | 2001:2:0:8000::/49 => 2001:2:0:8000::203 |
 |                                          |
 |            static arp and ndp            |
 | 198.18.0.203        => 00:1b:21:c4:95:7a |
 | 2001:2::203                              |
 |                                          |
 | 198.19.0.203        => 00:1b:21:c4:95:7b |
 | 2001:2:0:8000::203                       |
 |                                          |
 |                                          |
 +------------------------------------------+

This device use 2 kinds of Intel NIC:

  • igb0 and igb1: Intel i211 with 2 queues, should be used for admin purpose
  • igb2 to igb5: Intel i350 with 4 queues (and iPXE support) should be used for forwarding/firewalling purpose

The generator MUST generate lot's of IP flows (multiple source/destination IP addresses and/or UDP src/dst port) and minimum packet size (for generating maximum packet rate) with one of these commands:

Multiple source/destination IP addresses (don't forget to precise UDP port to use for avoiding using number 0 filtered by pf):

pkt-gen -i igb2 -f tx -n 80000000 -l 60 -d 198.19.10.1:2000-198.19.10.20 -D 00:08:a2:09:33:da -s 198.18.10.1:2000-198.18.10.100 -S 00:1b:21:c4:95:7a -w 4 -U

And the same with IPv6 flows (minimum frame size of 62 for having a correct empty UDP packet):

pkt-gen -f tx -i igb2 -n 1000000000 -l 62 -6 -d "[2001:2:0:8001::1]-[2001:2:0:8001::64]" -D 00:08:a2:09:33:da -s "[2001:2:0:1::1]-[2001:2:0:1::14]" -S 00:1b:21:c4:95:7a -w 4 -U

Receiver will use these commands:

pkt-gen -i igb3 -f rx -w 4

Configuration and tuning

Results

documentation/examples/forwarding_performance_lab_of_a_netgate_rcc-ve_4860.txt · Last modified: 2019/12/16 20:51 by olivier