networking - What does the -P flag do for iperf? -
what do? if -p 100 on client side,
does open 100 ports , make 100 connections given server in parallel?
is what's used simulate server maintaining "x (simultaneous) connections in parallel"?
note: answer iperf 2 related. iperf 3 single threaded.
yes, if client computer supports threads there 100 traffic threads , 1 reporter thread. traffic threads send traffic server threads "in parallel" , reporter thread output statistics stdout per -i value. how "in parallel" depends upon cpu cores , os scheduling. more cores can allow more traffic threads run in parallel. when cores exhausted threads scheduled underlying os scheduler. (note: in 2.0.8 or greater , linux, traffic threads can set realtime scheduling using -z or --realtime.)
bob
Comments
Post a Comment