[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: langsames Gigabit LAN



Bjoern Meier wrote:

> hi,
> 
> 
> also Geschwindigkeit des Netzwerkes mit SSH zu testen ist wie mit
> einem Feuerzeug im Dunkeln nachzusehen ob das Licht aus ist.
Ja, mach ich ja auch. Feuerzeug hab ich einstecken und Taschenlampe nicht ;)
> 
> Bitte einmal Topologie, Ausgabe von ifconfig und Ausgabe von iperf
> posten. Danke.
> 
> Gruß,
> Björn
Aber gut. Ich teste mal mit iperf .....
WS->localhost:	5,7GBit/s	(ssh:12MB/s)
WS->SERVER:	 96MBit/s	(ssh:12MB/s)
WS->VIDEO:	 95MBit/s	(ssh:57MB/s)
 als "root"	 95MBit/s	(ssh:12MB/s)

VIDEO->localhost:	4,5GBit/s	(ssh:13MB/s)
VIDEO->SERVER:	917MBit/s	(ssh:16MB/s)
VIDEO->WS:	 95MBit/s	(ssh:12MB/s)

SERVER->localhost:	5,8GBit/s	(ssh:67MB/s)
SERVER->VIDEO:	920MBit/s	(ssh:16MB/s)
SERVER->WS:	 95Mbit/s	(ssh:12MB/s)

Topologie und Ausgabe von iperf habe ich hinten angehängt.
Ahhhmm - Das mit dem Feuerzeug versteh ich jetzt auch ;)

Irgendwie scheint "TCP window size" einen Einfluss auf den Durchsatz zu 
haben.
Und was ist mit SSH los? Der Unterschied schock mich!
Vor allem WS->VIDEO. Als root schafft er ~12MB/s und als normaler user 
~60MB/s
Als "user" geht die Verbindung über public/privat key. Als "root" mit 
passwort (ist normalerweise abgeschaltet). Kann es daran liegen?


Topologie und Ausgabe von iperf:
=========================================================
WS:~$ ifconfig
eth0      Link encap:Ethernet  Hardware Adresse 00:1e:0b:b5:c4:f7  
          inet Adresse:192.168.0.70  Bcast:192.168.0.255  
Maske:255.255.255.0
          inet6-Adresse: fe80::21e:bff:feb5:c4f7/64 
Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
          RX packets:2004980 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2408278 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000 
          RX bytes:1510558879 (1.4 GiB)  TX bytes:2099703279 (1.9 GiB)
          Interrupt:19 Speicher:f0180000-f01a0000 

lo        Link encap:Lokale Schleife  
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
          UP LOOPBACK RUNNING  MTU:16436  Metrik:1
          RX packets:441973 errors:0 dropped:0 overruns:0 frame:0
          TX packets:441973 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0 
          RX bytes:1426096009 (1.3 GiB)  TX bytes:1426096009 (1.3 GiB)

vlan0     Link encap:Ethernet  Hardware Adresse ea:50:b4:96:a1:4d  
          inet Adresse:192.168.1.1  Bcast:192.168.1.255  Maske:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metrik:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:500 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
WS:~$ iperf -c localhost
------------------------------------------------------------
Client connecting to localhost, TCP port 5001
TCP window size:   169 KByte (default)
------------------------------------------------------------
[  3] local 127.0.0.1 port 33478 connected with 127.0.0.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  6.66 GBytes  5.72 Gbits/sec
WS:~$ iperf -c SERVER
------------------------------------------------------------
Client connecting to 192.168.0.10, TCP port 5001
TCP window size: 23.5 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.70 port 53815 connected with 192.168.0.10 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.1 sec    116 MBytes  96.3 Mbits/sec
WS:~$ iperf -c VIDEO
------------------------------------------------------------
Client connecting to 192.168.0.40, TCP port 5001
TCP window size: 23.5 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.70 port 58978 connected with 192.168.0.40 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.1 sec    114 MBytes  95.4 Mbits/sec

=========================================================
VIDEO:~# ifconfig
eth0      Link encap:Ethernet  Hardware Adresse 54:04:a6:96:0d:60  
          inet Adresse:192.168.0.40  Bcast:192.168.0.255  
Maske:255.255.255.0
          inet6-Adresse: fe80::5604:a6ff:fe96:d60/64 
GÃ?ltigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
          RX packets:10184979 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19979543 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 SendewarteschlangenlÃ?nge:1000 
          RX bytes:3131222089 (2.9 GiB)  TX bytes:2302898042 (2.1 GiB)
          Interrupt:40 Basisadresse:0xe000 

lo        Link encap:Lokale Schleife  
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          inet6-Adresse: ::1/128 GÃ?ltigkeitsbereich:Maschine
          UP LOOPBACK RUNNING  MTU:16436  Metrik:1
          RX packets:5973251 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5973251 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 SendewarteschlangenlÃ?nge:0 
          RX bytes:33921221067 (31.5 GiB)  TX bytes:33921221067 (31.5 GiB)
VIDEO:~# iperf -c localhost
------------------------------------------------------------
Client connecting to localhost, TCP port 5001
TCP window size:   167 KByte (default)
------------------------------------------------------------
[  3] local 127.0.0.1 port 48260 connected with 127.0.0.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  5.15 GBytes  4.42 Gbits/sec
VIDEO:~# iperf -c SERVER
------------------------------------------------------------
Client connecting to 192.168.0.10, TCP port 5001
TCP window size: 21.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.40 port 54103 connected with 192.168.0.10 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1.07 GBytes    917 Mbits/sec
VIDEO:~# iperf -c WS
------------------------------------------------------------
Client connecting to 192.168.0.70, TCP port 5001
TCP window size: 21.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.40 port 47797 connected with 192.168.0.70 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec    113 MBytes  94.4 Mbits/sec

=========================================================
SERVER:~# ifconfig
eth0      Link encap:Ethernet  Hardware Adresse 00:15:17:2a:da:f0  
          inet Adresse:192.168.0.10  Bcast:192.168.0.255  
Maske:255.255.255.0
          inet6-Adresse: fe80::215:17ff:fe2a:daf0/64 
Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
          RX packets:986406026 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1029089812 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000 
          RX bytes:1744731366 (1.6 GiB)  TX bytes:3198349081 (2.9 GiB)
          Interrupt:18 Speicher:ba820000-ba840000 

lo        Link encap:Lokale Schleife  
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
          UP LOOPBACK RUNNING  MTU:16436  Metrik:1
          RX packets:111495573 errors:0 dropped:0 overruns:0 frame:0
          TX packets:111495573 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0 
          RX bytes:2578525647 (2.4 GiB)  TX bytes:2578525647 (2.4 GiB)
SERVER:~# iperf -c localhost   
------------------------------------------------------------
Client connecting to localhost, TCP port 5001
TCP window size: 49.5 KByte (default)
------------------------------------------------------------
[  3] local 127.0.0.1 port 50742 connected with 127.0.0.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  6.72 GBytes  5.77 Gbits/sec
SERVER:~# iperf -c VIDEO
------------------------------------------------------------
Client connecting to 192.168.0.40, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.10 port 54165 connected with 192.168.0.40 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1.07 GBytes    920 Mbits/sec
SERVER:~# iperf -c WS
------------------------------------------------------------
Client connecting to 192.168.0.70, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.10 port 50150 connected with 192.168.0.70 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec    114 MBytes  95.0 Mbits/sec

=========================================================





-- 
Don't Panic


Reply to: