So sieht die aktuelle Scheduler-Konfiguration aus:
root@ubuntu:~# tc -s qdisc ls dev eth0 qdisc pfifo_fast 0: root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1 Sent 272010 bytes 1294 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0
Damit sehen dann ein paar Pings auf Google so aus, wenn die Leitung anderweitig nicht belastet ist:
root@ubuntu:~# ping www.google.de -c 5 PING www.google.de (173.194.32.255) 56(84) bytes of data. 64 bytes from ber01s09-in-f31.1e100.net (173.194.32.255): icmp_seq=1 ttl=58 time=40.1 ms 64 bytes from ber01s09-in-f31.1e100.net (173.194.32.255): icmp_seq=2 ttl=58 time=38.9 ms 64 bytes from ber01s09-in-f31.1e100.net (173.194.32.255): icmp_seq=3 ttl=58 time=39.4 ms 64 bytes from ber01s09-in-f31.1e100.net (173.194.32.255): icmp_seq=4 ttl=58 time=39.8 ms 64 bytes from ber01s09-in-f31.1e100.net (173.194.32.255): icmp_seq=5 ttl=58 time=39.5 ms --- www.google.de ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4019ms rtt min/avg/max/mdev = 38.936/39.597/40.183/0.412 ms
Mit "dd bs=1M count=50 if=/dev/zero of=/tmp/test.txt" habe ich mir eine Testdatei erstellt, welche ich nun auf einen beliebigen Dateihoster hochlade (in diesem Beispiel http://www.file-upload.net/). Während dieses Vorgangs pinge ich Google nochmal:
root@ubuntu:~# ping www.google.de -c 5 PING www.google.de (173.194.32.248) 56(84) bytes of data. 64 bytes from ber01s09-in-f24.1e100.net (173.194.32.248): icmp_seq=1 ttl=58 time=178 ms 64 bytes from ber01s09-in-f24.1e100.net (173.194.32.248): icmp_seq=2 ttl=58 time=161 ms 64 bytes from ber01s09-in-f24.1e100.net (173.194.32.248): icmp_seq=3 ttl=58 time=157 ms 64 bytes from ber01s09-in-f24.1e100.net (173.194.32.248): icmp_seq=4 ttl=58 time=152 ms 64 bytes from ber01s09-in-f24.1e100.net (173.194.32.248): icmp_seq=5 ttl=58 time=135 ms --- www.google.de ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4015ms rtt min/avg/max/mdev = 135.798/157.174/178.567/13.775 ms
Die Werte sehen ziemlich schlecht aus, daher probiere ich mal den "Stochastic Fairness Queuing" scheduler (SFQ):
root@ubuntu:~# tc qdisc add dev eth0 root sfq root@ubuntu:~# tc -s qdisc ls dev eth0 qdisc sfq 8005: root refcnt 2 limit 127p quantum 1514b depth 127 divisor 1024 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0
Während ich die Datei erneut hochlade pinge ich nochmal Google:
root@ubuntu:~# ping www.google.de -c 5 PING www.google.de (173.194.32.248) 56(84) bytes of data. 64 bytes from ber01s09-in-f24.1e100.net (173.194.32.248): icmp_seq=1 ttl=58 time=161 ms 64 bytes from ber01s09-in-f24.1e100.net (173.194.32.248): icmp_seq=2 ttl=58 time=157 ms 64 bytes from ber01s09-in-f24.1e100.net (173.194.32.248): icmp_seq=3 ttl=58 time=165 ms 64 bytes from ber01s09-in-f24.1e100.net (173.194.32.248): icmp_seq=4 ttl=58 time=170 ms 64 bytes from ber01s09-in-f24.1e100.net (173.194.32.248): icmp_seq=5 ttl=58 time=96.5 ms --- www.google.de ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4015ms rtt min/avg/max/mdev = 96.526/150.309/170.565/27.238 ms
Das sieht kaum besser aus, zumindest sind das nicht die erhofften Ergebnisse.
Daher nun die Frage: Kennt sich jemand besonders gut in diesen Gebiet aus und kann mir sagen, was eventuell falsch ist/wie ich es besser machen kann?
Dieser Beitrag wurde von Sworddragon bearbeitet: 19. November 2013 - 19:44