simple patchset to improve netperf testcase

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