[openfabrics-ewg] Minor issues with resource tracking test
Sharma, Karun
ksharma at silverstorm.com
Thu May 25 23:44:16 PDT 2006
Hi Dotan:
While testing, i observed that we are using -m option 2 times as per help output (see below). One is to specify "MR TYPE" and other is to specify "Multicast" option. This is quite misleading.
Moreover, -m option doesn't affect Multicast setting. "-m YES" or "-m NO" doesn't switch on/off multicast. It execute the test with default MR Type and default Multicast setting.
If we specify -m to any other number from 6 onwards, we get an error saying "Bad option". But if we specify any alphabet to -m, the test executes with default settings. For eg.
"./resource_tracking_test -m 6" gives error but "./resource_tracking_test -m a" doesn't give any error.
One more thing, please let me know if there is any upper limit to -x (number of threads) option. It fails if i specify -x 20.
Thanks
Karun
#############################################################
[st44 Fri May 26 02:02:50]# ./resource_tracking_test -h
-h, --help Print this message and exit
-t, --time_out=TIME_OUT The time out for this test.
-n, --object_number=NUMBER_OF_OBJECT The number of objects to create.
-m, --MR_TYPE=MEM_REGION_TYPE The MR type: 0=GLOBAL_ARRAY, 1=LOCAL_ARRAY, 2=MALLOC, 3=CONST_CHAR, 4=SHARED_MEMORY, 5=LAST_BLOCK
-s, --SEED=SEED_NUMBER Start seed for generation of random test - Default 1, 0 for random seed.
-x, --threads=THREAD_NUMBER The number of threads for this run - Default 1. each thread will run 6 threads
-p, --pulse=PULSE Give pulse to the screen every n iteration
-c, --use_cb=USE_CB If you want to use the CB function for this - Default NO (0 for no) NOT fully working .
-H, --device=HOST_ID HCA to use - Default mthca0 for gen2.
-m, --multicast=MULTI_CAST Check multicast groups: YES/ NO/ ONLY
[st44 Fri May 26 02:02:59]#
#####################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20060526/6948b928/attachment.html>
More information about the ewg
mailing list