<samp id="spgec"><em id="spgec"><sub id="spgec"></sub></em></samp>
    1. <acronym id="spgec"><label id="spgec"></label></acronym>
    2. <td id="spgec"></td>

      Spirent TestCenter 快速了解高級順序檢查-云帆興燁

      發表日期:2023/08/11 瀏覽次數:
      經常有同學咨詢Spirent TestCenter測試流統計中的丟包、亂序等統計問題,Spirent TestCenter是如何定義的?為了方便記憶查閱,在此簡單介紹。


      一、 了解Spirent TestCenter Signature


      (1)Signature結構
      111.png
      圖-1


      • Signature 是做了一定的編碼的,需要指定的或者較高版本的wireshark才能解析
      • 總共20 bytes 在報文的有效載荷最后20字節(除FCS,以及一些padding,trailer)
      • Stream ID位包含了32 bits (標記流,在detailed stream results中“Name/ID”也會體現)
      • 精確到2.5ns的 Timestamp (時延計算)
      • 序列號(Sequence),占用長度為6字節,用來指出幀在所在測試流中的順序(高級順序檢查,幀攜帶的序列號)
      • 當Spirent TestCenter在payload插入PRBS 23 時 PRBS bit 將被置位 (誤碼率測試)
      • 告訴接收者,時間戳是在哪個位置打上的(時延計算)
      • UDP/TCP Checksum Cheater field (UDP/TCP校驗和修正)


               
      (2)Signature在流中的配置。
      默認是勾選的,因為流統計基于signature所含內容
      222.png
      圖-2

      (3)使用wireshark查看Signature樣式
      3333.png
      圖-3

      二、 認識序列檢查


      上文我們知道了Spirent TestCenter Signature中攜帶了幀的序列號。在分述之前,首先我們再了解一個概念值 Expected Sequence number(期待序列號)。
      我們用 Exp(sequence)代表期待序列號,Rx(sequence)代表收到的序列號。剛啟動分析器時候,Exp(sequence)無值,在收到第一個幀的時候Exp(sequence) = Rx(sequence)+1
      后續過程中,如果Rx(sequence) < Exp(sequence),那么Exp(sequence)不變;如果Rx(sequence) >= Exp(sequence),那么Exp(sequence) = Rx(sequence)+1
      進一步,我們簡單了解一個概念sequence run windows,它是當前接收到的連續幀組成的一個隊列。這個隊列跟蹤的最大幀個數可以通過Advanced Sequence Threshold自定義,默認為1000。
      4444.png
      圖-4
      部分統計技術原理:
      (1)In sequence count (frames)
      收到幀序列號比上一幀序列號大1
      (2)Out of sequence count (frames)
      不屬于Insequence的幀
      (3)Dropped count (frames)
      收到的幀序列號大于期待幀,丟包數量 = Rx(sequence)- Exp(sequence)
      (4)Duplicate count(frames)
      Rx(sequence)< Exp(sequence)且在sequence run windows范圍內
      (5)In-order count (frames)
      收到的幀序列號大于等于期待幀, Rx(sequence) >= Exp(sequence)
      (6)Re-ordered count (frames)
      Rx(sequence) < Exp(sequence),不在sequence run windows范圍內,但Rx(sequence) >= Exp(sequence) - Advanced Sequence Threshold (如圖-5示)
      (7)Late count (frames)
      晚到幀,Rx(sequence) < Exp(sequence) - Advanced Sequence Threshold (如圖-5示)
      5555.png
      圖-5
                                   
      希望上述介紹能對您有所幫助。



      在線
      客服
      91看片婬黄大片,91狼友社国产在线观看,91老肥熟妇专区,91老肥熟女国产,91老妈熟女精品
      <samp id="spgec"><em id="spgec"><sub id="spgec"></sub></em></samp>
      1. <acronym id="spgec"><label id="spgec"></label></acronym>
      2. <td id="spgec"></td>
        <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <蜘蛛词>| <文本链> <文本链> <文本链> <文本链> <文本链> <文本链>