{"id":17802938,"url":"https://github.com/arodr967/virtual_memory_management","last_synced_at":"2025-04-02T04:44:06.600Z","repository":{"id":93349163,"uuid":"97423541","full_name":"arodr967/virtual_memory_management","owner":"arodr967","description":"A system call written in C, to report on memory management statistics, and a counter-based clock page replacement algorithm.","archived":false,"fork":false,"pushed_at":"2017-07-22T20:16:42.000Z","size":537,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-07T19:33:51.968Z","etag":null,"topics":["algorithm","linux-kernel","memory-management","memory-stats","system-calls","virtual-memory"],"latest_commit_sha":null,"homepage":null,"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/arodr967.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-07-17T01:39:46.000Z","updated_at":"2017-07-18T00:25:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb061858-a031-4a19-bbf1-50e5bb486595","html_url":"https://github.com/arodr967/virtual_memory_management","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/arodr967%2Fvirtual_memory_management","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arodr967%2Fvirtual_memory_management/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arodr967%2Fvirtual_memory_management/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arodr967%2Fvirtual_memory_management/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arodr967","download_url":"https://codeload.github.com/arodr967/virtual_memory_management/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246758289,"owners_count":20828919,"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":["algorithm","linux-kernel","memory-management","memory-stats","system-calls","virtual-memory"],"created_at":"2024-10-27T12:45:00.142Z","updated_at":"2025-04-02T04:44:06.578Z","avatar_url":"https://github.com/arodr967.png","language":"C","readme":"# Memory Management in Linux Kernel\n\nThe tester files for part 1 and 2 can be found in the `/test` directory.\n\n## Part 1\n\n#### Compile \u0026 Run\n\n1. `gcc test_memstats.c -o memstats`\n2. `./memstats`\n\n## Part 2\n\n#### Compile \u0026 Run\n\n1. `gcc test_algorithms.c -o algo`\n2. `./algo`\n\n#### Trigger counter-based clock page replacement algorithm\n\nYou can easily trigger on and off the algorithm by updating the `IS_COUNTER_BASED_CLOCK` variable defined in `vmscan.c`.\n\n\u003e NOTE: This would require you to recompile and reboot the kernel. You can do this by using either `compile.sh` or `full_compile.sh`","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farodr967%2Fvirtual_memory_management","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farodr967%2Fvirtual_memory_management","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farodr967%2Fvirtual_memory_management/lists"}