You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have noticed an issue when running MultiPIM in host mode with multiple programs (multiple copies, for example, mcf x8). An assert error occurs in the 'T* insert(Address vpage_no, T& entry)' function in tlb/common_tlb.h, specifically at 'assert( !tlb_trie.count(vpage_no));' returning false.
Upon debugging, I found no issues with the operation of the code. However, it seems like the assert error is occurring due to parts of the code executing asynchronously. The reason I came to this conclusion is that the frequency of the problem significantly decreased when I defined and executed "debug_print()".
I managed to solve the assert error caused by asynchronous execution by acquiring a lock with 'futex_lock' in the 'shootdown(Address vpn)' function in tlb/common_tlb.h.
I have noticed an issue when running MultiPIM in host mode with multiple programs (multiple copies, for example, mcf x8). An assert error occurs in the 'T* insert(Address vpage_no, T& entry)' function in tlb/common_tlb.h, specifically at 'assert( !tlb_trie.count(vpage_no));' returning false.
Upon debugging, I found no issues with the operation of the code. However, it seems like the assert error is occurring due to parts of the code executing asynchronously. The reason I came to this conclusion is that the frequency of the problem significantly decreased when I defined and executed "debug_print()".
I managed to solve the assert error caused by asynchronous execution by acquiring a lock with 'futex_lock' in the 'shootdown(Address vpn)' function in tlb/common_tlb.h.
I would appreciate if you could consider this in your next patch. Thank you for your attention to this matter.
The text was updated successfully, but these errors were encountered: