]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/ltp-ddt.git/commitdiff
usb: usb_test.sh: Improve test parameters for better throughput
authorRoger Quadros <rogerq@ti.com>
Thu, 21 Nov 2013 11:20:01 +0000 (13:20 +0200)
committerYan Liu <yan-liu@ti.com>
Fri, 3 Jan 2014 03:44:59 +0000 (22:44 -0500)
These parameters give a better throughput measurement.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
testcases/ddt/scripts/usb/usb_test.sh

index b5a557803a7e176a3712c3b118fe779a14b34995..547704a8e35dc077f4480f6a197cdb43ce8da54f 100755 (executable)
@@ -195,9 +195,9 @@ case "$TYPE" in
            test_print_trc "** Host Write (OUT) performance test case:"
 
            # 100MB transfer
-           COUNT=32
-           BUFLEN=8192
-           SGLEN=400
+           COUNT=100
+           BUFLEN=131072
+           SGLEN=8
            do_test -t 5 -g $SGLEN
            B1=`echo "scale=3; 100/$T" | bc`
            test_print_trc "|PERFDATA|100MB|write(OUT)|throughput:"`printf '%.2f' $B1`"MB/s|"
@@ -207,9 +207,9 @@ case "$TYPE" in
            test_print_trc "** Host Read (IN) performance test case:"
 
            # 100MB transfer
-           COUNT=32
-           BUFLEN=8192
-           SGLEN=400
+           COUNT=100
+           BUFLEN=131072
+           SGLEN=8
            do_test -t 6 -g $SGLEN
            B1=`echo "scale=3; 100/$T" | bc`
            test_print_trc "|PERFDATA|100MB|read(IN)|throughput:"`printf '%.2f' $B1`"MB/s|"