{"id":22343158,"url":"https://github.com/johnramsden/invokegc","last_synced_at":"2025-10-12T09:38:30.607Z","repository":{"id":265909994,"uuid":"863267894","full_name":"johnramsden/invokegc","owner":"johnramsden","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-26T02:39:24.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-21T05:43:33.027Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnramsden.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-26T02:22:43.000Z","updated_at":"2024-09-26T02:39:27.000Z","dependencies_parsed_at":"2024-12-01T13:57:36.100Z","dependency_job_id":null,"html_url":"https://github.com/johnramsden/invokegc","commit_stats":null,"previous_names":["johnramsden/invokegc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/johnramsden/invokegc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnramsden%2Finvokegc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnramsden%2Finvokegc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnramsden%2Finvokegc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnramsden%2Finvokegc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnramsden","download_url":"https://codeload.github.com/johnramsden/invokegc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnramsden%2Finvokegc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262518102,"owners_count":23323301,"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-12-04T08:15:01.503Z","updated_at":"2025-10-12T09:38:25.589Z","avatar_url":"https://github.com/johnramsden.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Invoke GC\n\nInitiate garbage collection on SSD.\n\n```\nUsage: ./invokegc\n          -d \u003cdevice_path\u003e\n          -w \u003cnumber_of_writer_threads\u003e\n          -r \u003cnumber_of_reader_threads\u003e\n          -s \u003ctotal_size_to_process_gb\u003e\n          [-D use O_DIRECT|O_SYNC]\n          [-o (read only)]\n          [-l (load)]\n```\n\n### Examples\n\nLoad RAW disk `/dev/nvme1n1` with 32 write threads:\n\n```shell\n./invokegc -d /dev/nvme1n1 -w 32 -r 0 -s 894 -l\n```\n\nRun R/W with 32 R/W threads each:\n\n```shell\n./invokegc -d /dev/nvme1n1 -w 32 -r 0 -s 894\n```\n\nRun R/W with 32 R/W threads each using O_DIRECT|O_SYNC:\n\n```shell\n./invokegc -d /dev/nvme1n1 -w 32 -r 32 -s 894 -D\n```\n\nRun R/O with 32 R threads:\n\n```shell\n./invokegc -d /dev/nvme1n1 -w 0 -r 32 -s 894 -o\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnramsden%2Finvokegc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnramsden%2Finvokegc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnramsden%2Finvokegc/lists"}