{"id":20433772,"url":"https://github.com/intelpython/smp","last_synced_at":"2025-04-12T21:07:01.057Z","repository":{"id":60722970,"uuid":"95576466","full_name":"IntelPython/smp","owner":"IntelPython","description":"Static partitioning and thread affinity for nestable Symmetric Multi-Processing","archived":false,"fork":false,"pushed_at":"2024-08-19T15:43:58.000Z","size":26,"stargazers_count":13,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-12T21:06:54.645Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IntelPython.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-27T16:01:40.000Z","updated_at":"2025-02-01T18:55:11.000Z","dependencies_parsed_at":"2024-04-03T17:59:13.342Z","dependency_job_id":"288d341c-fbfb-4d26-9d42-807c277213e9","html_url":"https://github.com/IntelPython/smp","commit_stats":{"total_commits":8,"total_committers":4,"mean_commits":2.0,"dds":0.625,"last_synced_commit":"befc30effbdceb9a3a40b741c80c5c17ec559c22"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntelPython%2Fsmp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntelPython%2Fsmp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntelPython%2Fsmp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntelPython%2Fsmp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IntelPython","download_url":"https://codeload.github.com/IntelPython/smp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631678,"owners_count":21136562,"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-11-15T08:21:07.664Z","updated_at":"2025-04-12T21:07:01.028Z","avatar_url":"https://github.com/IntelPython.png","language":"Python","readme":"# Static Multi-Processing\n**SMP** module allows to set static affinity mask for each process inside process pool to limit total\nnumber of threads running in application:\n```\npython -m smp [-f \u003coversubscription_factor\u003e] [-p \u003cnumber_of_outermost_processes\u003e] script.py\n```\nThe module supports two types of process pool: **multiprocessing.pool.Pool** and\n**concurrent.futures.ProcessPoolExecutor**, as well as one thread pool: **multiprocessing.pool.ThreadPool**.\nCan be run with TBB module as well:\n```\npython -m smp [-f \u003coversubscription_factor\u003e] [-p \u003cnumber_of_outermost_processes\u003e] -m tbb script.py\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintelpython%2Fsmp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintelpython%2Fsmp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintelpython%2Fsmp/lists"}