RFC-1242這麼說:
The maximum rate at which none of the offered frames are dropped by the device.
有些中文翻譯會翻成"吞吐量", 但簡單講就是一個機器在沒有掉包的情況底下, 最大的封包傳送率.
RFC-2544這麼說:
Send a specific number of frames at a specific rate through the DUT and then count the frames that are transmitted by the DUT. If the count of offered frames is equal to the count of received frames, the fewer frames are received than were transmitted, the rate of the offered stream is reduced and the test is rerun.
The throughput is the fastest rate at which the count of test frames transmitted by the DUT is equal to the number of test frames sent to it by the test equipment.
簡單講就是, "用一定的速率, 輸入一定量的封包給DUT, Tx=Rx, 如果Rx<Tx (drop)的話, 就必須把率調低, 然後再送一次. 用此方法測到的最大速率, 就是Throughput."
基本上現在的機器都能達到100% Throughput了, 所以也不太需要特別的手法去追.
注意在測試的時候須把所有的port都接滿(包含fiber).
接的port數加起來只要超過CPU tunnel即可.
Upper layer: UDP.
為什麼上層要加UDP?而不是TCP?