Overview
ãããã¯ãŒã¯ããã¹ãã®çé確èªãç¶æ³ç¢ºèª, éä¿¡é床ããã®æ¹åã«ã€ããŠã®è©±é¡.
ãããããšãã«TCPãHTTPã®é床æ¹åã®è©±é¡ã«ãªã(ã¡ã¢ã®å 容次第ã§é©åã«åå²).
ãããã¯ãŒã¯ç¹æ§
ãããã¯ãŒã¯ã®ç¹æ§ãè¡šã代衚çãªæ°å€ã¯ä»¥äž.
- 垯åå¹ (bandwidth)
- é 延æé (latency/RTT)
- ã¹ã«ãŒããã
from. TCP ã®æ§èœæž¬å®ææšãšãã®èšæž¬æ¹æ³ã«ã€ã㊠| Futurismo
垯åå¹ (bandwidth)
äžå®æéã«ééã§ããããŒã¿é.
ðã¬ã€ãã³ã·(latency)
é 延æé, ã¬ã€ãã³ã·ãšããèšèã®ã»ããæå.
ããã€ã¹ã«å¯ŸããŠããŒã¿è»¢éãªã©ãèŠæ±ããŠãããã®çµæãè¿éããããŸã§ã®é 延æéã®ããš.
ã€ã³ã¿ãŒãããã«ãããåŸåŸ©ã¬ã€ãã³ã·ã«ã€ããŠã¯ã©ãŠã³ãããªããã¿ã€ã (Round Trip Time, RTT) ãšãåŒã°ãã.
é 延 (ã¬ã€ãã³ã·) ãšãããã®ã¯ 1 ãã±ãããšãã® ACK (åãåã£ããšããå¿ç)ã®åŸåŸ©ã«ãããæèŠæé RTT (Round-Trip-Time) ã§èŠã.
ãããã¯ãŒã¯ã®é 延ã«ã€ããŠçé¢ç®ã«æžã - tagomoris ã®ã¡ã¢çœ®ãå Ž
äŒéçµè·¯ã§ã®åã ã®ãã±ããã®æéé ã. ããŒã¿çµè·¯ã®é·ã (é ã) ãšèãããšè¯ã. 究極çã«ã¯ âè·é¢Ã·å éâ ã ãã®æéé ãããã.
ãããã¯-ã¯ã®é床ã調ã¹ãæ¹æ³
ðRTT
ãã±ãããéä¿¡ããŠåä¿¡ããåŽãéä¿¡åŽã« ACK ãã±ãããéã, éä¿¡åŽã§ãããååããŸã§ã®æé.
ref. ã©ãŠã³ãããªããã¿ã€ã - Wikipedia
TCP ã§ã®éä¿¡ã«é¢ããŠã¯, ã©ãŠã³ãããªããã¿ã€ã ã¯ã»ã°ã¡ã³ãéä¿¡ãšACK åä¿¡ã®éã®æéãèšæž¬ããããšã«ãã 3 ãŠã§ã€ã»ãã³ãã·ã§ã€ã¯ã§èšç®ããã.
ãã±ãããéä¿¡ããŠåä¿¡ããåŽãéä¿¡åŽã« ACK ãã±ãããéã, éä¿¡åŽã§ãããååããŸã§ã®æé.
ping ãå©çšã㊠RTT ãèšæž¬
C:\Users\tsu-nera>ping www.google.co.jp
www.google.co.jp [173.194.117.183] ã« ping ãéä¿¡ããŠããŸã 32 ãã€ãã®ããŒã¿: 173.194.117.183 ããã®å¿ç: ãã€ãæ° =32 æé =11ms TTL=55 173.194.117.183 ããã®å¿ç: ãã€ãæ° =32 æé =20ms TTL=55 173.194.117.183 ããã®å¿ç: ãã€ãæ° =32 æé =10ms TTL=55 173.194.117.183 ããã®å¿ç: ãã€ãæ° =32 æé =10ms TTL=55
173.194.117.183 ã® ping çµ±èš: ãã±ããæ°: éä¿¡ = 4, åä¿¡ = 4, æ倱 = 0 (0% ã®æ倱), ã©ãŠã³ã ããªããã®æŠç®æé (ããªç§): æå° = 10ms, æ倧 = 20ms, å¹³å = 12ms
ðã¹ã«ãŒããã
çè«çã«å®çŸå¯èœãª TCP ã®æ倧転éé床.
ã¹ã«ãŒããã (bps) = TCP ãŠã£ã³ããŠãµã€ãº (KB) * 8 / RTT (S)
ping 㧠RTT ã調ã¹ãã, x 2 ãããããšãå¿ããªã.
- 第 1 å FTP ã§ã¹ã«ãŒãããèšæž¬ãããšãã®æ³šæäºé :æç§æžã«ã¯èŒã£ãŠããªã ãããã¯ãŒã¯ãšã³ãžãã¢ã®å®è·µæè¡|gihyo.jp ⊠æè¡è©è«ç€Ÿ
- ãããã¯-ã¯ã®é床ã調ã¹ãæ¹æ³
- (ãããã¯ãŒã¯) TCP ã®ã¹ã«ãŒããããš RTT ã®é¢ä¿ : 3 æµããã°ã©ãã®ã¡ã¢æžã
- ãããã¯ãŒã¯/ ã¹ãã¬ãŒãžã®åŠçèœåããã§ãã¯ããããã®ãã³ãããŒã¯ããŒã« - ãããã®ãã¬ããž
ãŠã£ã³ããŠãµã€ãºã 64K ãã€ãã®å Žåã® TCP æ倧ã¹ã«ãŒãããã®çè«å€ã¯ä»¥äžã®ãšãã.
RTT 1msec ã®ãšã 512Mbps
RTT 5msec ã®ãšã 102.4Mbps
RTT 10msec ã®ãšã 51.2Mbps
RTT 15msec ã®ãšã 34.1Mbps
RTT 20msec ã®ãšã 25.6Mbps
RTT 50msec ã®ãšã 10.24Mbps
RTT 100msec ã®ãšã 5.12Mbps
RTT 200msec ã®ãšã 2.56Mbps
èšæž¬ããŒã«
- ð§Speedtest: ã€ã³ã¿ãŒãããéä¿¡é床
ðRelated
- tags. ðNetworking
- refs.