Skip to content

Conversation

@akhinvasara-jumptrading
Copy link
Contributor

@akhinvasara-jumptrading akhinvasara-jumptrading commented Dec 4, 2025

This PR centralizes network header validation. The XDP tile guarantees that packets sent downstream will have passed validation.

For ease of review/reversability of desired, the first commit performs the refactor. The second commit changes the reported xdp metrics to take advantage of the new error codes.

The RX perf impact of this change is slightly positive (tested using Pktgen-DPDK from rd-merenguel1 (mlx5) to rd-chachal1 on (mlx5):
before: 8.617 Mpps
After: 8.713 Mpps

@akhinvasara-jumptrading akhinvasara-jumptrading requested review from amass-jump and ripatel-fd and removed request for ripatel-fd December 4, 2025 20:23
@ripatel-fd
Copy link
Contributor

8.713e+06 Mpps that's 8 trillion wow :)

@github-actions
Copy link

github-actions bot commented Dec 4, 2025

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.063536 s 0.063694 s 0.249%
backtest mainnet-368528500-perf snapshot load 2.348 s 2.331 s -0.724%
backtest mainnet-368528500-perf total elapsed 63.536488 s 63.694037 s 0.248%
firedancer mem usage with mainnet.toml 1023.23 GiB 1023.23 GiB 0.000%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants