Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Benchmarks

Ivan Koveshnikov edited this pageOct 27, 2022 ·6 revisions

System under test

CPU: 2x Intel(R) Xeon(R) Gold 6348 CPU @ 2.60GHz
NIC: 2x Intel(R) E810-2cqda2 (100G 2 ports)
PCIe: 4th gen
Total network bandwidth: 400 Gbps
Distro: Ubuntu 20.04 LTS
Kernel: 5.17
Driver: ice-1.9.11

Traffic generators

CPU: 2x Intel(R) Xeon(R) Gold 6242R CPU @ 3.10GHz
NIC: 2x Intel(R) E810 (100G 1 of 2 ports connected)
PCIe: 3rd gen
Total network bandwidth: 200 Gbps
Distro: Ubuntu 20.04 LTS
Kernel: 5.17
Generator: Cisco T-Rex

We use 2 servers for the generation.

Traffic patterns

  • Line rate - maximum practical throughput
  • Base - base performance of XDP action, no regular expressions attached
  • Literal - lookup for a constant sub-string inside of payload. Regex:/private/s; Corpus: printable characters
  • Full payload scan - search with access to the whole payload. Regex/pri.*ate/sH; Corpus: printable characters
  • Real-life - Our real-life regular expressions. 10 regexes in parallel, backtracking, search from the payload beginning.

We have evaluatedXDP_DROP andXDP_TX actions as primerally used in our network.

Results

XDP_DROP

Mpps

pkt sizelineratebaseliteralfull payload scanreal-life
150032.032.032.032.032.0
100048.048.048.048.048.0
51288.088.088.088.088.0
256176.0162.0165.0108.0161.0
128328.0307.0244.0108.0208.0
64568.0430.0257.0211.0220.0

Gbps

pkt sizelineratebaseliteralfull payload scanreal-life
1500384.0384.0384.0384.0384.0
1000379.0379.0379.0379.0379.0
512368.0349.5349.5349.5349.5
256356.0340.0338.0220.0330.0
128346.0314.0250.0110.0213.0
64304.0221.0128.0108.0112.0

CPU usage

pkt sizelineratebaseliteralfull payload scanreal-life
15000%6%14%33%15%
10000%8%20%48%22%
5120%16%34%80%38%
2560%28%68%98%74%
1280%51%98%98%98%
640%75%98%98%99%

image HFWEU1image BCELU1

XDP_TX

Mpps

pkt sizelineratebaseliteralfull payload scanreal-life
150032.032.032.032.032.0
100048.048.048.048.048.0
51288.088.088.080.088.0
256176.0151.0146.095.0146.0
128328.0220.0195.098.0172.0
64568.0286.0199.0176.0181.0

Gbps

pkt sizelineratebaseliteralfull payload scanreal-life
1500384.0384.0384.0384.0384.0
1000379.0379.0379.0379.0379.0
512368.0349.5349.5323.0349.5
256356.0310.0299.0196.0300.0
128346.0226.0200.0100.0176.0
64304.0146.0102.089.0101.0

CPU usage

pkt sizelineratebaseliteralfull payload scanreal-life
15000%10%19%40%18%
10000%12%28%56%26%
5120%22%48%98%45%
2560%36%75%98%86%
1280%53%98%98%99%
640%83%98%98%99%

image ETWWU1image S1IDU1

Flame Graphs

XDP_DROP

image BQLAU1

BPF prog: 75%
Hyperscan: 28%
FPU load/store: 2.1%

XDP_TX

image MO9PU1

BPF prog: 78%
Hyperscan: 40%
FPU load/store: 1.7%

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp