Φαίνεται ότι η έκδοση του net-tools παίζει ένα σημαντικό ρόλο με το φαινόμενο flow control στην gigabit κάρτα στο server του 2 δημ. Σχολείου του Άγ. Στεφάνου.
Πάντα με το Ubuntu 12.04 του ΣΕΠΕΗΥ
Μόλις έγινε apt-get update και apt-get dist-upgrade με
daskalos@server:~$ ls /var/cache/apt/archives/
ldm_2%3a2.2.17~r1584+p980+201510190359~ubuntu12.04.1_i386.deb
ldm-server_2%3a2.2.17~r1584+p980+201510190359~ubuntu12.04.1_all.deb
libblas3gf_1.2.20110419-2ubuntu1_i386.deb
libgfortran3_4.6.3-1ubuntu5_i386.deb
liblapack3gf_3.3.1-1_i386.deb
lock
ltsp-client_5.5.5~r2689+p1237+201510190642~ubuntu12.04.1_i386.deb
ltsp-client-core_5.5.5~r2689+p1237+201510190642~ubuntu12.04.1_i386.deb
ltsp-server_5.5.5~r2689+p1237+201510190642~ubuntu12.04.1_all.deb
ltsp-server-standalone_5.5.5~r2689+p1237+201510190642~ubuntu12.04.1_all.deb
mypaint_1.0.0-1_i386.deb
mypaint-data_1.0.0-1_all.deb
partial
python-numpy_1%3a1.6.1-6ubuntu1_i386.deb
python-support_1.0.14ubuntu2_all.deb
daskalos@server:~$ ubuntu-support-status
Περίληψη της κατάστασης υποστήριξης του 'server':
Έχετε 11 πακέτα (0.7%) που υποστηρίζονται μέχρι Οκτώβριος 2013 (18m)
Έχετε 1442 πακέτα (89.1%) που υποστηρίζονται μέχρι Απρίλιος 2017 (5y)
Έχετε 3 πακέτα (0.2%) που υποστηρίζονται μέχρι Απρίλιος 2017 (18m)
Έχετε 0 πακέτα (0.0%) που δε μπορούν πια να ληφθούν
Έχετε 162 πακέτα (10.0%) που δεν υποστηρίζονται πια
Και για καλού κακού έγινε και επανεκκίνηση ύστερα.
Με την έκδοση net-tools (1.60-24.1ubuntu2) που έχει η εκτέλεση
mii-tool -A "1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD" eth0
δεν κόβει το flow control.
Μία προσπάθεια με Ubuntu12.04.1 με live cd επίσης δεν κόβει το flow control, αλλά μία προσπάθεια με Ubuntu14.10 amd64 live cd την ίδια εκτέλεση το κόβει!!
Η κάρτα είναι
02:00.0 Ethernet controller: Qualcomm Atheros AR8131 Gigabit Ethernet (rev c0)
Για να βάλω την πιο καινούργια έκδοση του net-tools χρειάζεται να αλλάξει και την έκδοση του
libc6 (>= 2.4)
Συμβολές; :))
Richard
Richard δοκίμασε να βάλεις νέο kernel:
http://ts.sch.gr/wiki/Linux/LTSEnablementStack
Το mii-tool εν τέλει καλεί τον kernel οπότε υποθέτω ότι αυτόν πρέπει να αναβαθμίσεις.
Πάντα με το Ubuntu 12.04 του ΣΕΠΕΗΥ
Η κάρτα είναι
02:00.0 Ethernet controller: Qualcomm Atheros AR8131 Gigabit Ethernet (rev c0)
Ο πυρήνας τώρα είναι της Ubuntu 14.04
daskalos@server:~$ uname -r
3.13.0-67-generic
Έγινε δημοσίευση εικονικός δίσκος.
Και για καλού κακού έγινε και επανεκκίνηση ύστερα.
Τώρα λύθηκε το θέμα με το flow control.
daskalos@server:~$ sudo mii-tool -v eth0
[sudo] password for daskalos:
eth0: negotiated 1000baseT-FD flow-control, link ok
product info: vendor 00:13:74, model 1 rev 11
basic mode: autonegotiation enabled
basic status: autonegotiation complete, link ok
capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
Από iperf (με 15 clients)
daskalos@server:~$ iperf -s -xS
[ 4] local 192.168.1.18 port 5001 connected with 192.168.1.9 port 42171
[ 5] local 192.168.1.18 port 5001 connected with 192.168.1.13 port 40400
[ 6] local 192.168.1.18 port 5001 connected with 192.168.1.28 port 55236
[ 7] local 192.168.1.18 port 5001 connected with 192.168.1.24 port 42638
[ 8] local 192.168.1.18 port 5001 connected with 192.168.1.15 port 47772
[ 9] local 192.168.1.18 port 5001 connected with 192.168.1.20 port 43214
[ 10] local 192.168.1.18 port 5001 connected with 192.168.1.11 port 37346
[ 11] local 192.168.1.18 port 5001 connected with 192.168.1.8 port 43754
[ 12] local 192.168.1.18 port 5001 connected with 192.168.1.17 port 44047
[ 13] local 192.168.1.18 port 5001 connected with 192.168.1.14 port 39369
[ 14] local 192.168.1.18 port 5001 connected with 192.168.1.7 port 56156
[ 15] local 192.168.1.18 port 5001 connected with 192.168.1.16 port 54752
[ 16] local 192.168.1.18 port 5001 connected with 192.168.1.10 port 52573
[ 17] local 192.168.1.18 port 5001 connected with 192.168.1.19 port 45034
[ 18] local 192.168.1.18 port 5001 connected with 192.168.1.31 port 40235
[ ID] Interval Transfer Bandwidth
[ 5] 0.0-10.0 sec 84.9 MBytes 70.9 Mbits/sec
[ 4] 0.0-10.1 sec 87.6 MBytes 73.1 Mbits/sec
[ 5] local 192.168.1.18 port 33982 connected with 192.168.1.13 port 5001
[ 4] local 192.168.1.18 port 39066 connected with 192.168.1.9 port 5001
[ 9] 0.0-10.0 sec 85.8 MBytes 71.7 Mbits/sec
[ 10] 0.0-10.0 sec 85.4 MBytes 71.4 Mbits/sec
[ 11] 0.0-10.0 sec 87.1 MBytes 72.9 Mbits/sec
[ 12] 0.0-10.0 sec 86.4 MBytes 72.3 Mbits/sec
[ 13] 0.0-10.0 sec 86.2 MBytes 72.2 Mbits/sec
[ 14] 0.0-10.0 sec 20.4 MBytes 17.1 Mbits/sec
[ 15] 0.0-10.0 sec 85.5 MBytes 71.6 Mbits/sec
[ 9] local 192.168.1.18 port 52185 connected with 192.168.1.8 port 5001
[ 10] local 192.168.1.18 port 44035 connected with 192.168.1.11 port 5001
[ 11] local 192.168.1.18 port 51153 connected with 192.168.1.20 port 5001
[ 13] local 192.168.1.18 port 33082 connected with 192.168.1.7 port 5001
[ 12] local 192.168.1.18 port 44106 connected with 192.168.1.16 port 5001
[ 14] local 192.168.1.18 port 39388 connected with 192.168.1.14 port 5001
[ 15] local 192.168.1.18 port 50239 connected with 192.168.1.17 port 5001
[ 16] 0.0-10.0 sec 84.9 MBytes 70.9 Mbits/sec
[ 16] local 192.168.1.18 port 58813 connected with 192.168.1.10 port 5001
[ 6] 0.0-10.3 sec 35.4 MBytes 28.7 Mbits/sec
[ 6] local 192.168.1.18 port 41332 connected with 192.168.1.28 port 5001
[ 8] 0.0-10.2 sec 19.9 MBytes 16.3 Mbits/sec
[ 17] 0.0-10.0 sec 85.1 MBytes 71.2 Mbits/sec
[ 8] local 192.168.1.18 port 35410 connected with 192.168.1.15 port 5001
[ 17] local 192.168.1.18 port 42627 connected with 192.168.1.19 port 5001
[ 18] 0.0-10.0 sec 104 MBytes 87.1 Mbits/sec
[ 18] local 192.168.1.18 port 35357 connected with 192.168.1.31 port 5001
[ 7] 0.0-10.4 sec 20.1 MBytes 16.3 Mbits/sec
[ 7] local 192.168.1.18 port 44601 connected with 192.168.1.24 port 5001
[ 5] 0.0-10.0 sec 72.4 MBytes 60.6 Mbits/sec
[ 4] 0.0-10.0 sec 68.1 MBytes 57.0 Mbits/sec
[ 13] 0.0-10.0 sec 89.2 MBytes 74.8 Mbits/sec
[ 12] 0.0-10.0 sec 70.5 MBytes 59.1 Mbits/sec
[ 11] 0.0-10.0 sec 71.9 MBytes 60.2 Mbits/sec
[ 14] 0.0-10.0 sec 68.5 MBytes 57.3 Mbits/sec
[ 15] 0.0-10.0 sec 75.0 MBytes 62.8 Mbits/sec
[ 9] 0.0-10.0 sec 71.4 MBytes 59.7 Mbits/sec
[ 10] 0.0-10.0 sec 67.1 MBytes 56.1 Mbits/sec
[ 16] 0.0-10.0 sec 66.6 MBytes 55.8 Mbits/sec
[ 6] 0.0-10.0 sec 81.1 MBytes 67.8 Mbits/sec
[ 17] 0.0-10.0 sec 65.1 MBytes 54.5 Mbits/sec
[ 8] 0.0-10.0 sec 85.4 MBytes 71.4 Mbits/sec
[ 18] 0.0-10.0 sec 83.2 MBytes 69.7 Mbits/sec
[ 7] 0.0-10.0 sec 92.4 MBytes 77.3 Mbits/sec
Ευχαριστώ για την συμβολή να βάλουμε τον πυρήνα 3.13!!
Richard
Ευχαριστούμε για το feedback.
Επομένως, ορισμένες κάρτες Atheros έχουν ακόμα θέμα με το flow control το οποίο λύνεται με αναβάθμιση σε νέο kernel.
Εν τέλει θεωρούμε ακόμα ότι πλέον με όλες τις gigabit κάρτες και όλα τα gigabit switch είμαστε ΟΚ και δεν χρειαζόμαστε κάποια ιδιαίτερη μάρκα.