{"id":23638587,"url":"https://github.com/turulomio/swapping_ebuilds","last_synced_at":"2025-08-07T00:35:15.202Z","repository":{"id":57472631,"uuid":"321104994","full_name":"turulomio/swapping_ebuilds","owner":"turulomio","description":"It's a script to detect swapping compiling ebuilds in Gentoo. With this tool you can detect swapping in computers with small RAM to try to improve its compilation time","archived":false,"fork":false,"pushed_at":"2021-05-07T02:47:29.000Z","size":118,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-24T01:45:25.287Z","etag":null,"topics":["administrator","ebuilds","gentoo","swapping"],"latest_commit_sha":null,"homepage":"https://github.com/turulomio/swapping_ebuilds","language":"Python","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/turulomio.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":"2020-12-13T16:09:33.000Z","updated_at":"2021-05-07T02:46:57.000Z","dependencies_parsed_at":"2022-09-19T08:51:35.511Z","dependency_job_id":null,"html_url":"https://github.com/turulomio/swapping_ebuilds","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/turulomio/swapping_ebuilds","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turulomio%2Fswapping_ebuilds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turulomio%2Fswapping_ebuilds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turulomio%2Fswapping_ebuilds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turulomio%2Fswapping_ebuilds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/turulomio","download_url":"https://codeload.github.com/turulomio/swapping_ebuilds/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turulomio%2Fswapping_ebuilds/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269180783,"owners_count":24373835,"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","status":"online","status_checked_at":"2025-08-06T02:00:09.910Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["administrator","ebuilds","gentoo","swapping"],"created_at":"2024-12-28T07:45:24.060Z","updated_at":"2025-08-07T00:35:15.153Z","avatar_url":"https://github.com/turulomio.png","language":"Python","readme":"# Swapping ebuilds\n\n## Links\n\n* http://turulomio.users.sourceforge.net/doxygen/swapping_ebuilds/\n* https://github.com/turulomio/swapping_ebuilds\n\n## What is swapping_ebuilds\n\nIt's a script to detect swapping compiling ebuilds in Gentoo. With this tool you can detect swapping in computers with small RAM to try to improve its compilation time.\n\nOnce you detect swapping ebuilds you can change this behaviour using, you can use /etc/portage/package.env to change the number of paralell process in compilation to reduce the needed RAM.\n\nFor example if your MAKEOPTS in /etc/portage/make.conf uses -j4, and dev-qt/qtwebengine compilation is swapping, you can force to use only -j2 with this particular ebuild,  creating a file in `/etc/portage/env/makeopts-j2`\n\n```bash\nMAKEOPTS=\"-j2\"\n```\n\nand then edit `/etc/portage/package.env`\n```\ndev-qt/qtwebengine makeopts-j2\n```\n\nNext time you compile dev-qt/qtwebengine, Gentoo will use only 2 concurrent process\n\n## Usage\n\n```bash\nswapping_ebuilds --get # To detect swapping\nswapping_ebuilds --analyze # To see a swapping report\n```\n\n## Linux installation\n\nYou can find the ebuild in https://github.com/turulomio/myportage/tree/master/app-admin/swapping_ebuilds\n\n## Dependencies\n\n* https://www.python.org/, as the main programming language.\n* https://github.com/tartley/colorama\n* https://github.com/jmoiron/humanize\n* https://github.com/giampaolo/psutil\n\n## Changelog\n\n### 0.6.0 (2021-05-07)\n\n* Remove positive swapping concept. Swapping is Swapping.\n* Added --hl_oly to show only highlighted records\n\n### 0.5.0 (2021-05-06)\n\n* Added --list argument to list registers\n* Added highlighted ouput with colorama\n\n### 0.4.0 (2021-05-02)\n\n* Changed system to swap variation instead of a limit of swap to log\n* Added --clean parameter to clean log\n\n### 0.3.0 (2021-02-21)\n\n* Improved Logging output.\n* Captured CTRL+C keys.\n\n### 0.2.0 (2020-12-31)\n\n* Script converted to a python package\n\n### 0.1.0 (2020-12-13)\n\n* Script migrated to this project from myportage repository\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturulomio%2Fswapping_ebuilds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fturulomio%2Fswapping_ebuilds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturulomio%2Fswapping_ebuilds/lists"}