ARM-software / synchronization-benchmarks

Collection of synchronization micro-benchmarks and traces from infrastructure applications
Other
37 stars 36 forks source link

Add automatic lstopo core order generation to lockhammer sweeptest #34

Closed zoybai closed 6 years ago

zoybai commented 6 years ago

We parse hwloc lstopo output in test_lockhammer.py and channel them to lockhammer workload via new -o option.

Therefore we solved the thread pinning order problem and sweep test can now choose the corresponding cluster-core/hyper-thread pair correctly.

zoybai commented 6 years ago

Verified on EPYC server for both sweeptest and unittest

zoybai commented 6 years ago

This patch is depend on pull request #33

zoybai commented 6 years ago

In order to pass this test, we need to install hwloc on testing machine: apt install hwloc

zoybai commented 6 years ago

Installed hwloc on our jenkins server, now this patch can pass the unittest.