I'm getting wildly different results on the host vs in an lxc container (Centos 8) when running a specific sysbench memory test (--memory-access-mode=rnd). I don't seem to be seeing this with other sysbench tests (CPU / IO / mutex) or even other memory tests (i.e. sequential). Any ideas?
This is PMX 7.0, but it was doing the same thing on the same hardware with PMX 6.4 previously. There's nothing else running on the host or any other containers other than this one I'm using to test with, and it has no other load on it than this test.
sysbench memory run --memory-access-mode=rnd
Host:
Container:
What really sticks out to me is the 2621MB/s vs 682MB/s.
I've tried messing around with cores vs cpu limit, etc. or even allowing unlimited cpu or limiting to a single core (wondering if it was a NUMA issue, as it's an AMD Epyc processor), to no avail.
This is PMX 7.0, but it was doing the same thing on the same hardware with PMX 6.4 previously. There's nothing else running on the host or any other containers other than this one I'm using to test with, and it has no other load on it than this test.
sysbench memory run --memory-access-mode=rnd
Host:
Code:
Total operations: 26848812 (2684474.24 per second)
26219.54 MiB transferred (2621.56 MiB/sec)
General statistics:
total time: 10.0001s
total number of events: 26848812
Latency (ms):
min: 0.00
avg: 0.00
max: 0.11
95th percentile: 0.00
sum: 7471.45
Threads fairness:
events (avg/stddev): 26848812.0000/0.00
execution time (avg/stddev): 7.4715/0.00
Container:
Code:
Total operations: 6994068 (699337.40 per second)
6830.14 MiB transferred (682.95 MiB/sec)
General statistics:
total time: 10.0001s
total number of events: 6994068
Latency (ms):
min: 0.00
avg: 0.00
max: 0.13
95th percentile: 0.00
sum: 9187.69
Threads fairness:
events (avg/stddev): 6994068.0000/0.00
execution time (avg/stddev): 9.1877/0.00
What really sticks out to me is the 2621MB/s vs 682MB/s.
I've tried messing around with cores vs cpu limit, etc. or even allowing unlimited cpu or limiting to a single core (wondering if it was a NUMA issue, as it's an AMD Epyc processor), to no avail.