{"id":13642173,"url":"https://github.com/tortay/cache-toys","last_synced_at":"2025-04-20T16:30:33.963Z","repository":{"id":31853042,"uuid":"35420324","full_name":"tortay/cache-toys","owner":"tortay","description":"Simple tools for checking (\u0026 influencing) the filesystem cache content on POSIX systems","archived":false,"fork":false,"pushed_at":"2021-10-14T12:35:28.000Z","size":17,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-03T01:25:50.633Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tortay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-11T11:40:31.000Z","updated_at":"2024-03-22T14:02:23.000Z","dependencies_parsed_at":"2022-08-29T14:00:27.665Z","dependency_job_id":null,"html_url":"https://github.com/tortay/cache-toys","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tortay%2Fcache-toys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tortay%2Fcache-toys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tortay%2Fcache-toys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tortay%2Fcache-toys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tortay","download_url":"https://codeload.github.com/tortay/cache-toys/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223832840,"owners_count":17210724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-08-02T01:01:28.182Z","updated_at":"2024-11-09T13:30:41.026Z","avatar_url":"https://github.com/tortay.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"Cache-toys\n==========\n\n## Simple tools for checking \u0026amp; influencing filesystem cache content on POSIX systems\n\nWhile the pagecache tools have historically been developped \u0026 tested on some other systems, they are now mostly used/tested on Linux.\n\n### drop-from-pagecache\nAsks the system to remove files content from the pagecache using `posix_fadvise()`.\n\n### prefetch-to-pagecache\nAsks the system to prefetch files content to the pagecache using `posix_fadvise()`.\n\n### is-in-pagecache\nCheck if some part of the content of files are in the pagecache (using `mincore()`).\n\n### slices-in-pagecache\nDisplay which parts of the content of files (if any) are in the pagecache (using `mincore()`).\n\n### hrr\nSimple random reader program with optional hints to the pagecache.\nBoth POSIX (`posix_fadvise()`) and Linux specific (`readahead()`) hints are supported.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftortay%2Fcache-toys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftortay%2Fcache-toys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftortay%2Fcache-toys/lists"}