test case. ./out 10000000 2000 < threadperf_test_case