two patches to improve netperf testcase


Two simple patches, the second one will reduce the test time.

@wquan