Skip to content

Add infrastructure for measuring hugepage bloat#231

Merged
aneeshdurg merged 5 commits into
mainfrom
aneesh/hugepage_data_cap
May 28, 2026
Merged

Add infrastructure for measuring hugepage bloat#231
aneeshdurg merged 5 commits into
mainfrom
aneesh/hugepage_data_cap

Conversation

@aneeshdurg
Copy link
Copy Markdown
Contributor

This PR adds all necessary infrastructure for tracking bloat, but does not add the actual data capturing and the learned policy infra.

Comment thread kernel/src/vm/vmar/mod.rs
oqueues::RSS_DELTA_OQUEUE.call_once(|| MPMCOQueue::new(64, 1));
oqueues::PAGE_FAULT_OQUEUE.call_once(|| MPMCOQueue::new(1024, 2));
oqueues::RSS_DELTA_OQUEUE.call_once(|| MPMCOQueue::new(1024, 2));
}
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.

Can you explain why you needed to increase these sizes? It's fine, I just want to understand to help me make decisions as the framework solidifies over the summer.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Things were filling up and blocking with the smaller capacity.

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.

Do you have any more specifics on why they were filling up?

Copy link
Copy Markdown
Contributor

@arthurp arthurp left a comment

Choose a reason for hiding this comment

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

A few questions and comments.

Comment thread kernel/src/arch/x86/pmu.rs Outdated
Comment thread kernel/src/fs/mod.rs Outdated
Comment thread kernel/src/vm/vmar/mod.rs Outdated
Comment thread test/benchmark/redis/ycsb/host.sh Outdated
Comment thread test/benchmark/redis/ycsb/host.sh
Comment thread tools/docker/Dockerfile
Comment thread test/benchmark/redis/ycsb/run.sh
Copy link
Copy Markdown
Contributor

@arthurp arthurp left a comment

Choose a reason for hiding this comment

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

LGTM

Base automatically changed from aneesh/socket_oq to main May 27, 2026 15:34
@aneeshdurg aneeshdurg force-pushed the aneesh/hugepage_data_cap branch 3 times, most recently from 46233b2 to 254edcc Compare May 28, 2026 15:40
@aneeshdurg aneeshdurg force-pushed the aneesh/hugepage_data_cap branch from 254edcc to 632f1e3 Compare May 28, 2026 15:52
@aneeshdurg aneeshdurg merged commit 16307af into main May 28, 2026
22 checks passed
@aneeshdurg aneeshdurg deleted the aneesh/hugepage_data_cap branch May 28, 2026 16:26
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