Skip to content

Conversation

@magedm
Copy link
Contributor

@magedm magedm commented Oct 20, 2025

Prefetch block's access lists in parallel.

@magedm magedm force-pushed the mm_parallel_access_list branch from 4ae13b7 to 5758ce2 Compare October 20, 2025 20:01
@magedm magedm changed the title Prefetch access list in parallel Prefetch access lists in parallel Oct 20, 2025
@magedm magedm marked this pull request as ready for review October 20, 2025 21:00
Copilot AI review requested due to automatic review settings October 20, 2025 21:00
Copy link

Copilot AI left a comment

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 adds parallel prefetching of transaction access lists to improve block execution performance. The changes introduce metrics tracking and asynchronous prefetching of both account addresses and storage keys from access lists before transaction execution.

Key changes:

  • Adds parallel prefetching of access list entries (addresses and storage keys) using a priority pool
  • Introduces metrics tracking for access list prefetching (count of addresses, keys, and time taken)
  • Updates logging to include new access list metrics

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 6 comments.

File Description
category/execution/ethereum/execute_block.cpp Implements parallel prefetching logic for access list addresses and storage keys
category/execution/ethereum/metrics/block_metrics.hpp Adds fields and methods to track access list metrics (time, address count, key count)
cmd/monad/runloop_monad.cpp Updates block execution logging to include access list metrics
cmd/monad/runloop_ethereum.cpp Updates block execution logging to include access list metrics

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@magedm magedm force-pushed the mm_parallel_access_list branch 3 times, most recently from 596de3d to f1e66a3 Compare October 23, 2025 21:35
@magedm
Copy link
Contributor Author

magedm commented Oct 23, 2025

All updates are simple rebases on main unless otherwise noted.

@magedm magedm force-pushed the mm_parallel_access_list branch from f1e66a3 to fe6f675 Compare October 28, 2025 18:44
@magedm magedm force-pushed the mm_parallel_access_list branch from fe6f675 to 0bf6db5 Compare October 29, 2025 21:44
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.

2 participants