{"id":13503063,"url":"https://github.com/the8472/fastar","last_synced_at":"2025-05-06T18:03:36.021Z","repository":{"id":20785028,"uuid":"90908564","full_name":"the8472/fastar","owner":"the8472","description":"Fast tar archiver","archived":false,"fork":false,"pushed_at":"2021-12-18T17:40:59.000Z","size":31,"stargazers_count":105,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-06T01:42:03.030Z","etag":null,"topics":["cli","hdd","linux","tar-archive"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/the8472.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}},"created_at":"2017-05-10T21:09:08.000Z","updated_at":"2025-02-18T19:52:51.000Z","dependencies_parsed_at":"2022-09-11T07:00:07.960Z","dependency_job_id":null,"html_url":"https://github.com/the8472/fastar","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the8472%2Ffastar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the8472%2Ffastar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the8472%2Ffastar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the8472%2Ffastar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/the8472","download_url":"https://codeload.github.com/the8472/fastar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252741368,"owners_count":21797027,"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":["cli","hdd","linux","tar-archive"],"created_at":"2024-07-31T22:02:35.396Z","updated_at":"2025-05-06T18:03:35.951Z","avatar_url":"https://github.com/the8472.png","language":"Rust","readme":"[![Version](https://img.shields.io/crates/v/fastar.svg)](https://crates.io/crates/fastar)\n\n# fastar\n\nA faster equivalent of  `tar -cT \u003c(find . -type f)`, optimized for tarring many small files stored on HDDs.\n  \nOptimizations compared to gnu tar:\n\n* directory traversal based on physical disk layout. see [platter-walk](https://github.com/the8472/platter-walk) crate \n* readaheads across multiple files at once to keep the drive's command queue filled. see [reapfrog](https://github.com/the8472/reapfrog) crate\n* drops disk caches for files once they are read to prevent disk buffer thrashing.\n\n\nLimitations compared to gnu tar:\n\n* arguments must be directories\n* only archives regular files, not symlinks or empty directories\n* xattrs are not included\n* sparse files are zero-filled\n\n\n## Building\n\n* indirect dependencies: libz, liblzo headers\n* `cargo build --release`\n\n## Benchmarks\n\n```\n# ffcnt . -s\nfiles: 6680901\nbytes: 245271028476\n\n# echo 3 \u003e /proc/sys/vm/drop_caches ; tar -c . | pv -at \u003e /dev/null\n^C0:02:45 [ 2.4MiB/s]\n\n# echo 3 \u003e /proc/sys/vm/drop_caches ; tar -cT \u003c(ffcnt --ls --type f --leaf-order content .) | pv -at \u003e /dev/null\n^C0:02:50 [4.11MiB/s]\n\n# echo 3 \u003e /proc/sys/vm/drop_caches ; fastar . | pv -at \u003e /dev/null\n^C0:02:51 [9.28MiB/s]\n```","funding_links":[],"categories":["Rust"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe8472%2Ffastar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthe8472%2Ffastar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe8472%2Ffastar/lists"}