Skip to content

gh-151292: Change total_samples:u32 in the binary format to total_samples:u64#153425

Merged
pablogsal merged 2 commits into
python:mainfrom
maurycy:tachyon-total-samples-u64
Jul 9, 2026
Merged

gh-151292: Change total_samples:u32 in the binary format to total_samples:u64#153425
pablogsal merged 2 commits into
python:mainfrom
maurycy:tachyon-total-samples-u64

Conversation

@maurycy

@maurycy maurycy commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

The PR bumps total_samples:u32 from the binary format to total_samples:u64. The reason for doing so is that, as per #151292, u32 under 10khz is sufficient only for:

Threads overflow after...
1 ~11.9 h
4 ~3.0 h
10 ~71 min
64 ~11 min

That might look a bit excessive but with continous profiling of production systems it's totally possible to see 1Khz and a couple of threads, a couple of days.

This change breaks backwards compatibility, but - as per discussion offline - we're before rc1 so it should be OK, and NOW is the best time to do such change.

@pablogsal

Copy link
Copy Markdown
Member

Great work!

@pablogsal pablogsal enabled auto-merge (squash) July 9, 2026 13:44
@pablogsal pablogsal added the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Jul 9, 2026
@pablogsal pablogsal merged commit 1d19650 into python:main Jul 9, 2026
60 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @maurycy for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Jul 9, 2026

Copy link
Copy Markdown

GH-153436 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Jul 9, 2026
@maurycy maurycy deleted the tachyon-total-samples-u64 branch July 9, 2026 14:00
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