DynamoRIO / DynamoRIO/dynamorio
Excessive d_r_mutex_lock_app spinlock overhead on AArch64
Open
Performance
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 31
Description
On tracing a proprietary app, DR seems to spend excessive time in the [spinlock](https://github.com/DynamoRIO/dynamorio/blob/d02506ae72fd69838e559804633ba5f0743604ca/core/utils.c#L847) in `d_r_mutex_lock_app`.
Changing the value of the flag [`spinlock_count_on_SMP`](https://github.com/DynamoRIO/dynamorio/blob/d02506ae72fd69838e559804633ba5f0743604ca/core/optionsx.h#L846) to zero helps.
This issue is to figure out the reason behind the excessive spinlock overhead on AArch64, as this works well on x86.
Contributor guide
Assessment
This issue has not been assessed yet.