summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch
diff options
context:
space:
mode:
authormassimo toscanelli <massimo.toscanelli@leica-geosystems.com>2021-07-08 12:58:51 +0000
committerKhem Raj <raj.khem@gmail.com>2021-07-13 09:39:15 -0700
commit59cce5ad1603c2975684ae15b639e0e3cd688c40 (patch)
treefe2e71c15e1c8347cda2a709ef98afe74556051c /meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch
parenta19be0890100022853e3bef457a3132ce153f6af (diff)
downloadmeta-openembedded-59cce5ad1603c2975684ae15b639e0e3cd688c40.tar.gz
sysbench: fix memory test
In sysbench version 0.4, the tmp variable used by the memory test to execute requests is optimized by the compiler. Caching mechanism reduces the direct accesses to the memory increasing the transfer speed. This leads to false timing estimations that considerably affect read and also random write operations. In sysbench version 1, this issue is fixed adding the volatile modifier to the tmp variable. This prevents compiler optimizations forcing a direct access to the memory. The final result is a realistic transfer speed measurement. Signed-off-by: massimo toscanelli <massimo.toscanelli@leica-geosystems.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch')
0 files changed, 0 insertions, 0 deletions