[LTP] [PATCH v3 3/3] ltp/numa: use string to describe operation

Cyril Hrubis chrubis@suse.cz
Fri May 19 14:23:26 CEST 2017


Hi!
I've tested and pushed the patchset, thanks.

And also found that memhog test fails on first iteration (when the
memhog binary is not in the page cache) because the test script runs too
fast and looks at the statistics even befor the memmhog binary has a
chance to run. The problem can be simulated for me by dropping caches by

echo 3 > /proc/sys/vm/drop_caches

then running the test.

I guess that the best solution would be to wait for the memhog to print
at least one dot before we start the actuall test. Unfortunatelly I
cannot think of any better solution than redirectiong the output to a
file and then checking the content in the script in a loop.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list