Closed lineagech closed 1 year ago
I did the test for page cache oversubscription with very simple setting:
Environment:
Linux 5.4.0-131-generic #147-Ubuntu SMP CPU: Intel(R) Xeon(R) Gold 6226R CPU @ 2.90GHz GPU: Nvidia A100 @ 1410 MHz Driver version: 515.65.01 CUDA version: CUDA 11.7
benchmark/vectoradd/settings.h:
numThreads = 256; maxPageCacheSize = 2097152; n_elems = 131072;
The program would hang because https://github.com/ZaidQureshi/bam/blob/ca34b6e3c8e62afb40a026a26411381e63abdfb8/include/page_cache.h#L1836 cnt never decreased to zero so the page could not be reused.
I also encountered this issue sometimes when I used the large size (like heisenbug...):
numThreads = 256; maxPageCacheSize = 12884901888; n_elems = 1073741824;
Is this still an issue, if yes, please reopen. Else I am closing this.
I did the test for page cache oversubscription with very simple setting:
Environment:
benchmark/vectoradd/settings.h:
The program would hang because https://github.com/ZaidQureshi/bam/blob/ca34b6e3c8e62afb40a026a26411381e63abdfb8/include/page_cache.h#L1836 cnt never decreased to zero so the page could not be reused.
I also encountered this issue sometimes when I used the large size (like heisenbug...):
benchmark/vectoradd/settings.h: