memtester icon indicating copy to clipboard operation
memtester copied to clipboard

add multithread option , add option to only run stuck_address test

Open wsmlby opened this issue 2 years ago • 3 comments

wsmlby avatar Aug 02 '23 01:08 wsmlby

About "add option to only run stuck_address test", I think adding an option for a specific test is not a good idea. Somebody would like to run only Random Value + Bit Flip + 18-bit Writes we cannot realistically have a configuration flag for every possible combination. Even one flag per each specific test would bee too much.

Rather we should have a single way to select the desired set of tests for each execution, for example:

# Enable only selected tests
memtester -e stuck-addr,bit-flip,16bit-writes 100M 5
# Enable all tests except selected ones
memtester -d stuck-addr,bit-flip,16bit-writes 100M 5

Does it look reasonable?

lucaceresoli avatar Aug 03 '23 07:08 lucaceresoli

The selection of test can already be performed via the environment variable MEMTESTER_TEST_MASK. This feature may not be clear in the manpage, but have a look at the source code to get it correctly.

jnavila avatar Aug 03 '23 17:08 jnavila

Also remember that I do not intend to maintain memtester, because that would be a fork. If you are interested in helping on the development, please send your patches to Charles Cazabon, who is the original author of this tool.

see https://pyropus.ca./software/memtester/ for more details.

jnavila avatar Aug 03 '23 17:08 jnavila