éå»ã® ãã¬ããå ãã¯ã¹ã + IPoE 㧠scp, cvs, rsync ã® SSHéä¿¡ãã§ããªãåé¡ ã®è¨äºã«å¯¾ãã¦ãIPQoSã®è¨å®ãå¤æ´ãããã¨ã§ scpã®è»¢éé度ãæ¹åãããã¨ããã³ã¡ã³ããé ãã¦ããã®ã§ãããå½ææ¤è¨¼ãã¦ã¿ãã¨ããã§ã¯ IPQoSè¨å®ä»¥ä¸ã«è¨æ¸¬æã®è»¢éé度ãã©ã¤ããã²ã©ããæå³ã®ããæ°åã¯è¦³æ¸¬ã§ãã¦ãã¾ããã§ããã
å é±æ«ã«ConoHaã®VPSãå¥ç´ããã®ãæ©ã«å度è¨æ¸¬ãã¦ã¿ãã¨ããããããªãã«åç¾æ§ã®ããã£ã½ãæ°åãåºã¦ããã®ã§ãã£ããã¡ã¢ã
ç°å¢
- ãã¹ã: NetBSD/i386 10.0 (OpenSSH 9.6)
- 転éç¸æ: ConoHa VPS 2GBãã©ã³
- åç·: ãã¬ããå ãã¯ã¹ã (NTT西æ¥æ¬) + DTI IPv6 (IPoE) æ¥ç¶ãµã¼ãã¹
- æ¥ç¶: VDSLã¢ãã + ãã¼ã ã²ã¼ãã¦ã§ã¤ RT-500KI ï¼ãã¡ã¼ã ã¦ã§ã¢ 08.00.0040)
è¨æ¸¬å 容
- NetBSD/amd64,i386 10.0 ã¦ãããLive Image 20241013ç ã® 1394MBã®
setupliveimage-20241013.fs.gz
ã㧠non-interactive session ã® IPQoSå¤ã®ã¿å¤æ´ã㦠IPv6ã§ã³ãã¼ãã¦é度ãè¨æ¸¬scp -o IPQoS="lowdelay [IPQoSå¤]" [VPSãã¹ã]:/dev/null
- ä»ã®éä¿¡ã¯æ¢ãããããæãè¡ã
- 試è¡åæ°ã¯1åãã¤
çµæ
IPQoSå¤ | IPãããTOSå¤ | 転éé度 | 転éæé |
---|---|---|---|
cs0 |
000 0000 0 |
10.8MB/s | 02:08 |
cs1 |
001 0000 0 |
1.1MB/s | 20:49 |
cs2 |
010 0000 0 |
10.8MB/s | 02:08 |
cs3 |
011 0000 0 |
10.8MB/s | 02:09 |
cs4 |
100 0000 0 |
2.2MB/s | 10:32 |
cs5 |
101 0000 0 |
1.0MB/s | 23:22 |
cs6 |
110 0000 0 |
10.8MB/s | 02:09 |
cs7 |
111 0000 0 |
10.5MB/s | 02:12 |
af11 |
001 010 00 |
éä¿¡ä¸å¯ | - |
af12 |
001 100 00 |
1.1MB/s | 20:49 |
af13 |
001 110 00 |
éä¿¡ä¸å¯ | - |
af21 |
010 010 00 |
éä¿¡ä¸å¯ | - |
af22 |
010 100 00 |
10.4MB/s | 02:14 |
af23 |
010 110 00 |
éä¿¡ä¸å¯ | - |
af31 |
011 010 00 |
éä¿¡ä¸å¯ | - |
af32 |
011 100 00 |
10.3MB/s | 02:15 |
af33 |
011 110 00 |
éä¿¡ä¸å¯ | - |
af41 |
100 010 00 |
éä¿¡ä¸å¯ | - |
af42 |
100 100 00 |
2.2MB/s | 10:37 |
af43 |
100 110 00 |
éä¿¡ä¸å¯ | - |
ef |
101 110 00 |
éä¿¡ä¸å¯ | - |
lowdelay |
000 1000 0 |
10.8MB/s | 02:08 |
throughput |
000 0100 0 |
éä¿¡ä¸å¯ | - |
reliability |
000 0010 0 |
10.8MB/s | 02:08 |
IPQoSããã³IPãããã®TOSå¤ã®æå³åãã«ã¤ãã¦ã¯ä»¥ä¸ã®ãããã¯ã¼ã¯ã¨ã³ã¸ãã¢ã¨ãã¦ã®ãã¼ã¸ã®ä»¥ä¸ãªã³ã¯å ã®èª¬æãããããããã§ã
- QoSï¼Quality of Serviceï¼æè¡è§£èª¬
- QoS - IP Precedenceï¼IPãã¬ã·ãã³ã¹ï¼ã¨ã¯
- QoS - DSCPï¼Differentiated Services Code Pointï¼ã¨ã¯
çµè«
- ãã¬ããå
ãã¯ã¹ã+IPoEã®ç°å¢ã§ã®
~/.ssh/config
ã®IPQoS
ã®è¨å®ã¯ä»¥ä¸ãç¡é£ï¼
ï¼1ã¤ç®ã interactive session è¨å®ã2ã¤ç®ã non-interactive sessionè¨å®ï¼IPQoS cs0 cs0
èå¯ ä»
- é度ã¨ãã¦ã¯ 1.1MB/s, 2.2MB/s, 10.8MB/s ã®3ãã¿ã¼ã³ã£ã½ãï¼
ãªããã¬ããå ãã³ã·ã§ã³ã¿ã¤ãã®VDSLã100Mbpsãªã®ã§10.8MB/sã¯ã»ã¼ä¸é CS0
ãCS7
ã®åªå 度å®ç¾©ã¨é度ã¨ã®ç¸é¢ã¯ç¡ãããï¼AF1x
ãAF4x
ã®åªå 度å®ç¾©ãé度ã¨ã®ç¸é¢ã¯ç¡ãããï¼CSx
ãlowdelay
,throughput
,reliability
ã® Type of Service ãé度ã¨ã®ç¸é¢ã¯ç¡ãããï¼CS
ãAF
ã«é¢ä¿ãªããIPããã TOSå¤ã®ããã3ãç«ã£ã¦ããã¨Flet's網ãééã§ããªãï¼- IP Precedence ç¸å½ã®å¤ã
001
ã¾ãã¯101
ã 㨠1.1MB/s ã«ãªãï¼ - IP Precedence ç¸å½ã®å¤ã
100
ã 㨠2.2MB/s ã«ãªãï¼
- OpenSSH 7.8以éã®ããã©ã«ãè¨å®ã®
IPQoS af21 cs1
ã§ã¯ã interactiveã»ãã·ã§ã³ã¯éä¿¡ä¸å¯ãscpãrsyncã®è»¢éã¯10å以ä¸é ãã®ã§ã/etc/ssh/config
ã~/.ssh/config
ã§ã®IPQoS
è¨å®ã¯å¿ é ï¼
ãªããVPN è¶ãã® Cisco WLC 㧠WPA2 ã® SSID ã« associate ã§ããªãæã®ç½ | diary.sorah ã®è¨äºã§åç §ããã¦ãã以ä¸ã®åNTTã®NGNä»æ§ææ¸ã§ã¯ãå ·ä½çãªè»¢éåªå 度ã®å¤ã«ã¤ãã¦è¨åã¯ãªãããã§ãã
- æ±æ¥æ¬: IPé信網ãµã¼ãã¹ã®ã¤ã³ã¿ãã§ã¼ã¹ 第ä¸åå (第35ç) 26p; ãã¬ãã å ãã¯ã¹ãç·¨ 2.4.3. 転éåªå 度ã«é¢ããä»æ§
- 西æ¥æ¬: IPé信網ãµã¼ãã¹ã®ã¤ã³ã¿ãã§ã¼ã¹ ï¼ãã¬ããã·ãªã¼ãºï¼ ï¼å ãã¯ã¹ããå ã©ã¤ããå WiFiã¢ã¯ã»ã¹ç·¨ï¼ (第20ç) ãã¬ãã å ãã¯ã¹ãç·¨ 29p; 2.4.3. 転éåªå 度ã«é¢ããä»æ§