[M3devel] good news on Thread Tester program
Coleburn, Randy
rcolebur at SCIRES.COM
Thu May 29 07:35:13 CEST 2014
Tony & Mika:
I have good news to report about the Thread Tester program on Windows XP.
After making the change to RTCollector.m3" at line 593 from "hdr" to "h" and rebuilding everything again, I am now able FOR THE FIRST TIME EVER to get the Thread Tester program to run to completion!
See output below, including verbose mode. I've also run with "-tests ALL" and it still runs to completion.
So, I think Tony's last round of changes may have been instrumental in fixing a problem with the collector, or either my edit did something weird in which case this may give Tony another clue to the puzzle.
--Randy Coleburn
C:\cm3\Sandbox\cm3\m3-libs\m3core\tests\thread>NT386\threadtest.exe
Writing file...done
Creating read threads...done
Creating fork threads...done
Creating alloc threads...done
Creating lock threads...done
running...printing oldest/median age/newest
..........laziest thread is 0/0/0 (tests: read 0/0/0 fork 0/0/0 alloc 0/0/0 lock 0/0/0)
..........laziest thread is 0/0/0 (tests: read 0/0/0 fork 0/0/0 alloc 0/0/0 lock 0/0/0)
..........laziest thread is 0/0/0 (tests: read 0/0/0 fork 0/0/0 alloc 0/0/0 lock 0/0/0)
..........laziest thread is 0/0/0 (tests: read 0/0/0 fork 0/0/0 alloc 0/0/0 lock 0/0/0)
..........laziest thread is 0/0/0 (tests: read 0/0/0 fork 0/0/0 alloc 0/0/0 lock 0/0/0)
..........laziest thread is 0/0/0 (tests: read 0/0/0 fork 0/0/0 alloc 0/0/0 lock 0/0/0)
..........laziest thread is 0/0/0 (tests: read 0/0/0 fork 0/0/0 alloc 0/0/0 lock 0/0/0)
..........laziest thread is 0/0/0 (tests: read 0/0/0 fork 0/0/0 alloc 0/0/0 lock 0/0/0)
..........laziest thread is 0/0/0 (tests: read 0/0/0 fork 0/0/0 alloc 0/0/0 lock 0/0/0)
..........laziest thread is 0/0/0 (tests: read 0/0/0 fork 0/0/0 alloc 0/0/0 lock 0/0/0)
All tests complete. Congratulations.
C:\cm3\Sandbox\cm3\m3-libs\m3core\tests\thread>NT386\threadtest.exe -verbose
Writing file...done
Creating read threads...
read=0
read=1
read=2
done
Creating fork threads...
fork=9
fork=10
fork=11
done
Creating alloc threads...
alloc=15
alloc=16
alloc=17
done
Creating lock threads...
lock=21
lock=22
lock=23
done
running...printing oldest/median age/newest
..........laziest thread is 0/0/0 (tests: read 0/0/0 fork 0/0/0 alloc 0/0/0 lock 0/0/0)
read Thread 0 completed 54 loops.
read Thread 1 completed 59 loops.
read Thread 2 completed 74 loops.
fork Thread 9 completed 4 loops.
fork Thread 10 completed 4 loops.
fork Thread 11 completed 4 loops.
alloc Thread 15 completed 4713 loops.
alloc Thread 16 completed 2190 loops.
alloc Thread 17 completed 2292 loops.
lock Thread 21 completed 1684145 loops.
lock Thread 22 completed 3063707 loops.
lock Thread 23 completed 3541711 loops.
..........laziest thread is 0/0/0 (tests: read 0/0/0 fork 0/0/0 alloc 0/0/0 lock 0/0/0)
read Thread 0 completed 60 loops.
read Thread 1 completed 111 loops.
read Thread 2 completed 64 loops.
fork Thread 9 completed 6 loops.
fork Thread 10 completed 6 loops.
fork Thread 11 completed 6 loops.
alloc Thread 15 completed 3280 loops.
alloc Thread 16 completed 2470 loops.
alloc Thread 17 completed 1307 loops.
lock Thread 21 completed 2317559 loops.
lock Thread 22 completed 3341857 loops.
lock Thread 23 completed 3498231 loops.
..........laziest thread is 0/0/0 (tests: read 0/0/0 fork 0/0/0 alloc 0/0/0 lock 0/0/0)
read Thread 0 completed 19 loops.
read Thread 1 completed 40 loops.
read Thread 2 completed 56 loops.
fork Thread 9 completed 7 loops.
fork Thread 10 completed 7 loops.
fork Thread 11 completed 7 loops.
alloc Thread 15 completed 2100 loops.
alloc Thread 16 completed 1227 loops.
alloc Thread 17 completed 1612 loops.
lock Thread 21 completed 2281438 loops.
lock Thread 22 completed 3874612 loops.
lock Thread 23 completed 3777331 loops.
..........laziest thread is 0/0/0 (tests: read 0/0/0 fork 0/0/0 alloc 0/0/0 lock 0/0/0)
read Thread 0 completed 65 loops.
read Thread 1 completed 67 loops.
read Thread 2 completed 58 loops.
fork Thread 9 completed 7 loops.
fork Thread 10 completed 7 loops.
fork Thread 11 completed 7 loops.
alloc Thread 15 completed 3860 loops.
alloc Thread 16 completed 1897 loops.
alloc Thread 17 completed 1261 loops.
lock Thread 21 completed 2422432 loops.
lock Thread 22 completed 3524236 loops.
lock Thread 23 completed 3381697 loops.
..........laziest thread is 0/0/0 (tests: read 0/0/0 fork 0/0/0 alloc 0/0/0 lock 0/0/0)
read Thread 0 completed 62 loops.
read Thread 1 completed 78 loops.
read Thread 2 completed 105 loops.
fork Thread 9 completed 7 loops.
fork Thread 10 completed 6 loops.
fork Thread 11 completed 8 loops.
alloc Thread 15 completed 3659 loops.
alloc Thread 16 completed 2552 loops.
alloc Thread 17 completed 1838 loops.
lock Thread 21 completed 1202534 loops.
lock Thread 22 completed 2055904 loops.
lock Thread 23 completed 2086094 loops.
..........laziest thread is 0/0/0 (tests: read 0/0/0 fork 0/0/0 alloc 0/0/0 lock 0/0/0)
read Thread 0 completed 57 loops.
read Thread 1 completed 77 loops.
read Thread 2 completed 64 loops.
fork Thread 9 completed 8 loops.
fork Thread 10 completed 9 loops.
fork Thread 11 completed 8 loops.
alloc Thread 15 completed 4430 loops.
alloc Thread 16 completed 3199 loops.
alloc Thread 17 completed 4229 loops.
lock Thread 21 completed 1143292 loops.
lock Thread 22 completed 1630285 loops.
lock Thread 23 completed 2056873 loops.
..........laziest thread is 0/0/0 (tests: read 0/0/0 fork 0/0/0 alloc 0/0/0 lock 0/0/0)
read Thread 0 completed 36 loops.
read Thread 1 completed 32 loops.
read Thread 2 completed 61 loops.
fork Thread 9 completed 7 loops.
fork Thread 10 completed 7 loops.
fork Thread 11 completed 7 loops.
alloc Thread 15 completed 2025 loops.
alloc Thread 16 completed 669 loops.
alloc Thread 17 completed 1874 loops.
lock Thread 21 completed 2457649 loops.
lock Thread 22 completed 4119545 loops.
lock Thread 23 completed 3744966 loops.
..........laziest thread is 0/0/0 (tests: read 0/0/0 fork 0/0/0 alloc 0/0/0 lock 0/0/0)
read Thread 0 completed 19 loops.
read Thread 1 completed 22 loops.
read Thread 2 completed 23 loops.
fork Thread 9 completed 4 loops.
fork Thread 10 completed 4 loops.
fork Thread 11 completed 5 loops.
alloc Thread 15 completed 2785 loops.
alloc Thread 16 completed 1408 loops.
alloc Thread 17 completed 1687 loops.
lock Thread 21 completed 2406833 loops.
lock Thread 22 completed 4204846 loops.
lock Thread 23 completed 4080463 loops.
..........laziest thread is 0/0/0 (tests: read 0/0/0 fork 0/0/0 alloc 0/0/0 lock 0/0/0)
read Thread 0 completed 34 loops.
read Thread 1 completed 66 loops.
read Thread 2 completed 70 loops.
fork Thread 9 completed 6 loops.
fork Thread 10 completed 6 loops.
fork Thread 11 completed 6 loops.
alloc Thread 15 completed 2967 loops.
alloc Thread 16 completed 1514 loops.
alloc Thread 17 completed 1045 loops.
lock Thread 21 completed 2094655 loops.
lock Thread 22 completed 3280113 loops.
lock Thread 23 completed 3632821 loops.
..........laziest thread is 0/0/0 (tests: read 0/0/0 fork 0/0/0 alloc 0/0/0 lock 0/0/0)
read Thread 0 completed 61 loops.
read Thread 1 completed 14 loops.
read Thread 2 completed 26 loops.
fork Thread 9 completed 7 loops.
fork Thread 10 completed 7 loops.
fork Thread 11 completed 7 loops.
alloc Thread 15 completed 3055 loops.
alloc Thread 16 completed 1943 loops.
alloc Thread 17 completed 915 loops.
lock Thread 21 completed 2255832 loops.
lock Thread 22 completed 3704985 loops.
lock Thread 23 completed 3691192 loops.
All tests complete. Congratulations.
C:\cm3\Sandbox\cm3\m3-libs\m3core\tests\thread>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20140529/439c02ae/attachment-0001.html>
More information about the M3devel
mailing list