Title: gh-149584: Do not use page cache for thread/frame/interp reads by maurycy · Pull Request #149585 · python/cpython · GitHub
Open Graph Title: gh-149584: Do not use page cache for thread/frame/interp reads by maurycy · Pull Request #149585 · python/cpython
X Title: gh-149584: Do not use page cache for thread/frame/interp reads by maurycy · Pull Request #149585 · python/cpython
Description: Please see gh-149584 for a very detailed investigation. 2026-05-09T01:22:51.167402000+0200 maurycy@gimel /Users/maurycy/src/github.com/maurycy/cpython (remote-debugging-no-paged 7606bb1*) % cat /tmp/busy.py x = 0 while True: x = (x + 1) % 1000003 Before: 2026-05-09T01:12:48.469595000+0200 maurycy@gimel /Users/maurycy/src/github.com/maurycy/cpython (main 57ef219*) % sudo -E ./python.exe -m profiling.sampling run -r 1000khz -d 15 --pstats -o /dev/null /tmp/busy.py Captured 1,687,897 samples in 15.00 seconds Sample rate: 112,526.41 samples/sec Error rate: 0.00 Warning: missed 13312110 samples from the expected total of 15000007 (88.75%) After: [130] 2026-05-09T01:08:09.192039000+0200 maurycy@gimel /Users/maurycy/src/github.com/maurycy/cpython (remote-debugging-no-paged 7606bb1*) % sudo -E ./python.exe -m profiling.sampling run -r 1000khz -d 15 --pstats -o /dev/null /tmp/busy.py Captured 2,657,910 samples in 15.00 seconds Sample rate: 177,193.96 samples/sec Error rate: 0.00 Warning: missed 12342093 samples from the expected total of 15000003 (82.28%) Closes #149584
Open Graph Description: Please see gh-149584 for a very detailed investigation. 2026-05-09T01:22:51.167402000+0200 maurycy@gimel /Users/maurycy/src/github.com/maurycy/cpython (remote-debugging-no-paged 7606bb1*) % cat /tm...
X Description: Please see gh-149584 for a very detailed investigation. 2026-05-09T01:22:51.167402000+0200 maurycy@gimel /Users/maurycy/src/github.com/maurycy/cpython (remote-debugging-no-paged 7606bb1*) % cat /tm...
Opengraph URL: https://github.com/python/cpython/pull/149585
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c5ec5f51-fa11-c25a-5d4d-7bbeb0307b68 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A940:2B78D3:9F15F8:D370D4:6A53185D |
| html-safe-nonce | 8125b0daa5ffacb55193aebfa61dc2bc3d8b8460f84e9561b7da6b1e512d430b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTQwOjJCNzhEMzo5RjE1Rjg6RDM3MEQ0OjZBNTMxODVEIiwidmlzaXRvcl9pZCI6IjI0MDc0MzQ3NzU4NDc3MDQ2NjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4bcb2330037d43922ce45250d2c2d27251ea30b6224552a0e2a9cd24bc41cd47 |
| hovercard-subject-tag | pull_request:3652746990 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/149585/files |
| twitter:image | https://avatars.githubusercontent.com/u/5383?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5383?s=400&v=4 |
| og:image:alt | Please see gh-149584 for a very detailed investigation. 2026-05-09T01:22:51.167402000+0200 maurycy@gimel /Users/maurycy/src/github.com/maurycy/cpython (remote-debugging-no-paged 7606bb1*) % cat /tm... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width