{"id":16627052,"url":"https://github.com/eatonphil/block-tax","last_synced_at":"2026-04-24T14:32:12.680Z","repository":{"id":210713117,"uuid":"727275844","full_name":"eatonphil/block-tax","owner":"eatonphil","description":"Is there a block tax?","archived":false,"fork":false,"pushed_at":"2023-12-04T14:45:29.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-11T13:39:41.108Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eatonphil.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-12-04T14:40:51.000Z","updated_at":"2023-12-04T14:42:04.000Z","dependencies_parsed_at":"2023-12-04T15:52:40.765Z","dependency_job_id":null,"html_url":"https://github.com/eatonphil/block-tax","commit_stats":null,"previous_names":["eatonphil/block-tax"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eatonphil/block-tax","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eatonphil%2Fblock-tax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eatonphil%2Fblock-tax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eatonphil%2Fblock-tax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eatonphil%2Fblock-tax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eatonphil","download_url":"https://codeload.github.com/eatonphil/block-tax/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eatonphil%2Fblock-tax/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32227368,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T04:13:08.686Z","updated_at":"2026-04-24T14:32:12.662Z","avatar_url":"https://github.com/eatonphil.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Block Tax\n\nNOTE: This must be run on Linux. This will drop your page cache. Your\nsystem will act as if there was a fork bomb but it's not a fork\nbomb. It will get back to normal after you run your normal programs\nonce.\n\n```\n$ rustc blocktax.rs\n$ ./blocktax | tee out.csv\n$ duckdb -c \"select column0, avg(column1) from 'out.csv' group by column0 order by avg(column1) asc\"\n┌──────────────────────────────┬────────────────────────┐\n│           column0            │      avg(column1)      │\n│           varchar            │         double         │\n├──────────────────────────────┼────────────────────────┤\n│ full_page_4096               │ 2.2344517999999948e-05 │\n│ full_page_512                │ 2.3091620400000006e-05 │\n│ partial_page_4096_6144_bytes │ 2.5642358400000015e-05 │\n│ partial_page_512_20_bytes    │ 2.6037361999999975e-05 │\n│ partial_page_512_768_bytes   │ 3.0276204400000106e-05 │\n│ 2_full_page_4096             │ 3.2619195599999956e-05 │\n│ partial_page_4096_20_bytes   │ 4.3916698800000013e-05 │\n│ 2_full_page_512              │  4.912078600000008e-05 │\n└──────────────────────────────┴────────────────────────┘\n$ # OR WITH 90TH PERCENTILE\n$ duckdb -c \"select column0, quantile(column1, .9) from 'out.csv' group by column0 order by quantile(column1, .9) a\nsc\"\n┌──────────────────────────────┬───────────────────────┐\n│           column0            │ quantile(column1, .9) │\n│           varchar            │        double         │\n├──────────────────────────────┼───────────────────────┤\n│ full_page_4096               │            2.1768e-05 │\n│ full_page_512                │             2.343e-05 │\n│ partial_page_4096_6144_bytes │            2.6171e-05 │\n│ partial_page_4096_20_bytes   │             3.998e-05 │\n│ partial_page_512_20_bytes    │            4.3407e-05 │\n│ partial_page_512_768_bytes   │            5.2008e-05 │\n│ 2_full_page_512              │            7.8828e-05 │\n│ 2_full_page_4096             │            7.9737e-05 │\n└──────────────────────────────┴───────────────────────┘\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Featonphil%2Fblock-tax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Featonphil%2Fblock-tax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Featonphil%2Fblock-tax/lists"}