{"id":15951611,"url":"https://github.com/karm-patel/blocked_matrix_multiplication","last_synced_at":"2026-05-10T06:49:30.704Z","repository":{"id":165070247,"uuid":"548296144","full_name":"karm-patel/Blocked_Matrix_Multiplication","owner":"karm-patel","description":"Analysis of blocked matrix multiplication","archived":false,"fork":false,"pushed_at":"2022-10-20T09:25:40.000Z","size":7935,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T16:13:48.379Z","etag":null,"topics":["c","perf","python3"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/karm-patel.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":"2022-10-09T09:23:05.000Z","updated_at":"2022-11-14T06:31:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"66d95753-aa86-4d01-bdea-72f64aa2faec","html_url":"https://github.com/karm-patel/Blocked_Matrix_Multiplication","commit_stats":{"total_commits":33,"total_committers":3,"mean_commits":11.0,"dds":"0.18181818181818177","last_synced_commit":"4d10202b21fe6f8ca87d0cc32410e52d8effb480"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karm-patel%2FBlocked_Matrix_Multiplication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karm-patel%2FBlocked_Matrix_Multiplication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karm-patel%2FBlocked_Matrix_Multiplication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karm-patel%2FBlocked_Matrix_Multiplication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karm-patel","download_url":"https://codeload.github.com/karm-patel/Blocked_Matrix_Multiplication/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247123096,"owners_count":20887259,"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","perf","python3"],"created_at":"2024-10-07T13:03:14.245Z","updated_at":"2026-05-10T06:49:25.677Z","avatar_url":"https://github.com/karm-patel.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"## What this repo contains\n\nIn this repo, we have analyzed 96 various versions of the blocked matrix multiplication programs on combinations of following factors.\n1. Matrix size: 2048, 8192\n2. Outer loop order (variants): ‘ijk’, ‘jik’, ‘jki’, ‘ikj’, ‘kij’, ‘kji’\n3. Tile size: 4, 8, 16, 32, 64, 128, 256, 512\n\nAnalysis contains various performance counters including but not limited to cache-misses, TLB misses, cpu cycles, branch instructions, etc. We use perforator CLI tool for analysis.\n\n### Analysis Summary\n![image](https://user-images.githubusercontent.com/59387624/196910151-276b9615-5f6d-4ef3-9486-8ee5df1f5598.png)\n![image](https://user-images.githubusercontent.com/59387624/196910286-791060e7-397a-4c09-bfc9-111da1b98b02.png)\n![image](https://user-images.githubusercontent.com/59387624/196910349-919b21f1-1966-49b4-99f0-060f952f96ee.png)\n![image](https://user-images.githubusercontent.com/59387624/196910403-a131ffa7-646c-4bee-bcdf-9d8bf4c7d646.png)\n\n\n## How to use this code?\n## Perforater installation \n```bash\ncurl https://zyedidia.github.io/eget.sh | sh ./eget zyedidia/perforator\n```\n```bash\npip3 install regex pandas\n```\n\n### DELETE FOLLOWING DIRECTORIES\nout2048/ \u003c/br\u003e\nout8192/ \u003c/br\u003e\ncsv/ \u003c/br\u003e\n\n### RUN FOLLOWING PYTHON FILES IN SEQUENCE\n\n1.  genereate .out files in out2048/\n```bash\npython3 outgen2048.py\n```\n\n2. generate csv files in csv/\n```bash\npython3 execout2048.py\n```\n\n3. genereate .out files in out2048/\n```bash\npython3 outgen8192.py\n```\n\n4. generate csv files in csv/\n```bash\npython3 execout8192.py\n```\n\n### FOLLOWING COMMAND IS BEING EXECUTED\n\n```bash\nsudo ./perforator -e cpu-cycles,branch-misses,branch-instructions,cache-misses,dtlb-read-accesses,dtlb-read-accesses,dtlb-read-misses,dtlb-write-misses,l1d-read-accesses,l1d-read-misses,l1d-write-accesses,l1i-read-misses,ll-read-accesses,ll-read-misses,ll-write-accesses,ll-write-misses -r multiplication --csv ./out2048/v3_2048_32 \u003e csv/v3_2048_32.csv\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarm-patel%2Fblocked_matrix_multiplication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarm-patel%2Fblocked_matrix_multiplication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarm-patel%2Fblocked_matrix_multiplication/lists"}