Skip to content

Conversation

@two-heart
Copy link
Contributor

credits for finding this to Immunefi user @bpop23293

@github-actions
Copy link

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.060215 s 0.051004 s -15.297%
backtest mainnet-368528500-perf snapshot load 1.82 s 1.409 s -22.582%
backtest mainnet-368528500-perf total elapsed 60.215117 s 51.003517 s -15.298%
firedancer mem usage with mainnet.toml 992.14 GiB 992.14 GiB 0.000%

Copy link
Contributor

@jherrera-jump jherrera-jump left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also update

+ fd_gui_sum_tiles_counter( peers, "gossvf", gossvf_tile_cnt, MIDX( COUNTER, GOSSVF, MESSAGE_RX_BYTES_DROPPED_UNPARSEABLE) )

fd_ip4_hdr_t * ip4_hdr;
fd_udp_hdr_t * udp_hdr;
FD_TEST( fd_ip4_udp_hdr_strip( ctx->payload, sz, &payload, &payload_sz, NULL, &ip4_hdr, &udp_hdr ) );
if( FD_UNLIKELY(!fd_ip4_udp_hdr_strip( ctx->payload, sz, &payload, &payload_sz, NULL, &ip4_hdr, &udp_hdr )) ) return FD_METRICS_ENUM_GOSSVF_MESSAGE_OUTCOME_V_DROPPED_MALFORMED_PACKET_IDX;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is this reachable? The net tile will not pass the packet to gossvf if the header is not valid

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The XDP tile does not check all this, see the PoC in https://github.com/firedancer-io/auditor-internal/issues/334

Copy link
Contributor

@mmcgee-jump mmcgee-jump left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

credits for finding this to Immunefi user `@bpop23293`
@github-actions
Copy link

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.062891 s 0.051502 s -18.109%
backtest mainnet-368528500-perf snapshot load 1.853 s 1.408 s -24.015%
backtest mainnet-368528500-perf total elapsed 62.891193 s 51.501695 s -18.110%
firedancer mem usage with mainnet.toml 992.14 GiB 992.14 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.

4 participants