Skip to content

Conversation

@lidatong
Copy link
Member

No description provided.

@lidatong lidatong force-pushed the chali/feat/gossip-tower branch from ae8120e to 5edb185 Compare September 29, 2025 21:23
@lidatong lidatong changed the title feat(tower): integrate with gossip v2 and rework serdes feat(choreo): rewrite for dup handling and gossip integratio Oct 9, 2025
@lidatong lidatong changed the title feat(choreo): rewrite for dup handling and gossip integratio feat(choreo): rewrite for dup handling and gossip integration Oct 9, 2025
@lidatong lidatong force-pushed the chali/feat/gossip-tower branch 2 times, most recently from 68eda9d to 1c4c55d Compare October 10, 2025 15:05
@lidatong lidatong changed the title feat(choreo): rewrite for dup handling and gossip integration feat(choreo): dup handling, gossip int, bug fixes, missing logic Oct 17, 2025
@lidatong lidatong force-pushed the chali/feat/gossip-tower branch 6 times, most recently from 9a7776a to 9b96afa Compare October 27, 2025 22:38
@lidatong lidatong marked this pull request as ready for review October 27, 2025 22:39
@lidatong lidatong requested a review from emwang-jump as a code owner October 27, 2025 22:39
@lidatong lidatong force-pushed the chali/feat/gossip-tower branch 9 times, most recently from 5d6e10f to a8cfa82 Compare October 31, 2025 16:09
@github-actions
Copy link

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.07274 s 0.07278 s 0.055%
backtest mainnet-368528500-perf snapshot load 2.669 s 2.678 s 0.337%
backtest mainnet-368528500-perf total elapsed 72.74007 s 72.780064 s 0.055%
firedancer mem usage with mainnet.toml 974.13 GiB 977.14 GiB 0.309%

@lidatong lidatong force-pushed the chali/feat/gossip-tower branch from a8cfa82 to cabd5d6 Compare October 31, 2025 16:18
@github-actions
Copy link

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.060974 s 0.050784 s -16.712%
backtest mainnet-368528500-perf snapshot load 1.748 s 1.397 s -20.080%
backtest mainnet-368528500-perf total elapsed 60.974075 s 50.784036 s -16.712%
firedancer mem usage with mainnet.toml 974.13 GiB 977.14 GiB 0.309%

@lidatong lidatong force-pushed the chali/feat/gossip-tower branch from cabd5d6 to 6fba472 Compare October 31, 2025 16:28
@github-actions
Copy link

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.064268 s 0.063969 s -0.465%
backtest mainnet-368528500-perf snapshot load 2.202 s 2.147 s -2.498%
backtest mainnet-368528500-perf total elapsed 64.267761 s 63.968995 s -0.465%
firedancer mem usage with mainnet.toml 974.13 GiB 977.14 GiB 0.309%

@lidatong lidatong force-pushed the chali/feat/gossip-tower branch from 6fba472 to 2424825 Compare October 31, 2025 20:51
@github-actions
Copy link

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.052687 s 0.052813 s 0.239%
backtest mainnet-368528500-perf snapshot load 1.681 s 1.654 s -1.606%
backtest mainnet-368528500-perf total elapsed 52.687353 s 52.813185 s 0.239%
firedancer mem usage with mainnet.toml 974.13 GiB 977.14 GiB 0.309%

}

int
fd_compact_tower_sync_deserialize( fd_compact_tower_sync_serde_t * serde,
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you write a fuzzer for deserializer

Copy link
Member Author

Choose a reason for hiding this comment

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

ill do in a follow-up PR

@lidatong lidatong force-pushed the chali/feat/gossip-tower branch from 12c00ed to bac010f Compare November 11, 2025 18:27
@github-actions
Copy link

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.07653 s 0.076481 s -0.064%
backtest mainnet-368528500-perf snapshot load 2.66 s 2.617 s -1.617%
backtest mainnet-368528500-perf total elapsed 76.529778 s 76.481128 s -0.064%
firedancer mem usage with mainnet.toml 992.14 GiB 995.14 GiB 0.302%

@lidatong lidatong force-pushed the chali/feat/gossip-tower branch 5 times, most recently from 04374b0 to b8c2a76 Compare November 12, 2025 00:14
@github-actions
Copy link

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.073372 s 0.073212 s -0.218%
backtest mainnet-368528500-perf snapshot load 2.635 s 2.659 s 0.911%
backtest mainnet-368528500-perf total elapsed 73.37205 s 73.212229 s -0.218%
firedancer mem usage with mainnet.toml 992.14 GiB 995.14 GiB 0.302%

# unrooted slots ahead of the current root. Additionally, both
# fork choice and tower structures will OOM and cause Firedancer
# to exit if it needs to maintain more than max unrooted slots
# tower forks (TODO in the future Firedancer will instead
Copy link
Contributor

Choose a reason for hiding this comment

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

This is operator facing so don't leave TODOs unless they are immediate.

# to exit if it needs to maintain more than max unrooted slots
# tower forks (TODO in the future Firedancer will instead
# gracefully degrade by evicting forks).
max_unrooted_slots = 4096
Copy link
Contributor

Choose a reason for hiding this comment

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

I still really don't buy that this limit needs to exist.

@lidatong lidatong force-pushed the chali/feat/gossip-tower branch from f570ddc to b8c2a76 Compare November 12, 2025 17:54
@lidatong lidatong force-pushed the chali/feat/gossip-tower branch from b8c2a76 to 059534f Compare November 12, 2025 18:38
mmcgee-jump
mmcgee-jump previously approved these changes Nov 12, 2025
@github-actions
Copy link

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.073126 s 0.073615 s 0.669%
backtest mainnet-368528500-perf snapshot load 3.254 s 3.174 s -2.459%
backtest mainnet-368528500-perf total elapsed 73.125831 s 73.615013 s 0.669%
firedancer mem usage with mainnet.toml 993.14 GiB 996.14 GiB 0.302%

@github-actions
Copy link

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.073573 s 0.073803 s 0.313%
backtest mainnet-368528500-perf snapshot load 3.207 s 3.087 s -3.742%
backtest mainnet-368528500-perf total elapsed 73.572773 s 73.8034 s 0.313%
firedancer mem usage with mainnet.toml 993.14 GiB 996.14 GiB 0.302%

@lidatong lidatong merged commit 47450df into main Nov 12, 2025
12 checks passed
@lidatong lidatong deleted the chali/feat/gossip-tower branch November 12, 2025 18:59
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