Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
control/ | 07-Sep-2024 | - | 246 | 150 | ||
functional/ | 07-Sep-2024 | - | 1,587 | 1,092 | ||
regression/ | 07-Sep-2024 | - | 531 | 347 | ||
stress/ | 07-Sep-2024 | - | 222 | 150 | ||
.gitignore | D | 07-Sep-2024 | 228 | 12 | 11 | |
Makefile | D | 07-Sep-2024 | 269 | 12 | 4 | |
README | D | 07-Sep-2024 | 1.7 KiB | 60 | 43 | |
memcontrol01.c | D | 07-Sep-2024 | 1.7 KiB | 63 | 40 | |
memcontrol02.c | D | 07-Sep-2024 | 3.8 KiB | 144 | 96 | |
memcontrol03.c | D | 07-Sep-2024 | 6 KiB | 254 | 166 | |
memcontrol04.c | D | 07-Sep-2024 | 6 KiB | 254 | 166 | |
memcontrol_common.h | D | 07-Sep-2024 | 1.1 KiB | 48 | 30 |
README
1TEST SUITE: 2 3The directory memcg contains the tests related to memory resource controller. 4Those testcases can reproduce bugs we found. 5 6There are total 44 testcases that have been added. These testcases 7contain the regression test, basis operation test and stress test of memctl. 8 9NOTE: the test can be run by root only. 10 11TESTS AIM: 12 13The aim of the tests is to track any future regressions, test the functionality 14of memctl.. 15 16FILES DESCRIPTION: 17 18control/memcg_control_test.sh 19-------------------- 20This script runs the testcases of control test. 21 22control/mem_process.c 23-------------------- 24The program allocates memory specified using the '-m' option when 'm' is received 25through the named pipe /tmp/status_pipe and frees it on receiving 'm' again. 26It exits on receiving 'x'. It gets the page size on specifying the '-p' option. 27 28functional/memcgroup_function_test.sh 29-------------------- 30This script runs all the 38 testcases of basis operation. 31 32functional/memcgroup_getpagesize.c 33-------------------- 34The program gets page size through getpagesize(). 35 36functional/memcgroup_process.c 37-------------------- 38The program allocates some memory according to the user input when received SIGUSR. 39And, it frees all the allocated when received SIGUSR again. 40 41stress/memcgroup_stress_test.sh 42-------------------- 43This script runs all the 2 testcases of stress test. 44 45stress/memcgroup_process_stress.c 46-------------------- 47The program allocates some memory in a specified time period when received SIGUSR. 48 49regression/memcg_regression_test.sh 50-------------------- 51This script runs all the 4 testcases of regression test. 52 53regression/memcg_test_*.c/sh 54-------------------- 55The programs run each regression test. 56 57README 58------ 59The one you have gone through. 60