Skip to content

disco: fix pack_execle MTU depth#10062

Open
ripatel-fd wants to merge 1 commit into
mainfrom
ripatel/execle-constants
Open

disco: fix pack_execle MTU depth#10062
ripatel-fd wants to merge 1 commit into
mainfrom
ripatel/execle-constants

Conversation

@ripatel-fd

Copy link
Copy Markdown
Contributor

Cosmetic-only fix making pack_execle use a centrally defined MTU
parameter instead of USHORT_MAX

Copilot AI review requested due to automatic review settings June 3, 2026 18:40
Cosmetic-only fix making pack_execle use a centrally defined MTU
parameter instead of USHORT_MAX
@ripatel-fd ripatel-fd force-pushed the ripatel/execle-constants branch from 9e6d8fa to b455e69 Compare June 3, 2026 18:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR standardizes the MTU used for the pack_execle topology link by replacing a hard-coded USHORT_MAX with the semantic constant MAX_MICROBLOCK_SZ, aligning the topology configuration with the pack/microblock size definitions used elsewhere in Disco.

Changes:

  • Use MAX_MICROBLOCK_SZ instead of USHORT_MAX for the pack_execle link MTU in the Firedancer topology.
  • Simplify/adjust a compile-time size assertion in the execle tile to reference the execle→PoH path.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/discof/execle/fd_execle_tile.c Updates the static assertion naming/scope around the execle→PoH microblock trailer sizing.
src/app/firedancer/topology.c Switches pack_execle link MTU from USHORT_MAX to MAX_MICROBLOCK_SZ (centralized microblock size constant).

@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-406545575-perf per slot 0.09666 s 0.097113 s 0.469%
backtest mainnet-406545575-perf snapshot load 1.946 s 1.946 s 0.000%
backtest mainnet-406545575-perf total elapsed 96.660195 s 97.113125 s 0.469%
firedancer mem usage with mainnet.toml 1135.39 GiB 1135.39 GiB 0.000%

@mmcgee-jump mmcgee-jump requested a review from ptaffet-jump June 3, 2026 20:41
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