Question about hugetlbfs tests
Hi,
I have been looking to understand the TODO mentioned in the damon-tests repo on github here: https://github.com/awslabs/damon-tests/tree/master/corr
The TODO in corr/TODO says "Test hugetlbfs". I want to understand what is required in this. Do we need a test that writes data to hugepages and reads it back to check if read/write is successful? Or do we need a hugepage scheme that is applied on masim, which we then check to ensure hugepages were used? Or is something else required?
Please advise on this.
Thanks,
Gautam
SeongJae Park
maintainerHi Gautam,
Quoted 7 lines · On Tue, 16 Aug 2022 22:23:55 +0530 Gautam Menghani…
Hi,
I have been looking to understand the TODO mentioned in the damon-tests repo on github here: https://github.com/awslabs/damon-tests/tree/master/corr
The TODO in corr/TODO says "Test hugetlbfs". I want to understand what is required in this.
Thank you very much for showing your interest in the TODO item!
Quoted 4 lines
Do we need a test that writes data to hugepages and reads it back to check if read/write is successful?
Or do we need a hugepage scheme that is applied on masim, which we then check to ensure hugepages were used?
I'd prefer this option. That is, making 'masim' to support use of hugetlbfs and checking if DAMON still monitors the access pattern well, maybe by extending masim-record test[1].
Quoted 2 lines
Or is something else required?
Please advise on this.
No problem, hope the above answer be some help. If there is anything unclear or I'm wrong, please let me know.
And, now I remember that you already sent me this question via github[2], and I was totally missing that. Please forgive my dullness. I was in vacation at that time, so I wanted to answer as soon as return from vacation, but I was forgetting till now. Sorry again.
[1] https://github.com/awslabs/damon-tests/blob/master/corr/tests/masim-record.sh
[2] https://github.com/awslabs/damon-tests/issues/1
Thanks,
SJ
Quoted 3 lines
Thanks,
Gautam