中文亚洲精品无码_熟女乱子伦免费_人人超碰人人爱国产_亚洲熟妇女综合网

當(dāng)前位置: 首頁 > news >正文

用.net core 做網(wǎng)站公司企業(yè)網(wǎng)站建設(shè)

用.net core 做網(wǎng)站,公司企業(yè)網(wǎng)站建設(shè),廣東seo推廣軟件,廣州做商城網(wǎng)站iperf3測試 1、iperf3簡介 iperf3是一個(gè)主動(dòng)測試網(wǎng)絡(luò)帶寬的工具,可以測試iTCP、UDP、SCTP等網(wǎng)絡(luò)帶寬;可以通過參數(shù)修改網(wǎng)絡(luò)協(xié)議、緩沖區(qū)、測試時(shí)間、數(shù)據(jù)大小等,每個(gè)測試結(jié)果會(huì)得出吞吐量、帶寬、重傳數(shù)、丟包數(shù)等測試結(jié)果 2、參數(shù)詳解 通…

iperf3測試

1、iperf3簡介

iperf3是一個(gè)主動(dòng)測試網(wǎng)絡(luò)帶寬的工具,可以測試iTCP、UDP、SCTP等網(wǎng)絡(luò)帶寬;可以通過參數(shù)修改網(wǎng)絡(luò)協(xié)議、緩沖區(qū)、測試時(shí)間、數(shù)據(jù)大小等,每個(gè)測試結(jié)果會(huì)得出吞吐量、帶寬、重傳數(shù)、丟包數(shù)等測試結(jié)果

2、參數(shù)詳解

通用參數(shù):

  • -v, --version,顯示版本信息并退出;
  • -p, --port #,Server 端監(jiān)聽、Client 端連接的端口號;
  • -f, --format [kmgKMG],報(bào)告中所用的數(shù)據(jù)單位,Kbits, Mbits, KBytes, Mbytes;
  • -i, --interval #,每次報(bào)告的間隔,單位為秒;
  • -F, --file name,測試所用文件的文件名。如果使用在 Client 端,發(fā)送該文件用作測試;如果使用在 Server 端,則是將數(shù)據(jù)寫入該文件,而不是丟棄;
  • -A, --affinity n/n,m,設(shè)置 CPU 親和力;
  • -B, --bind ,綁定指定的網(wǎng)卡接口;
  • -V, --verbose,運(yùn)行時(shí)輸出更多細(xì)節(jié);
  • -J, --json,運(yùn)行時(shí)以 JSON 格式輸出結(jié)果;
  • –logfile f,輸出到文件;
  • -d, --debug,以 debug 模式輸出結(jié)果;
  • -h, --help,顯示幫助信息并退出。

Server 端參數(shù):

  • -s, --server,以 Server 模式運(yùn)行;
  • -D, --daemon,在后臺以守護(hù)進(jìn)程運(yùn)行;
  • -I, --pidfile file,指定 pid 文件;
  • -1, --one-off,只接受 1 次來自 Client 端的測試,然后退出。

Client 端參數(shù):

  • -c, --client ,以 Client 模式運(yùn)行,并指定 Server 端的地址;
  • -u, --udp,以 UDP 協(xié)議進(jìn)行測試;
  • -b, --bandwidth #[KMG][/#],限制測試帶寬。UDP 默認(rèn)為 1Mbit/秒,TCP 默認(rèn)無限制
  • -t, --time #,以時(shí)間為測試結(jié)束條件進(jìn)行測試,默認(rèn)為 10 秒
  • -n, --bytes #[KMG],以數(shù)據(jù)傳輸大小為測試結(jié)束條件進(jìn)行測試;
  • -k, --blockcount #[KMG],以傳輸數(shù)據(jù)包數(shù)量為測試結(jié)束條件進(jìn)行測試;
  • -l, --len #[KMG],讀寫緩沖區(qū)的長度,TCP 默認(rèn)為 128K,UDP 默認(rèn)為 8K
  • –cport ,指定 Client 端運(yùn)行所使用的 TCP 或 UDP 端口,默認(rèn)為臨時(shí)端口;
  • -P, --parallel #,測試數(shù)據(jù)流并發(fā)數(shù)量;多線程
  • -R, --reverse,反向模式運(yùn)行(Server 端發(fā)送,Client 端接收);
  • -w, --window #[KMG],設(shè)置套接字緩沖區(qū)大小,TCP 模式下為窗口大小;
  • -C, --congestion ,設(shè)置 TCP 擁塞控制算法(僅支持 Linux 和 FreeBSD );
  • -M, --set-mss #,設(shè)置 TCP/SCTP 最大分段長度(MSS,MTU 減 40 字節(jié));
  • -N, --no-delay,設(shè)置 TCP/SCTP no delay,屏蔽 Nagle 算法;
  • -4, --version4,僅使用 IPv4;
  • -6, --version6,僅使用 IPv6;
  • -S, --tos N,設(shè)置 IP 服務(wù)類型(TOS,Type Of Service);
  • -L, --flowlabel N,設(shè)置 IPv6 流標(biāo)簽(僅支持 Linux);
  • -Z, --zerocopy,使用 “zero copy”(零拷貝)方法發(fā)送數(shù)據(jù);
  • -O, --omit N,忽略前 n 秒的測試;
  • -T, --title str,設(shè)置每行測試結(jié)果的前綴;
  • –get-server-output,從 Server 端獲取測試結(jié)果;
  • –udp-counters-64bit,在 UDP 測試包中使用 64 位計(jì)數(shù)器(防止計(jì)數(shù)器溢出)。
3、安裝使用
#在線使用下面指令可以安裝iperf3工具
ccc@ccc:~$sudo apt install iperf3

測試用例

服務(wù)端

robot@robot:~$ iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.4.110, port 50512
[  5] local 192.168.4.77 port 5201 connected to 192.168.4.110 port 50518
[ ID] Interval           Transfer     Bandwidth
[  5]   0.00-1.00   sec   573 KBytes  4.69 Mbits/sec                  
[  5]   1.00-2.00   sec   498 KBytes  4.08 Mbits/sec                  
[  5]   2.00-3.00   sec   433 KBytes  3.54 Mbits/sec                  
[  5]   3.00-4.00   sec   519 KBytes  4.25 Mbits/sec                  
[  5]   4.00-5.00   sec   592 KBytes  4.85 Mbits/sec                  
[  5]   5.00-6.00   sec   568 KBytes  4.66 Mbits/sec                  
[  5]   6.00-7.00   sec   632 KBytes  5.18 Mbits/sec                  
[  5]   7.00-8.00   sec   559 KBytes  4.58 Mbits/sec                  
[  5]   8.00-9.00   sec   583 KBytes  4.77 Mbits/sec                  
[  5]   9.00-10.00  sec   684 KBytes  5.61 Mbits/sec                  
[  5]  10.00-10.09  sec  80.6 KBytes  7.11 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  5]   0.00-10.09  sec  6.10 MBytes  5.07 Mbits/sec    6             sender
[  5]   0.00-10.09  sec  5.59 MBytes  4.64 Mbits/sec                  receiver
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------

客戶端

tcp網(wǎng)絡(luò)協(xié)議測試

ccc@ccc:~$ iperf3 -c 192.168.4.77
Connecting to host 192.168.4.77, port 5201
[  4] local 172.17.145.18 port 43830 connected to 192.168.4.77 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   954 KBytes  7.82 Mbits/sec    0   62.2 KBytes
[  4]   1.00-2.00   sec   608 KBytes  4.98 Mbits/sec    0   87.7 KBytes
[  4]   2.00-3.00   sec   547 KBytes  4.48 Mbits/sec    1   72.1 KBytes
[  4]   3.00-4.00   sec   486 KBytes  3.98 Mbits/sec    0   87.7 KBytes
[  4]   4.00-5.00   sec   608 KBytes  4.98 Mbits/sec    0   96.2 KBytes
[  4]   5.00-6.00   sec   547 KBytes  4.48 Mbits/sec    3   49.5 KBytes
[  4]   6.00-7.00   sec   669 KBytes  5.48 Mbits/sec    0   58.0 KBytes
[  4]   7.00-8.00   sec   547 KBytes  4.48 Mbits/sec    2   46.7 KBytes
[  4]   8.00-9.00   sec   547 KBytes  4.48 Mbits/sec    0   58.0 KBytes
[  4]   9.00-10.00  sec   730 KBytes  5.98 Mbits/sec    0   62.2 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  6.10 MBytes  5.12 Mbits/sec    6             sender
[  4]   0.00-10.00  sec  5.59 MBytes  4.69 Mbits/sec                  receiveriperf Done.
  • [ ID]:這是測試會(huì)話的唯一標(biāo)識符,此處為數(shù)字4,表示這是第四個(gè)測試會(huì)話。
  • Interval:測試的時(shí)間區(qū)間,從0.00秒開始,持續(xù)到10.00秒結(jié)束。
  • Transfer:在指定時(shí)間范圍內(nèi)傳輸?shù)臄?shù)據(jù)總量。發(fā)送端傳輸了大約6.10 MBytes(兆字節(jié))的數(shù)據(jù),接收端接收了大約5.59 MBytes的數(shù)據(jù)。
  • Bandwidth:數(shù)據(jù)傳輸?shù)膸?#xff0c;即每秒傳輸?shù)臄?shù)據(jù)量。發(fā)送端的帶寬為5.12 Mbits/sec(兆比特每秒),接收端的帶寬為4.69 Mbits/sec。
  • Retr:重傳次數(shù),出現(xiàn)在發(fā)送端的信息中,此處為6,表示在測試期間發(fā)送端有6次數(shù)據(jù)包需要重傳。

在這次10秒的網(wǎng)絡(luò)性能測試中,發(fā)送端以大約5.12兆比特每秒的帶寬傳輸數(shù)據(jù),共傳輸了6.10兆字節(jié),期間發(fā)生了6次數(shù)據(jù)包重傳。接收端則以大約4.69兆比特每秒的帶寬接收了5.59兆字節(jié)的數(shù)據(jù)。這表明網(wǎng)絡(luò)連接存在一定的丟包和帶寬波動(dòng),需要進(jìn)一步排查網(wǎng)絡(luò)質(zhì)量或設(shè)備性能問題。

udp網(wǎng)絡(luò)協(xié)議測試

ccc@ccc:~$ iperf3 -u -b 50M -c 192.168.4.77
Connecting to host 192.168.4.77, port 5201
[  4] local 172.17.145.18 port 2307 connected to 192.168.4.77 port 5201
[ ID] Interval           Transfer     Bandwidth       Total Datagrams
[  4]   0.00-1.00   sec  5.41 MBytes  45.4 Mbits/sec  693
[  4]   1.00-2.00   sec  5.96 MBytes  50.0 Mbits/sec  763
[  4]   2.00-3.00   sec  5.97 MBytes  50.1 Mbits/sec  764
[  4]   3.00-4.00   sec  5.96 MBytes  50.0 Mbits/sec  763
[  4]   4.00-5.00   sec  5.95 MBytes  49.9 Mbits/sec  761
[  4]   5.00-6.00   sec  5.97 MBytes  50.1 Mbits/sec  764
[  4]   6.00-7.00   sec  5.95 MBytes  49.9 Mbits/sec  761
[  4]   7.00-8.00   sec  5.98 MBytes  50.1 Mbits/sec  765
[  4]   8.00-9.00   sec  5.95 MBytes  49.9 Mbits/sec  761
[  4]   9.00-10.00  sec  5.95 MBytes  49.9 Mbits/sec  762
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Jitter    Lost/Total Datagrams
[  4]   0.00-10.00  sec  59.0 MBytes  49.5 Mbits/sec  0.000 ms  0/0 (0%)
[  4] Sent 0 datagramsiperf Done.
  • Jitter:表示數(shù)據(jù)包傳輸延遲的變化情況,數(shù)值為0.000毫秒,表示數(shù)據(jù)包之間的延遲非常穩(wěn)定;
  • Lost/Total Datagrams:表示丟失率,為0%,即所有發(fā)送的數(shù)據(jù)包都成功到達(dá)了目的地;
  • 專屬學(xué)習(xí)鏈接:https://xxetb.xetslk.com/s/36yiy3
http://m.risenshineclean.com/news/60232.html

相關(guān)文章:

  • 新手學(xué)做網(wǎng)站的教學(xué)書百度怎么搜索圖片
  • 做導(dǎo)航網(wǎng)站賺錢嗎搜索推廣公司
  • 滿屏網(wǎng)站做多大尺寸網(wǎng)絡(luò)平臺建設(shè)及運(yùn)營方案
  • 山西做網(wǎng)站的企業(yè)站長工具官網(wǎng)域名查詢
  • 公司網(wǎng)站做地圖地址互聯(lián)網(wǎng)推廣怎么找渠道
  • 商城網(wǎng)站建設(shè)預(yù)算要多少錢關(guān)鍵詞推廣方式
  • 網(wǎng)站標(biāo)簽怎么做自媒體引流推廣
  • 花瓣網(wǎng) 素材 圖庫響應(yīng)式網(wǎng)站 樂云seo品牌
  • 政府網(wǎng)站什么程序做的百度蜘蛛池自動(dòng)收錄seo
  • 網(wǎng)站怎么做競價(jià)推廣珠海seo關(guān)鍵詞排名
  • 織夢網(wǎng)站案例企業(yè)網(wǎng)站推廣建議
  • 淘寶優(yōu)惠劵網(wǎng)站怎么做app制作一個(gè)需要多少錢
  • 長壽網(wǎng)站建設(shè)html網(wǎng)頁制作用什么軟件
  • 隨州公司做網(wǎng)站網(wǎng)址大全
  • 網(wǎng)站站外優(yōu)化網(wǎng)絡(luò)公司的推廣
  • 常州優(yōu)化網(wǎng)站網(wǎng)絡(luò)優(yōu)化主要做什么
  • 上杭網(wǎng)站定制最新網(wǎng)絡(luò)營銷方式有哪些
  • 武漢制作網(wǎng)站公司哪些行業(yè)適合做網(wǎng)絡(luò)推廣
  • 網(wǎng)站設(shè)計(jì)東莞微博付費(fèi)推廣有用嗎
  • 剛做的單頁網(wǎng)站怎么預(yù)覽軟件培訓(xùn)機(jī)構(gòu)
  • 游戲網(wǎng)站建設(shè)一條龍濟(jì)南網(wǎng)站建設(shè)公司選濟(jì)南網(wǎng)絡(luò)
  • 網(wǎng)站開發(fā)維護(hù)者百度搜索風(fēng)云榜官網(wǎng)
  • 佛山最新通知今天大冶seo網(wǎng)站優(yōu)化排名推薦
  • 網(wǎng)站建設(shè)開發(fā)網(wǎng)站案例項(xiàng)目費(fèi)用合肥網(wǎng)絡(luò)優(yōu)化公司有幾家
  • 京東商城網(wǎng)站建設(shè)目標(biāo)微信營銷軟件
  • wordpress登入界面滎陽seo
  • 一般的政府網(wǎng)站空間多少錢一年黑帽seo工具
  • 做代購注冊什么網(wǎng)站b站視頻推廣怎么買
  • 河北涿州網(wǎng)站建設(shè)新站seo優(yōu)化快速上排名
  • 河南網(wǎng)站推廣今日頭條熱搜榜前十名