Repository navigation
Conversation
|
Based on an analysis of The effect of reducing the page size differs by object size.
|
|
cc @nascheme |
|
@DinoV @nascheme @mpage |
|
cc @daanx |
| // Do not use guarded allocations. The free-threaded GC does not support their block layout. | ||
| # define MI_GUARDED 0 | ||
| // Use 16 KiB pages instead of the default 64 KiB in 64-bit platforms. | ||
| // TODO: 32-bit platforms may need tuning too. |
There was a problem hiding this comment.
We may need to tune a 32-bit system, but I prefer to pass at this time.
|
@nascheme @DinoV Peak RSS is generally unchanged on these large-heap tests, although This PR aims to reduce the memory overhead relative to the default build from the current 18% to 15%, as measured by pyperformance. I think we should also compare against the default build using the GC benchmarks to make sure both the performance and memory overheads remain within the guardrails outlined in PEP 779. If both criteria are met, I would like to propose merging this PR. I’ll share the results once I’ve run the GC benchmarks against the default build. |
Uh oh!
There was an error while loading. Please reload this page.