{"id":16755557,"url":"https://github.com/lopezjurip/openmp-parallel-convolution-mask","last_synced_at":"2025-03-16T06:40:55.798Z","repository":{"id":82194358,"uuid":"91204710","full_name":"lopezjurip/OpenMP-parallel-convolution-mask","owner":"lopezjurip","description":"OpenMP experiments in C","archived":false,"fork":false,"pushed_at":"2017-05-20T10:34:20.000Z","size":11341,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T08:12:14.497Z","etag":null,"topics":["c","hpc","openmp","parallel"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lopezjurip.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-13T21:49:20.000Z","updated_at":"2017-06-23T14:39:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"4436d960-68b2-4e1c-8aec-2273efb793b6","html_url":"https://github.com/lopezjurip/OpenMP-parallel-convolution-mask","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/lopezjurip%2FOpenMP-parallel-convolution-mask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lopezjurip%2FOpenMP-parallel-convolution-mask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lopezjurip%2FOpenMP-parallel-convolution-mask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lopezjurip%2FOpenMP-parallel-convolution-mask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lopezjurip","download_url":"https://codeload.github.com/lopezjurip/OpenMP-parallel-convolution-mask/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243835942,"owners_count":20355611,"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":["c","hpc","openmp","parallel"],"created_at":"2024-10-13T03:22:59.596Z","updated_at":"2025-03-16T06:40:55.762Z","avatar_url":"https://github.com/lopezjurip.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenMP Parallel Convolution Mask\n\n* Patricio López Juri\n\n## Run\n\n```sh\n# on the real environment\n./run.sh\n\n# if fails:\nchmod +x ./run.sh\n```\n\n## Analysis\n\n\n```sh\n--- Running secuential ---\n\nreal\t0m12.540s\nuser\t0m12.156s\nsys\t0m0.380s\n--- Done secuential ---\n\n--- Running parallel ---\n\nreal\t0m5.839s\nuser\t0m23.524s\nsys\t0m0.420s\n--- Done parallel ---\n\n--- Running parallel (over-CPU) ---\n\nreal\t0m6.043s\nuser\t0m22.224s\nsys\t0m0.424s\n--- Done parallel over ---\n```\n\n### Sequential\n\nFirst we try a sequential operation with 1 CPU. The `real` and `user` times are the same because of this.\n\n### Parallel\n\nUsing all the available CPU we get a `user` increase because its the sum of all the CPU but the real (perceived) time is lower.\n\n#### Bad parallel\n\nWhen we set to use more than the 8 cores (10 in this case), the `user` time seems to be equal or lower, but the `real` time is **higher**.\n\nThis should be the consequence of context switching between virtual threads, loosing time and decreasing the overall performance.\n\n\u003e Sorry, not visualization available :()\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flopezjurip%2Fopenmp-parallel-convolution-mask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flopezjurip%2Fopenmp-parallel-convolution-mask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flopezjurip%2Fopenmp-parallel-convolution-mask/lists"}