... | ... | @@ -7,10 +7,9 @@ Performance testing was done on a server with following specifications: |
|
|
* **OS**: Debian, linux kernel 5.4.0
|
|
|
* **NIC**: Intel X-520-2, 2x 10 Gb
|
|
|
|
|
|
DNS traffic to this server was generated and sent by Spirent TestCenter SPT-2000A through a 10 Gbps line.
|
|
|
All DNS traffic was sent over UDP with 33% of queries and responses containing EDNS record.
|
|
|
DNS traffic to this server was generated and sent by Spirent TestCenter SPT-2000A through a 10 Gbps line. All DNS traffic was sent over UDP with 33% of queries and responses containing EDNS record.
|
|
|
|
|
|
DNS Probe was run with default Sysrepo configuration with only `export-format` changed to `cdns` when measuring C-DNS performance and `coremask` changed to correspond with the number of packet processing threads shown in the table in section [Test results](#test-results).
|
|
|
DNS Probe was run with default Sysrepo configuration with only `export-format` changed to `cdns` when measuring C-DNS performance, and `coremask` set to configure the number of packet processing threads (1, 2 or 4).
|
|
|
|
|
|
## Test results
|
|
|
|
... | ... | @@ -19,10 +18,12 @@ different configurations depending on the packet processing backend and export f |
|
|
|
|
|
| Probe configuration (pkts/s) / Packet processing threads | 1 | 2 | 4 |
|
|
|
|----------------------------------------------------------|---|---|---|
|
|
|
| DPDK - Parquet | 718 000 | 1 441 000 | 2 647 000 |
|
|
|
| DPDK - C-DNS | 1 420 000 | 2 739 000 | 5 176 000 |
|
|
|
| AF_PACKET - Parquet | 487 000 | 780 000 | 1 350 000 |
|
|
|
| AF_PACKET - C-DNS | 805 000 | 1 242 000 | 2 017 000 |
|
|
|
| DPDK - Parquet | 718 000 | 1 441 000 | 2 647 000 |
|
|
|
| DPDK - C-DNS | 1 420 000 | 2 739 000 | 5 176 000 |
|
|
|
| AF\_PACKET - Parquet | 487 000 | 780 000 | 1 350 000 |
|
|
|
| AF\_PACKET - C-DNS | 805 000 | 1 242 000 | 2 017 000 |
|
|
|
|
|
|

|
|
|
|
|
|
For comparison [*dnscap*](https://www.dns-oarc.net/tools/dnscap) and [*netsniff-ng*](http://netsniff-ng.org/)
|
|
|
utilities for capturing DNS traffic to PCAPs were tested on the same data set.
|
... | ... | @@ -46,4 +47,4 @@ to Gbps. |
|
|
| Utility (Gbps) / Packet processing threads | 1 | 2 | 4 |
|
|
|
|--------------------------------------------|---|---|---|
|
|
|
| *netsniff-ng* | 3,30 | 4,37 | 4,00 |
|
|
|
| *dnscap* | 2,23 | |
|
|
\ No newline at end of file |
|
|
| *dnscap* | 2,23 | |