1 NAME = "Netperf2 (Parallel)" 2 AUTHOR = "Martin Bligh <mbligh (a] google.com>" 3 TIME = "MEDIUM" 4 TEST_CATEGORY = "BENCHMARK" 5 TEST_CLASS = "HARDWARE" 6 TEST_TYPE = "CLIENT" 7 DOC = """ 8 TCP/UDP/sockets/etc performance benchmark. 9 See http://www.netperf.org/netperf/NetperfPage.html. 10 """ 11 12 def client(): 13 job.run_test('netperf2', 14 server_ip='127.0.0.1', 15 client_ip='127.0.0.1', 16 role='client', 17 tag='client') 18 19 def server(): 20 job.run_test('netperf2', 21 server_ip='127.0.0.1', 22 client_ip='127.0.0.1', 23 role='server', 24 tag='server') 25 26 job.parallel([server], [client]) 27