Monthly Archive: Травень 2012

Yndykator pereklyuchenyya yazыkov w Linux Ubuntu w Xfce

Nie Wygodny roboczy bez yazыkov przełącznika w Linux Ubuntu w Xfce.
O szczęściu, nie prevoshodnaya Utility dla yndykatsyy yazыkov: http://goodies.xfce.org/

Narzędzia z tych Ustanavlyvayutsya poleceń pomoshchju:
apt-get install xfce4-goodies

Po instalacji dannoy Utilities w Xfce Możesz vыvesty yndykator klawiatury yndykator pobrania procesora i itp Oto, jak vыhlyadyat Te yndykatorы:

© 2012 – 2014, https:. Все права защищены. Rudyuk Sergey. К2®

Yndykator pereklyuchenyya yazыkov in Linux Ubuntu in xfce

Not Convenient Working without the switcher yazыkov in Linux Ubuntu in xfce.
By happiness, there prevoshodnaya Utility for yndykatsyy yazыkov: http://goodies.xfce.org/

These Ustanavlyvayutsya Utilities with pomoshchju commands:
apt-get install xfce4-goodies

After installation dannoy Utilities in xfce You can vыvesty yndykator keyboard, yndykator Downloads processor and etc. Here, As vыhlyadyat These yndykatorы:

© 2012 – 2014, https:. Все права защищены. Rudyuk Sergey. К2®

Индикатор переключения языков в Linux Ubuntu в xfce

НЕ удобно работать без переключателя языков в Linux Ubuntu в xfce.
К счастью, есть превосходная утилита для индикации языков: http://goodies.xfce.org/

Устанавливаются эти утилиты с помощью команды:
apt-get install xfce4-goodies

После установки данной утилиты в xfce Вы можете вывести индикатор клавиатуры, индикатор загрузки процессора и т.п. Вот, как выглядят эти индикаторы:

© 2012 – 2015, https:. Все права защищены. Rudyuk Sergey. К2®

Индикатор переключения языков в Linux Ubuntu в xfce

Не удобно работать без переключателя языков в Linux Ubuntu в xfce.
К счастью, есть превосходная утилита для индикации языков: http://goodies.xfce.org/

Устанавливаются эти утилиты с помощью команды:
apt-get install xfce4-goodies

После установки данной утилиты в xfce Вы можете вывести индикатор клавиатуры, индикатор загрузки процессора и т.п. Вот, как выглядят эти индикаторы:

© 2012 – 2015, https:. Все права защищены. Rudyuk Sergey. К2®

Kontrola prędkości w Linux Ubuntu Server

[  3] port 42 487 lokalnych 77.88.252.136 związane z 77.88.252.135 portu 5001
[ 10] port 42 490 lokalnych 77.88.252.136 związane z 77.88.252.135 portu 5001
[ 11] port 42 493 lokalnych 77.88.252.136 związane z 77.88.252.135 portu 5001
[ 16] port 42 496 lokalnych 77.88.252.136 związane z 77.88.252.135 portu 5001
[ 18] port 42 497 lokalnych 77.88.252.136 związane z 77.88.252.135 portu 5001
[ 21] lokalne 77.88.252.136 Port 42500 związany z 77.88.252.135 portu 5001
[ ID] Interwał pasma transferu
[ 10] 0.0-10.0 s 8,04 MB 6,73 Mbit / s
[ 15] 0.0-10.0 s 7,19 MB 6,00 Mbit / s
[  7] 0.0-10.1 s 2,73 MB 2,27 Mbit / s
[  3] 0.0-10.1 sec 10.6 MB 8,83 Mbit / s
[ 17] 0.0-10.1 s 7,20 MB 5,96 Mbit / s
[ 12] 0.0-10.2 s 7,15 MB 5,88 Mbit / s
[  9] 0.0-10.3 s 3,23 MB 2,62 Mbit / s
[SUM] 0.0-10.4 s 118 Mb 94,4 Mbit / s
Zametyl, że prędkość na serwerze wszystkie malenkaya czas – z jakiegoś powodu nie jest prevыshaet 10 Mbit / s na jakiś czas, jaki dolzhna dojrzałego 100 Mbit / s. Dług myśl o czymś to jest ze względu na fakt, że w prędkości Użytkowników malenkaya, ale … Tu we mnie lokalnыy Internet 80MByt / s, a prędkość jest taka sama nastolko LOW: 0,8-2Mbyt / s.
Principia szukać przyczyny. Protestyroval lokalnыy Internetu do svoem kompyuetere z serwisu pomoshchju http://www.speedtest.net/ .

Jak okazalas, Jest Taki niezwykły zespół iperf.
Ustanavlyvaem iperf na serwerze:

http://iperf.ru/wp-content/uploads/2009/07/jperf-2.0.0.zip
Teraz uruchomić usługi serwera:

iperf -c -P NazvanyeVashehoServera 20
-c – ukazыvaet do komputera z transferu dannыmy kotorыm dzieje.

Klient podłączenia corp2.net, port TCP 5001
————————————————– ———-
[1696] port 27 955 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1808] port 27 948 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1632] lokalny 192.168.0.99 Port 27959 związany z 77.88.252.136 portu 5001
[1776] port 27 950 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1552] port 27 964 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1568] port 27 963 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1712] port 27 954 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1648] port 27 958 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1856] port 27 945 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[ ID] Interwał pasma transferu
[1824] 0.0-10.0 sec 360 KB 294 kb / s
[1664] 0.0-10.2 sec 152 KB 123 kb / s
[1808] 0.0-10.3 sec 696 KB 556 kb / s
[1760] 0.0-10.7 sec 448 KB 342 kb / s
[1776] 0.0-14.1 sec 32.0 kB 18,5 kb / s
[1840] 0.0-14.2 sec 48.0 kB 27,8 kb / s
[1632] 0.0-15.2 sec 56.0 kB 30,3 kb / s
[1568] 0.0-18.1 sec 32.0 kB 14.5 kb / s
[1680] 0.0-23.0 sec 40.0 kB 14,3 kb / s
[1744] 0.0-23.1 sec 40.0 kB 14,2 kb / s
[SUM] 0.0-23.1 s 2,73 Mb 993 kb / s
Jak prędkość gatunkowej oraz vpravdu daleko od 100MByt / sek. i nashem sluchae wyniosła vsego 993 Kb / s …
Po tym, jak obratylys dostawcy pokojowej okazalos, coś “nie tak srabatыval Shaper”. Po snyatyya ego Wyniki radykalnie uluchshylys:
Klient podłączenia srv1.corp2.net, port TCP 5001
————————————————– ———-
[1552] port 28 786 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1856] port 28 767 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1632] port 28 781 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1760] port 28 773 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1792] port 28 771 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1728] port 28 775 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1664] port 28 779 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1680] port 28 778 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1568] port 28 785 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1584] port 28 784 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1568] 0.0-10.1 s 1,77 MB 1,47 Mbit / s
[1616] 0.0-10.2 s 1,55 MB 1,27 Mbit / s
[1584] 0.0-10.2 s 1,91 MB 1,57 Mbit / s
[1552] 0.0-10.2 sec 904 KB 723 kb / s
[1792] 0.0-10.2 sec 1.26 MB 1.03 Mbit / s
[1776] 0.0-10.2 sec 1.26 MB 1.03 Mbit / s
[1728] 0.0-10.2 sec 1.32 MB 1.08 Mbit / s
[1824] 0.0-10.3 s 1,51 MB 1,23 Mbit / s
[1600] 0.0-10.3 s 1,75 MB 1,43 Mbit / s
[1664] 0.0-10.3 s 1,34 MB 1,09 Mbit / s
[ ID] Interwał pasma transferu

————————————————– ———-
TCP rozmiar okna: 16,0 kB (domyślnie)
[ 19] lokalne 77.88.252.136 Port 42503 związany z 77.88.252.135 portu 5001
[  9] port 42 484 lokalnych 77.88.252.136 związane z 77.88.252.135 portu 5001
[  6] port 42 486 lokalnych 77.88.252.136 związane z 77.88.252.135 portu 5001
[  7] port 42 489 lokalnych 77.88.252.136 związane z 77.88.252.135 portu 5001
[  4] port 42 492 lokalnych 77.88.252.136 związane z 77.88.252.135 portu 5001
[ 11] port 42 493 lokalnych 77.88.252.136 związane z 77.88.252.135 portu 5001
[ 12] port 42 495 lokalnych 77.88.252.136 związane z 77.88.252.135 portu 5001
[ 15] port 42 498 lokalnych 77.88.252.136 związane z 77.88.252.135 portu 5001
[ 17] port 42 499 lokalnych 77.88.252.136 związane z 77.88.252.135 portu 5001
[ 22] lokalne 77.88.252.136 Port 42501 związany z 77.88.252.135 portu 5001
[ ID] Interwał pasma transferu
[ 10] 0.0-10.0 s 8,04 MB 6,73 Mbit / s
[ 13] 0.0-10.0 s 8,16 MB 6,81 Mbit / s
[ 18] 0.0-10.1 s 7,20 MB 6,00 Mbit / s
[  7] 0.0-10.1 s 2,73 MB 2,27 Mbit / s
[  3] 0.0-10.1 sec 10.6 MB 8,83 Mbit / s
[ 17] 0.0-10.1 s 7,20 MB 5,96 Mbit / s
[ 20] 0.0-10.2 s 2,42 MB 1,99 Mbit / s
[ 22] 0.0-10.2 s 2,22 MB 1,82 Mbit / s
[  9] 0.0-10.3 s 3,23 MB 2,62 Mbit / s
[ 19] 0.0-10.4 s 2,66 MB 2,13 Mbit / s

Zametyl, że prędkość na serwerze wszystkie malenkaya czas – z jakiegoś powodu nie jest prevыshaet 10 Mbit / s na jakiś czas, jaki dolzhna dojrzałego 100 Mbit / s. Dług myśl o czymś to jest ze względu na fakt, że w prędkości Użytkowników malenkaya, ale … Tu we mnie lokalnыy Internet 80MByt / s, a prędkość jest taka sama nastolko LOW: 0,8-2Mbyt / s.

Principia szukać przyczyny. Protestyroval lokalnыy Internetu do svoem kompyuetere z serwisu pomoshchju http://www.speedtest.net/ .
Wskaźniki, oczywiście, mniej 80MByt / s, ale jako całość – Przede rząd wielkości, niż pomiędzy serwerem a komputerem lokalnыm: 20-40Mbyt / s …

Jak protestyrovat sam serwer?
Jak okazalas, Jest Taki niezwykły zespół iperf.

Ustanavlyvaem iperf na serwerze:
apt-get install iperf

W komputerze klyentskom, Jeśli w systemie Linux pod vыpolnyaem òîæå dannuyu zespołu. W przypadku tej samej wersji dla Windows stawia Vyndы:
http://iperf.ru/wp-content/uploads/2009/07/jperf-2.0.0.zip

Teraz uruchomić usługi serwera:
-s iperf

Vыpolnyaem na klyente:
iperf -c -P NazvanyeVashehoServera 20
Klawisze transkrypcji.
-c – ukazыvaet do komputera z transferu dannыmy kotorыm dzieje.
-P – Ukazыvaet na Ilość strumieniowe kotorыe yspolzuyutsya z danymi (w nashem sluchae – 20 przepływy).

————————————————– ———-
Klient podłączenia corp2.net, port TCP 5001
TCP rozmiar okna: 8.00 kB (domyślnie)
————————————————– ———-
[1760] port 27 951 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1696] port 27 955 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1664] port 27 957 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1808] port 27 948 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1792] port 27 949 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1632] lokalny 192.168.0.99 Port 27959 związany z 77.88.252.136 portu 5001
[1840] port 27 946 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1776] port 27 950 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1600] port 27 961 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1552] port 27 964 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1728] port 27 953 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1568] port 27 963 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1744] port 27 952 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1712] port 27 954 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1680] port 27 956 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1648] port 27 958 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1616] port 27 960 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1856] port 27 945 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1824] port 27 947 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[1584] port 27 962 lokalny 192.168.0.99 związane z 77.88.252.136 portu 5001
[ ID] Interwał pasma transferu
[1792] 0.0-10.0 sec 120 KB 98,1 kb / s
[1824] 0.0-10.0 sec 360 KB 294 kb / s
[1696] 0.0-10.1 sec 184 KB 149 kb / s
[1664] 0.0-10.2 sec 152 KB 123 kb / s
[1712] 0.0-10.2 sec 48.0 kB 38,6 kb / s
[1808] 0.0-10.3 sec 696 KB 556 kb / s
[1616] 0.0-10.3 sec 40.0 kB 31,8 kb / s
[1760] 0.0-10.7 sec 448 KB 342 kb / s
[1584] 0.0-10.7 sec 320 KB 245 kb / s
[1776] 0.0-14.1 sec 32.0 kB 18,5 kb / s
[1600] 0.0-14.1 sec 32.0 kB 18,5 kb / s
[1840] 0.0-14.2 sec 48.0 kB 27,8 kb / s
[1552] 0.0-14.1 sec 32.0 kB 18,5 kb / s
[1632] 0.0-15.2 sec 56.0 kB 30,3 kb / s
[1648] 0.0-18.1 sec 40.0 kB 18,2 kb / s
[1568] 0.0-18.1 sec 32.0 kB 14.5 kb / s
[1856] 0.0-18.1 sec 40.0 kB 18,1 kb / s
[1680] 0.0-23.0 sec 40.0 kB 14,3 kb / s
[1728] 0.0-23.1 sec 40.0 kB 14,2 kb / s
[1744] 0.0-23.1 sec 40.0 kB 14,2 kb / s
[ ID] Interwał pasma transferu
[SUM] 0.0-23.1 s 2,73 Mb 993 kb / s

Jak prędkość gatunkowej oraz vpravdu daleko od 100MByt / sek. i nashem sluchae wyniosła vsego 993 Kb / s …

Po tym, jak obratylys dostawcy pokojowej okazalos, coś “nie tak srabatыval Shaper”. Po snyatyya ego Wyniki radykalnie uluchshylys:
————————————————– ———-
Klient podłączenia srv1.corp2.net, port TCP 5001
TCP rozmiar okna: 8.00 kB (domyślnie)
————————————————– ———-
[1824] port 28 769 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1552] port 28 786 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1840] port 28 768 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1856] port 28 767 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1808] port 28 770 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1632] port 28 781 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1776] port 28 772 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1760] port 28 773 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1744] port 28 774 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1792] port 28 771 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1712] port 28 776 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1728] port 28 775 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1696] port 28 777 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1600] port 28 783 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1648] port 28 780 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[1616] port 28 782 lokalny 192.168.0.99 związane z 77.88.252.135 portu 5001
[ ID] Interwał pasma transferu
[1744] 0.0-10.1 sec 1.08 Mb 893 kb / s
[1680] 0.0-10.2 sec 704 KB 564 kb / s
[1856] 0.0-10.2 sec 1.20 Mb 981 kb / s
[1760] 0.0-10.2 s 1,51 MB 1,24 Mbit / s
[1712] 0.0-10.2 s 1,70 MB 1,39 Mbit / s
[1648] 0.0-10.2 sec 1.14 Mb 938 kb / s
[1808] 0.0-10.2 s 1,05 Mb 858 kb / s
[1696] 0.0-10.3 s 1,70 MB 1,39 Mbit / s
[1840] 0.0-10.3 s 1,44 MB 1,17 Mbit / s
[1632] 0.0-11.4 s 1,67 MB 1,23 Mbit / s
[SUM] 0.0-11.4 s 27,7 MB 20,4 Mbit / s
Między serwerów wewnątrz dostawca dostyhaet Praktycznie maksymalna (To było wcześniej do 2 Mbit / s):
iperf -c srv1.corp2.net -P 20
Klient podłączenia srv1.corp2.net, port TCP 5001
————————————————– ———-
[  8] port 42 485 lokalnych 77.88.252.136 związane z 77.88.252.135 portu 5001
[  3] port 42 487 lokalnych 77.88.252.136 związane z 77.88.252.135 portu 5001
[  5] port 42 488 lokalnych 77.88.252.136 związane z 77.88.252.135 portu 5001
[ 10] port 42 490 lokalnych 77.88.252.136 związane z 77.88.252.135 portu 5001
[ 13] port 42 491 lokalnych 77.88.252.136 związane z 77.88.252.135 portu 5001
[ 14] port 42 494 lokalnych 77.88.252.136 związane z 77.88.252.135 portu 5001
[ 16] port 42 496 lokalnych 77.88.252.136 związane z 77.88.252.135 portu 5001
[ 18] port 42 497 lokalnych 77.88.252.136 związane z 77.88.252.135 portu 5001
[ 21] lokalne 77.88.252.136 Port 42500 związany z 77.88.252.135 portu 5001
[ 20] port 42 502 lokalnych 77.88.252.136 związane z 77.88.252.135 portu 5001
[  4] 0.0-10.0 s 7,79 MB 6,53 Mbit / s
[ 14] 0.0-10.0 s 6,90 MB 5,77 Mbit / s
[ 15] 0.0-10.0 s 7,19 MB 6,00 Mbit / s
[ 21] 0.0-10.1 s 7,34 MB 6,12 Mbit / s
[ 11] 0.0-10.1 s 7,27 MB 6,04 Mbit / s
[  5] 0.0-10.1 s 2,95 MB 2,45 Mbit / s
[  6] 0.0-10.2 s 9,50 MB 7,85 Mbit / s
[ 12] 0.0-10.2 s 7,15 MB 5,88 Mbit / s
[  8] 0.0-10.3 s 2,37 MB 1,93 Mbit / s
[ 16] 0.0-10.4 s 4,59 MB 3,69 Mbit / s
[SUM] 0.0-10.4 s 118 Mb 94,4 Mbit / s

94,4 Mbit / s – jest otlychnыy postać

!

© 2012 – 2014, https:. Все права защищены. Rudyuk Sergey. К2®

Speed ​​Testing Server in Linux Ubuntu

[1664] local 192.168.0.99 port 28 779 connected with 77.88.252.135 port 5001
[1680] local 192.168.0.99 port 28 778 connected with 77.88.252.135 port 5001
[1568] local 192.168.0.99 port 28 785 connected with 77.88.252.135 port 5001
[1584] local 192.168.0.99 port 28 784 connected with 77.88.252.135 port 5001
[1568] 0.0-10.1 sec 1.77 MBytes 1.47 Mbits / sec
[1616] 0.0-10.2 sec 1.55 MBytes 1.27 Mbits / sec
[1584] 0.0-10.2 sec 1.91 MBytes 1.57 Mbits / sec
[1552] 0.0-10.2 sec 904 KBytes 723 Kbits / sec
[1792] 0.0-10.2 sec 1.26 MBytes 1.03 Mbits / sec
[1776] 0.0-10.2 sec 1.26 MBytes 1.03 Mbits / sec
[1728] 0.0-10.2 sec 1.32 MBytes 1.08 Mbits / sec
[1824] 0.0-10.3 sec 1.51 MBytes 1.23 Mbits / sec
[1600] 0.0-10.3 sec 1.75 MBytes 1.43 Mbits / sec
[1664] 0.0-10.3 sec 1.34 MBytes 1.09 Mbits / sec
[ ID] Interval Transfer Bandwidth

————————————————– ———-
TCP window size: 16.0 KByte (default)
[ 19] local 77.88.252.136 port 42503 connected with 77.88.252.135 port 5001
[  9] local 77.88.252.136 port 42 484 connected with 77.88.252.135 port 5001
[  6] local 77.88.252.136 port 42 486 connected with 77.88.252.135 port 5001
[  7] local 77.88.252.136 port 42 489 connected with 77.88.252.135 port 5001
[  4] local 77.88.252.136 port 42 492 connected with 77.88.252.135 port 5001
[ 11] local 77.88.252.136 port 42 493 connected with 77.88.252.135 port 5001
[ 12] local 77.88.252.136 port 42 495 connected with 77.88.252.135 port 5001
[ 15] local 77.88.252.136 port 42 498 connected with 77.88.252.135 port 5001
[ 17] local 77.88.252.136 port 42 499 connected with 77.88.252.135 port 5001
[ 22] local 77.88.252.136 port 42501 connected with 77.88.252.135 port 5001
[ ID] Interval Transfer Bandwidth
[ 10] 0.0-10.0 sec 8.04 MBytes 6.73 Mbits / sec
[ 13] 0.0-10.0 sec 8.16 MBytes 6.81 Mbits / sec
[ 18] 0.0-10.1 sec 7.20 MBytes 6.00 Mbits / sec
[  7] 0.0-10.1 sec 2.73 MBytes 2.27 Mbits / sec
[  3] 0.0-10.1 sec 10.6 MBytes 8.83 Mbits / sec
[ 17] 0.0-10.1 sec 7.20 MBytes 5.96 Mbits / sec
[ 20] 0.0-10.2 sec 2.42 MBytes 1.99 Mbits / sec
[ 22] 0.0-10.2 sec 2.22 MBytes 1.82 Mbits / sec
[  9] 0.0-10.3 sec 3.23 MBytes 2.62 Mbits / sec
[ 19] 0.0-10.4 sec 2.66 MBytes 2.13 Mbits / sec

Zametyl, that velocity on the server all the time malenkaya – for some reason it is not prevыshaet 10 Mbit / s in a while, How dolzhna ripened 100 Mbit / s. Debt thought of something This is due to the fact, that in the Users malenkaya velocity, but … Here in me lokalnыy Internet 80MByt / s and velocity are the same nastolko LOW: 0,8-2Mbyt / s.

Principia Look for the cause. Protestyroval lokalnыy Internet to svoem kompyuetere with pomoshchju site http://www.speedtest.net/ .
Indicators, of course, less 80MByt / s, but as a whole – Above an order of magnitude, than Between Server and lokalnыm computer: 20-40Mbyt / s …

How protestyrovat same server?
How okazalas, There Such a remarkable team iperf.

Ustanavlyvaem iperf on the server:
apt-get install iperf

In klyentskom computer, If on Linux pod vыpolnyaem òîæå dannuyu team. In cases of same version for Windows puts Vyndы:
http://iperf.ru/wp-content/uploads/2009/07/jperf-2.0.0.zip

Now, run on the server SERVICE:
iperf -s

Vыpolnyaem on klyente:
iperf -c -P NazvanyeVashehoServera 20
Transcript keys.
-c – ukazыvaet to computer with transfer dannыmy kotorыm happening.
-P – Ukazыvaet on Quantity streaming kotorыe yspolzuyutsya with Data (in nashem sluchae – 20 flows).

————————————————– ———-
Client connecting to corp2.net, TCP port 5001
TCP window size: 8.00 KByte (default)
————————————————– ———-
[1760] local 192.168.0.99 port 27 951 connected with 77.88.252.136 port 5001
[1696] local 192.168.0.99 port 27 955 connected with 77.88.252.136 port 5001
[1664] local 192.168.0.99 port 27 957 connected with 77.88.252.136 port 5001
[1808] local 192.168.0.99 port 27 948 connected with 77.88.252.136 port 5001
[1792] local 192.168.0.99 port 27 949 connected with 77.88.252.136 port 5001
[1632] local 192.168.0.99 port 27959 connected with 77.88.252.136 port 5001
[1840] local 192.168.0.99 port 27 946 connected with 77.88.252.136 port 5001
[1776] local 192.168.0.99 port 27 950 connected with 77.88.252.136 port 5001
[1600] local 192.168.0.99 port 27 961 connected with 77.88.252.136 port 5001
[1552] local 192.168.0.99 port 27 964 connected with 77.88.252.136 port 5001
[1728] local 192.168.0.99 port 27 953 connected with 77.88.252.136 port 5001
[1568] local 192.168.0.99 port 27 963 connected with 77.88.252.136 port 5001
[1744] local 192.168.0.99 port 27 952 connected with 77.88.252.136 port 5001
[1712] local 192.168.0.99 port 27 954 connected with 77.88.252.136 port 5001
[1680] local 192.168.0.99 port 27 956 connected with 77.88.252.136 port 5001
[1648] local 192.168.0.99 port 27 958 connected with 77.88.252.136 port 5001
[1616] local 192.168.0.99 port 27 960 connected with 77.88.252.136 port 5001
[1856] local 192.168.0.99 port 27 945 connected with 77.88.252.136 port 5001
[1824] local 192.168.0.99 port 27 947 connected with 77.88.252.136 port 5001
[1584] local 192.168.0.99 port 27 962 connected with 77.88.252.136 port 5001
[ ID] Interval Transfer Bandwidth
[1792] 0.0-10.0 sec 120 KBytes 98.1 Kbits / sec
[1824] 0.0-10.0 sec 360 KBytes 294 Kbits / sec
[1696] 0.0-10.1 sec 184 KBytes 149 Kbits / sec
[1664] 0.0-10.2 sec 152 KBytes 123 Kbits / sec
[1712] 0.0-10.2 sec 48.0 KBytes 38.6 Kbits / sec
[1808] 0.0-10.3 sec 696 KBytes 556 Kbits / sec
[1616] 0.0-10.3 sec 40.0 KBytes 31.8 Kbits / sec
[1760] 0.0-10.7 sec 448 KBytes 342 Kbits / sec
[1584] 0.0-10.7 sec 320 KBytes 245 Kbits / sec
[1776] 0.0-14.1 sec 32.0 KBytes 18.5 Kbits / sec
[1600] 0.0-14.1 sec 32.0 KBytes 18.5 Kbits / sec
[1840] 0.0-14.2 sec 48.0 KBytes 27.8 Kbits / sec
[1552] 0.0-14.1 sec 32.0 KBytes 18.5 Kbits / sec
[1632] 0.0-15.2 sec 56.0 KBytes 30.3 Kbits / sec
[1648] 0.0-18.1 sec 40.0 KBytes 18.2 Kbits / sec
[1568] 0.0-18.1 sec 32.0 KBytes 14.5 Kbits / sec
[1856] 0.0-18.1 sec 40.0 KBytes 18.1 Kbits / sec
[1680] 0.0-23.0 sec 40.0 KBytes 14.3 Kbits / sec
[1728] 0.0-23.1 sec 40.0 KBytes 14.2 Kbits / sec
[1744] 0.0-23.1 sec 40.0 KBytes 14.2 Kbits / sec
[ ID] Interval Transfer Bandwidth
[SUM] 0.0-23.1 sec 2.73 MBytes 993 Kbits / sec

As species velocity and vpravdu far from 100MByt / sec. and in nashem sluchae amounted vsego 993 Kb / sec …

After that, As obratylys room provider, okazalos, something “not right srabatыval Shaper”. After snyatyya ego Results radically uluchshylys:
————————————————– ———-
Client connecting to srv1.corp2.net, TCP port 5001
TCP window size: 8.00 KByte (default)
————————————————– ———-
[1824] local 192.168.0.99 port 28 769 connected with 77.88.252.135 port 5001
[1552] local 192.168.0.99 port 28 786 connected with 77.88.252.135 port 5001
[1840] local 192.168.0.99 port 28 768 connected with 77.88.252.135 port 5001
[1856] local 192.168.0.99 port 28 767 connected with 77.88.252.135 port 5001
[1808] local 192.168.0.99 port 28 770 connected with 77.88.252.135 port 5001
[1632] local 192.168.0.99 port 28 781 connected with 77.88.252.135 port 5001
[1776] local 192.168.0.99 port 28 772 connected with 77.88.252.135 port 5001
[1760] local 192.168.0.99 port 28 773 connected with 77.88.252.135 port 5001
[1744] local 192.168.0.99 port 28 774 connected with 77.88.252.135 port 5001
[1792] local 192.168.0.99 port 28 771 connected with 77.88.252.135 port 5001
[1712] local 192.168.0.99 port 28 776 connected with 77.88.252.135 port 5001
[1728] local 192.168.0.99 port 28 775 connected with 77.88.252.135 port 5001
[1696] local 192.168.0.99 port 28 777 connected with 77.88.252.135 port 5001
[1664] local 192.168.0.99 port 28 779 connected with 77.88.252.135 port 5001
[1600] local 192.168.0.99 port 28 783 connected with 77.88.252.135 port 5001
[1680] local 192.168.0.99 port 28 778 connected with 77.88.252.135 port 5001
[1648] local 192.168.0.99 port 28 780 connected with 77.88.252.135 port 5001
[1568] local 192.168.0.99 port 28 785 connected with 77.88.252.135 port 5001
[1616] local 192.168.0.99 port 28 782 connected with 77.88.252.135 port 5001
[1584] local 192.168.0.99 port 28 784 connected with 77.88.252.135 port 5001
[ ID] Interval Transfer Bandwidth
[1568] 0.0-10.1 sec 1.77 MBytes 1.47 Mbits / sec
[1744] 0.0-10.1 sec 1.08 MBytes 893 Kbits / sec
[1616] 0.0-10.2 sec 1.55 MBytes 1.27 Mbits / sec
[1680] 0.0-10.2 sec 704 KBytes 564 Kbits / sec
[1584] 0.0-10.2 sec 1.91 MBytes 1.57 Mbits / sec
[1856] 0.0-10.2 sec 1.20 MBytes 981 Kbits / sec
[1552] 0.0-10.2 sec 904 KBytes 723 Kbits / sec
[1760] 0.0-10.2 sec 1.51 MBytes 1.24 Mbits / sec
[1792] 0.0-10.2 sec 1.26 MBytes 1.03 Mbits / sec
[1712] 0.0-10.2 sec 1.70 MBytes 1.39 Mbits / sec
[1776] 0.0-10.2 sec 1.26 MBytes 1.03 Mbits / sec
[1648] 0.0-10.2 sec 1.14 MBytes 938 Kbits / sec
[1728] 0.0-10.2 sec 1.32 MBytes 1.08 Mbits / sec
[1808] 0.0-10.2 sec 1.05 MBytes 858 Kbits / sec
[1824] 0.0-10.3 sec 1.51 MBytes 1.23 Mbits / sec
[1696] 0.0-10.3 sec 1.70 MBytes 1.39 Mbits / sec
[1600] 0.0-10.3 sec 1.75 MBytes 1.43 Mbits / sec
[1840] 0.0-10.3 sec 1.44 MBytes 1.17 Mbits / sec
[1664] 0.0-10.3 sec 1.34 MBytes 1.09 Mbits / sec
[1632] 0.0-11.4 sec 1.67 MBytes 1.23 Mbits / sec
[ ID] Interval Transfer Bandwidth
[SUM] 0.0-11.4 sec 27.7 MBytes 20.4 Mbits / sec

A Between servers intra provider dostyhaet Virtually maximum (That was the earlier to 2 Mbit / s):

iperf -c srv1.corp2.net -P 20
————————————————– ———-
Client connecting to srv1.corp2.net, TCP port 5001
TCP window size: 16.0 KByte (default)
————————————————– ———-
[ 19] local 77.88.252.136 port 42503 connected with 77.88.252.135 port 5001
[  8] local 77.88.252.136 port 42 485 connected with 77.88.252.135 port 5001
[  9] local 77.88.252.136 port 42 484 connected with 77.88.252.135 port 5001
[  3] local 77.88.252.136 port 42 487 connected with 77.88.252.135 port 5001
[  6] local 77.88.252.136 port 42 486 connected with 77.88.252.135 port 5001
[  5] local 77.88.252.136 port 42 488 connected with 77.88.252.135 port 5001
[  7] local 77.88.252.136 port 42 489 connected with 77.88.252.135 port 5001
[ 10] local 77.88.252.136 port 42 490 connected with 77.88.252.135 port 5001
[  4] local 77.88.252.136 port 42 492 connected with 77.88.252.135 port 5001
[ 13] local 77.88.252.136 port 42 491 connected with 77.88.252.135 port 5001
[ 11] local 77.88.252.136 port 42 493 connected with 77.88.252.135 port 5001
[ 14] local 77.88.252.136 port 42 494 connected with 77.88.252.135 port 5001
[ 12] local 77.88.252.136 port 42 495 connected with 77.88.252.135 port 5001
[ 16] local 77.88.252.136 port 42 496 connected with 77.88.252.135 port 5001
[ 15] local 77.88.252.136 port 42 498 connected with 77.88.252.135 port 5001
[ 18] local 77.88.252.136 port 42 497 connected with 77.88.252.135 port 5001
[ 17] local 77.88.252.136 port 42 499 connected with 77.88.252.135 port 5001
[ 21] local 77.88.252.136 port 42500 connected with 77.88.252.135 port 5001
[ 22] local 77.88.252.136 port 42501 connected with 77.88.252.135 port 5001
[ 20] local 77.88.252.136 port 42 502 connected with 77.88.252.135 port 5001
[ ID] Interval Transfer Bandwidth
[  4] 0.0-10.0 sec 7.79 MBytes 6.53 Mbits / sec
[ 10] 0.0-10.0 sec 8.04 MBytes 6.73 Mbits / sec
[ 14] 0.0-10.0 sec 6.90 MBytes 5.77 Mbits / sec
[ 13] 0.0-10.0 sec 8.16 MBytes 6.81 Mbits / sec
[ 15] 0.0-10.0 sec 7.19 MBytes 6.00 Mbits / sec
[ 18] 0.0-10.1 sec 7.20 MBytes 6.00 Mbits / sec
[ 21] 0.0-10.1 sec 7.34 MBytes 6.12 Mbits / sec
[  7] 0.0-10.1 sec 2.73 MBytes 2.27 Mbits / sec
[ 11] 0.0-10.1 sec 7.27 MBytes 6.04 Mbits / sec
[  3] 0.0-10.1 sec 10.6 MBytes 8.83 Mbits / sec
[  5] 0.0-10.1 sec 2.95 MBytes 2.45 Mbits / sec
[ 17] 0.0-10.1 sec 7.20 MBytes 5.96 Mbits / sec
[  6] 0.0-10.2 sec 9.50 MBytes 7.85 Mbits / sec
[ 20] 0.0-10.2 sec 2.42 MBytes 1.99 Mbits / sec
[ 12] 0.0-10.2 sec 7.15 MBytes 5.88 Mbits / sec
[ 22] 0.0-10.2 sec 2.22 MBytes 1.82 Mbits / sec
[  8] 0.0-10.3 sec 2.37 MBytes 1.93 Mbits / sec
[  9] 0.0-10.3 sec 3.23 MBytes 2.62 Mbits / sec
[ 16] 0.0-10.4 sec 4.59 MBytes 3.69 Mbits / sec
[ 19] 0.0-10.4 sec 2.66 MBytes 2.13 Mbits / sec
[SUM] 0.0-10.4 sec 118 MBytes 94.4 Mbits / sec

94,4 Mbit / s – is the figure otlychnыy!

© 2012 – 2014, https:. Все права защищены. Rudyuk Sergey. К2®

Тестирование скорости сервера в Linux Ubuntu

Заметил, что скорость на сервере все время маленькая – почему-то ни превышает 10 Мбит / с, в то время, как должна достигать 100 Мбит / с. Долго думал, что это из-за того, что в пользователей маленькая скорость, но … Вот у меня локальный интернет 80МБит / с и скорость все настолько же низкая: 0,8-2Мбит / с.

Начал искать причину. Протестировала локальный интернет на своем компьюетере с помощью сайта http://www.speedtest.net/ .
Показатели, конечно, меньше 80МБит / с, но в целом – выше на порядок, чем между сервером и локальным компьютером: 20-40Мбит / с …

Как же протестировать сервер?
Как оказалась, есть такая замечательная команда iperf.

Устанавливаем iperf на сервере:
apt-get install iperf

На клиентском компьютере, если он под Linux выполняем тоже данную команду. В случае же Windows ставим версию для Винды:
http://iperf.ru/wp-content/uploads/2009/07/jperf-2.0.0.zip

Теперь, запускаем на сервере сервис:
iperf -s

Выполняем на клиенте:
iperf -c НазваниеВашегоСервера -P 20
Расшифровка ключей.
-с – указывает на компьютер с Которым происходит передача данными.
-P – Указывает на количество потоков, Которые используются при передаче данных (в нашем случае – 20 потоков).

————————————————– ———-
Client connecting to corp2.net, TCP port 5001
TCP window size: 8.00 KByte (default)
————————————————– ———-
[1760] local 192.168.0.99 port 27951 connected with 77.88.252.136 port 5001
[1696] local 192.168.0.99 port 27955 connected with 77.88.252.136 port 5001
[1664] local 192.168.0.99 port 27957 connected with 77.88.252.136 port 5001
[1808] local 192.168.0.99 port 27948 connected with 77.88.252.136 port 5001
[1792] local 192.168.0.99 port 27949 connected with 77.88.252.136 port 5001
[1632] local 192.168.0.99 port 27959 connected with 77.88.252.136 port 5001
[1840] local 192.168.0.99 port 27946 connected with 77.88.252.136 port 5001
[1776] local 192.168.0.99 port 27950 connected with 77.88.252.136 port 5001
[1600] local 192.168.0.99 port 27961 connected with 77.88.252.136 port 5001
[1552] local 192.168.0.99 port 27964 connected with 77.88.252.136 port 5001
[1728] local 192.168.0.99 port 27953 connected with 77.88.252.136 port 5001
[1568] local 192.168.0.99 port 27963 connected with 77.88.252.136 port 5001
[1744] local 192.168.0.99 port 27952 connected with 77.88.252.136 port 5001
[1712] local 192.168.0.99 port 27954 connected with 77.88.252.136 port 5001
[1680] local 192.168.0.99 port 27956 connected with 77.88.252.136 port 5001
[1616] local 192.168.0.99 port 27960 connected with 77.88.252.136 port 5001
[1824] local 192.168.0.99 port 27947 connected with 77.88.252.136 port 5001
[ ID] Interval Transfer Bandwidth
[1824] 0.0-10.0 sec 360 KBytes 294 Kbits / sec
[1664] 0.0-10.2 sec 152 KBytes 123 Kbits / sec
[1808] 0.0-10.3 sec 696 KBytes 556 Kbits / sec
[1760] 0.0-10.7 sec 448 KBytes 342 Kbits / sec
[1776] 0.0-14.1 sec 32.0 KBytes 18.5 Kbits / sec
[1840] 0.0-14.2 sec 48.0 KBytes 27.8 Kbits / sec
[1632] 0.0-15.2 sec 56.0 KBytes 30.3 Kbits / sec
[1568] 0.0-18.1 sec 32.0 KBytes 14.5 Kbits / sec
[1680] 0.0-23.0 sec 40.0 KBytes 14.3 Kbits / sec
[1744] 0.0-23.1 sec 40.0 KBytes 14.2 Kbits / sec
[SUM] 0.0-23.1 sec 2.73 MBytes 993 Kbits / sec
Как видите, скорость и вправду далека от 100Мбит / сек. и в нашем случае составила всего 993 КБит / сек …
После того, как обратившегося к провайдеру, оказалось, что “неправильно срабатывал шейпер”. После снятия его, результаты кардинально улучшились:
Client connecting to srv1.corp2.net, TCP port 5001
————————————————– ———-
[1552] local 192.168.0.99 port 28786 connected with 77.88.252.135 port 5001
[1856] local 192.168.0.99 port 28767 connected with 77.88.252.135 port 5001
[1632] local 192.168.0.99 port 28781 connected with 77.88.252.135 port 5001
[1760] local 192.168.0.99 port 28773 connected with 77.88.252.135 port 5001
[1792] local 192.168.0.99 port 28771 connected with 77.88.252.135 port 5001
[1728] local 192.168.0.99 port 28775 connected with 77.88.252.135 port 5001
[1664] local 192.168.0.99 port 28779 connected with 77.88.252.135 port 5001
[1680] local 192.168.0.99 port 28778 connected with 77.88.252.135 port 5001
[1568] local 192.168.0.99 port 28785 connected with 77.88.252.135 port 5001
[1584] local 192.168.0.99 port 28784 connected with 77.88.252.135 port 5001
[1568] 0.0-10.1 sec 1.77 MBytes 1.47 Mbits / sec
[1616] 0.0-10.2 sec 1.55 MBytes 1.27 Mbits / sec
[1584] 0.0-10.2 sec 1.91 MBytes 1.57 Mbits / sec
[1552] 0.0-10.2 sec 904 KBytes 723 Kbits / sec
[1792] 0.0-10.2 sec 1.26 MBytes 1.03 Mbits / sec
[1776] 0.0-10.2 sec 1.26 MBytes 1.03 Mbits / sec
[1728] 0.0-10.2 sec 1.32 MBytes 1.08 Mbits / sec
[1824] 0.0-10.3 sec 1.51 MBytes 1.23 Mbits / sec
[1600] 0.0-10.3 sec 1.75 MBytes 1.43 Mbits / sec
[1664] 0.0-10.3 sec 1.34 MBytes 1.09 Mbits / sec
[ ID] Interval Transfer Bandwidth

————————————————– ———-
TCP window size: 16.0 KByte (default)
[ 19] local 77.88.252.136 port 42503 connected with 77.88.252.135 port 5001
[  9] local 77.88.252.136 port 42484 connected with 77.88.252.135 port 5001
[  6] local 77.88.252.136 port 42486 connected with 77.88.252.135 port 5001
[  7] local 77.88.252.136 port 42489 connected with 77.88.252.135 port 5001
[ 13] local 77.88.252.136 port 42491 connected with 77.88.252.135 port 5001
[ 12] local 77.88.252.136 port 42495 connected with 77.88.252.135 port 5001
[ 15] local 77.88.252.136 port 42498 connected with 77.88.252.135 port 5001
[ 17] local 77.88.252.136 port 42499 connected with 77.88.252.135 port 5001
[ 22] local 77.88.252.136 port 42501 connected with 77.88.252.135 port 5001
[  4] 0.0-10.0 sec 7.79 MBytes 6.53 Mbits / sec
[ 14] 0.0-10.0 sec 6.90 MBytes 5.77 Mbits / sec
[ 21] 0.0-10.1 sec 7.34 MBytes 6.12 Mbits / sec
[ 20] 0.0-10.2 sec 2.42 MBytes 1.99 Mbits / sec
[ 22] 0.0-10.2 sec 2.22 MBytes 1.82 Mbits / sec
[ 16] 0.0-10.4 sec 4.59 MBytes 3.69 Mbits / sec

Показатели, конечно, меньше 80МБит / с, но в целом – выше на порядок, чем между сервером и локальным компьютером: 20-40Мбит / с …
Как же протестировать сервер?

apt-get install iperf
На клиентском компьютере, если он под Linux выполняем тоже данную команду. В случае же Windows ставим версию для Винды:

iperf -s
Выполняем на клиенте:
Расшифровка ключей.
-P – Указывает на количество потоков, Которые используются при передаче данных (в нашем случае – 20 потоков).
————————————————– ———-
TCP window size: 8.00 KByte (default)
[1760] local 192.168.0.99 port 27951 connected with 77.88.252.136 port 5001
[1664] local 192.168.0.99 port 27957 connected with 77.88.252.136 port 5001
[1792] local 192.168.0.99 port 27949 connected with 77.88.252.136 port 5001
[1840] local 192.168.0.99 port 27946 connected with 77.88.252.136 port 5001
[1600] local 192.168.0.99 port 27961 connected with 77.88.252.136 port 5001
[1728] local 192.168.0.99 port 27953 connected with 77.88.252.136 port 5001
[1744] local 192.168.0.99 port 27952 connected with 77.88.252.136 port 5001
[1680] local 192.168.0.99 port 27956 connected with 77.88.252.136 port 5001
[1616] local 192.168.0.99 port 27960 connected with 77.88.252.136 port 5001
[1824] local 192.168.0.99 port 27947 connected with 77.88.252.136 port 5001
[1584] local 192.168.0.99 port 27962 connected with 77.88.252.136 port 5001
[1792] 0.0-10.0 sec 120 KBytes 98.1 Kbits / sec
[1696] 0.0-10.1 sec 184 KBytes 149 Kbits / sec
[1712] 0.0-10.2 sec 48.0 KBytes 38.6 Kbits / sec
[1616] 0.0-10.3 sec 40.0 KBytes 31.8 Kbits / sec
[1584] 0.0-10.7 sec 320 KBytes 245 Kbits / sec
[1600] 0.0-14.1 sec 32.0 KBytes 18.5 Kbits / sec
[1552] 0.0-14.1 sec 32.0 KBytes 18.5 Kbits / sec
[1648] 0.0-18.1 sec 40.0 KBytes 18.2 Kbits / sec
[1856] 0.0-18.1 sec 40.0 KBytes 18.1 Kbits / sec
[1728] 0.0-23.1 sec 40.0 KBytes 14.2 Kbits / sec
[ ID] Interval Transfer Bandwidth

————————————————– ———-
TCP window size: 8.00 KByte (default)
[1824] local 192.168.0.99 port 28769 connected with 77.88.252.135 port 5001
[1840] local 192.168.0.99 port 28768 connected with 77.88.252.135 port 5001
[1808] local 192.168.0.99 port 28770 connected with 77.88.252.135 port 5001
[1776] local 192.168.0.99 port 28772 connected with 77.88.252.135 port 5001
[1744] local 192.168.0.99 port 28774 connected with 77.88.252.135 port 5001
[1712] local 192.168.0.99 port 28776 connected with 77.88.252.135 port 5001
[1696] local 192.168.0.99 port 28777 connected with 77.88.252.135 port 5001
[1600] local 192.168.0.99 port 28783 connected with 77.88.252.135 port 5001
[1648] local 192.168.0.99 port 28780 connected with 77.88.252.135 port 5001
[1616] local 192.168.0.99 port 28782 connected with 77.88.252.135 port 5001
[ ID] Interval Transfer Bandwidth
[1744] 0.0-10.1 sec 1.08 MBytes 893 Kbits / sec
[1680] 0.0-10.2 sec 704 KBytes 564 Kbits / sec
[1856] 0.0-10.2 sec 1.20 MBytes 981 Kbits / sec
[1760] 0.0-10.2 sec 1.51 MBytes 1.24 Mbits / sec
[1712] 0.0-10.2 sec 1.70 MBytes 1.39 Mbits / sec
[1648] 0.0-10.2 sec 1.14 MBytes 938 Kbits / sec
[1808] 0.0-10.2 sec 1.05 MBytes 858 Kbits / sec
[1696] 0.0-10.3 sec 1.70 MBytes 1.39 Mbits / sec
[1840] 0.0-10.3 sec 1.44 MBytes 1.17 Mbits / sec
[1632] 0.0-11.4 sec 1.67 MBytes 1.23 Mbits / sec
[SUM] 0.0-11.4 sec 27.7 MBytes 20.4 Mbits / sec
А между серверами внутри провайдера достигает практически максимум (раньше было до 2 Мбит / с):
iperf -c srv1.corp2.net -P 20
Client connecting to srv1.corp2.net, TCP port 5001
————————————————– ———-
[  8] local 77.88.252.136 port 42485 connected with 77.88.252.135 port 5001
[  3] local 77.88.252.136 port 42487 connected with 77.88.252.135 port 5001
[  5] local 77.88.252.136 port 42488 connected with 77.88.252.135 port 5001
[ 10] local 77.88.252.136 port 42490 connected with 77.88.252.135 port 5001
[ 13] local 77.88.252.136 port 42491 connected with 77.88.252.135 port 5001
[ 14] local 77.88.252.136 port 42494 connected with 77.88.252.135 port 5001
[ 16] local 77.88.252.136 port 42496 connected with 77.88.252.135 port 5001
[ 18] local 77.88.252.136 port 42497 connected with 77.88.252.135 port 5001
[ 21] local 77.88.252.136 port 42500 connected with 77.88.252.135 port 5001
[ 20] local 77.88.252.136 port 42502 connected with 77.88.252.135 port 5001
[  4] 0.0-10.0 sec 7.79 MBytes 6.53 Mbits / sec
[ 14] 0.0-10.0 sec 6.90 MBytes 5.77 Mbits / sec
[ 15] 0.0-10.0 sec 7.19 MBytes 6.00 Mbits / sec
[ 21] 0.0-10.1 sec 7.34 MBytes 6.12 Mbits / sec
[ 11] 0.0-10.1 sec 7.27 MBytes 6.04 Mbits / sec
[  5] 0.0-10.1 sec 2.95 MBytes 2.45 Mbits / sec
[  6] 0.0-10.2 sec 9.50 MBytes 7.85 Mbits / sec
[ 12] 0.0-10.2 sec 7.15 MBytes 5.88 Mbits / sec
[  8] 0.0-10.3 sec 2.37 MBytes 1.93 Mbits / sec
[ 16] 0.0-10.4 sec 4.59 MBytes 3.69 Mbits / sec
[SUM] 0.0-10.4 sec 118 MBytes 94.4 Mbits / sec

94,4 Мбит / с – это отличный показатель!

© 2012 – 2015, https:. Все права защищены. Rudyuk Sergey. К2®

Тестирование скорости сервера в Linux Ubuntu

Заметил, что скорость на сервере все время маленькая – почему-то не превышает 10 Мбит/с, в то время, как должна достигать 100 МБит/с. Долго думал, что это из-за того, что у пользователей маленькая скорость, но… Вот у меня локальный интернет 80МБит/с и скорость все настолько же низкая: 0,8-2Мбит/с.

Начал искать причину. Протестировал локальный интернет на своем компьюетере с помощью сайта http://www.speedtest.net/.
Показатели, конечно, меньше 80МБит/с, но в целом – выше на порядок, чем между сервером и локальным компьютером: 20-40Мбит/с…

Как же протестировать сервер ?
Как оказалась, есть такая замечательная команда iperf.

Устанавливаем iperf на сервере:
apt-get install iperf

На клиентском компьютере, если он под Linux выполняем тоже данную команду. В случае же Windows ставим версию для Винды:
http://iperf.ru/wp-content/uploads/2009/07/jperf-2.0.0.zip

Теперь, запускаем на сервере сервис:
iperf -s

Выполняем на клиенте:
iperf -c НазваниеВашегоСервера -P 20
Расшифровка ключей.
-с – указывает на компьютер с которым происходит передача данными.
-P – указывает на количество потоков, которые используются при передаче данных (в нашем случае – 20 потоков).

————————————————————
Client connecting to corp2.net, TCP port 5001
TCP window size: 8.00 KByte (default)
————————————————————
[1760] local 192.168.0.99 port 27951 connected with 77.88.252.136 port 5001
[1696] local 192.168.0.99 port 27955 connected with 77.88.252.136 port 5001
[1664] local 192.168.0.99 port 27957 connected with 77.88.252.136 port 5001
[1808] local 192.168.0.99 port 27948 connected with 77.88.252.136 port 5001
[1792] local 192.168.0.99 port 27949 connected with 77.88.252.136 port 5001
[1632] local 192.168.0.99 port 27959 connected with 77.88.252.136 port 5001
[1840] local 192.168.0.99 port 27946 connected with 77.88.252.136 port 5001
[1776] local 192.168.0.99 port 27950 connected with 77.88.252.136 port 5001
[1600] local 192.168.0.99 port 27961 connected with 77.88.252.136 port 5001
[1552] local 192.168.0.99 port 27964 connected with 77.88.252.136 port 5001
[1728] local 192.168.0.99 port 27953 connected with 77.88.252.136 port 5001
[1568] local 192.168.0.99 port 27963 connected with 77.88.252.136 port 5001
[1744] local 192.168.0.99 port 27952 connected with 77.88.252.136 port 5001
[1712] local 192.168.0.99 port 27954 connected with 77.88.252.136 port 5001
[1680] local 192.168.0.99 port 27956 connected with 77.88.252.136 port 5001
[1648] local 192.168.0.99 port 27958 connected with 77.88.252.136 port 5001
[1616] local 192.168.0.99 port 27960 connected with 77.88.252.136 port 5001
[1856] local 192.168.0.99 port 27945 connected with 77.88.252.136 port 5001
[1824] local 192.168.0.99 port 27947 connected with 77.88.252.136 port 5001
[1584] local 192.168.0.99 port 27962 connected with 77.88.252.136 port 5001
[ ID] Interval       Transfer     Bandwidth
[1792]  0.0-10.0 sec   120 KBytes  98.1 Kbits/sec
[1824]  0.0-10.0 sec   360 KBytes   294 Kbits/sec
[1696]  0.0-10.1 sec   184 KBytes   149 Kbits/sec
[1664]  0.0-10.2 sec   152 KBytes   123 Kbits/sec
[1712]  0.0-10.2 sec  48.0 KBytes  38.6 Kbits/sec
[1808]  0.0-10.3 sec   696 KBytes   556 Kbits/sec
[1616]  0.0-10.3 sec  40.0 KBytes  31.8 Kbits/sec
[1760]  0.0-10.7 sec   448 KBytes   342 Kbits/sec
[1584]  0.0-10.7 sec   320 KBytes   245 Kbits/sec
[1776]  0.0-14.1 sec  32.0 KBytes  18.5 Kbits/sec
[1600]  0.0-14.1 sec  32.0 KBytes  18.5 Kbits/sec
[1840]  0.0-14.2 sec  48.0 KBytes  27.8 Kbits/sec
[1552]  0.0-14.1 sec  32.0 KBytes  18.5 Kbits/sec
[1632]  0.0-15.2 sec  56.0 KBytes  30.3 Kbits/sec
[1648]  0.0-18.1 sec  40.0 KBytes  18.2 Kbits/sec
[1568]  0.0-18.1 sec  32.0 KBytes  14.5 Kbits/sec
[1856]  0.0-18.1 sec  40.0 KBytes  18.1 Kbits/sec
[1680]  0.0-23.0 sec  40.0 KBytes  14.3 Kbits/sec
[1728]  0.0-23.1 sec  40.0 KBytes  14.2 Kbits/sec
[1744]  0.0-23.1 sec  40.0 KBytes  14.2 Kbits/sec
[ ID] Interval       Transfer     Bandwidth
[SUM]  0.0-23.1 sec  2.73 MBytes   993 Kbits/sec

Как видите, скорость и вправду далека от 100МБит/сек. и в нашем случае составила всего 993 КБит/сек…

После того, как обратились к провайдеру, оказалось, что “не правильно срабатывал шейпер”. После снятия его, результаты кардинально улучшились:
————————————————————
Client connecting to srv1.corp2.net, TCP port 5001
TCP window size: 8.00 KByte (default)
————————————————————
[1824] local 192.168.0.99 port 28769 connected with 77.88.252.135 port 5001
[1552] local 192.168.0.99 port 28786 connected with 77.88.252.135 port 5001
[1840] local 192.168.0.99 port 28768 connected with 77.88.252.135 port 5001
[1856] local 192.168.0.99 port 28767 connected with 77.88.252.135 port 5001
[1808] local 192.168.0.99 port 28770 connected with 77.88.252.135 port 5001
[1632] local 192.168.0.99 port 28781 connected with 77.88.252.135 port 5001
[1776] local 192.168.0.99 port 28772 connected with 77.88.252.135 port 5001
[1760] local 192.168.0.99 port 28773 connected with 77.88.252.135 port 5001
[1744] local 192.168.0.99 port 28774 connected with 77.88.252.135 port 5001
[1792] local 192.168.0.99 port 28771 connected with 77.88.252.135 port 5001
[1712] local 192.168.0.99 port 28776 connected with 77.88.252.135 port 5001
[1728] local 192.168.0.99 port 28775 connected with 77.88.252.135 port 5001
[1696] local 192.168.0.99 port 28777 connected with 77.88.252.135 port 5001
[1664] local 192.168.0.99 port 28779 connected with 77.88.252.135 port 5001
[1600] local 192.168.0.99 port 28783 connected with 77.88.252.135 port 5001
[1680] local 192.168.0.99 port 28778 connected with 77.88.252.135 port 5001
[1648] local 192.168.0.99 port 28780 connected with 77.88.252.135 port 5001
[1568] local 192.168.0.99 port 28785 connected with 77.88.252.135 port 5001
[1616] local 192.168.0.99 port 28782 connected with 77.88.252.135 port 5001
[1584] local 192.168.0.99 port 28784 connected with 77.88.252.135 port 5001
[ ID] Interval       Transfer     Bandwidth
[1568]  0.0-10.1 sec  1.77 MBytes  1.47 Mbits/sec
[1744]  0.0-10.1 sec  1.08 MBytes   893 Kbits/sec
[1616]  0.0-10.2 sec  1.55 MBytes  1.27 Mbits/sec
[1680]  0.0-10.2 sec   704 KBytes   564 Kbits/sec
[1584]  0.0-10.2 sec  1.91 MBytes  1.57 Mbits/sec
[1856]  0.0-10.2 sec  1.20 MBytes   981 Kbits/sec
[1552]  0.0-10.2 sec   904 KBytes   723 Kbits/sec
[1760]  0.0-10.2 sec  1.51 MBytes  1.24 Mbits/sec
[1792]  0.0-10.2 sec  1.26 MBytes  1.03 Mbits/sec
[1712]  0.0-10.2 sec  1.70 MBytes  1.39 Mbits/sec
[1776]  0.0-10.2 sec  1.26 MBytes  1.03 Mbits/sec
[1648]  0.0-10.2 sec  1.14 MBytes   938 Kbits/sec
[1728]  0.0-10.2 sec  1.32 MBytes  1.08 Mbits/sec
[1808]  0.0-10.2 sec  1.05 MBytes   858 Kbits/sec
[1824]  0.0-10.3 sec  1.51 MBytes  1.23 Mbits/sec
[1696]  0.0-10.3 sec  1.70 MBytes  1.39 Mbits/sec
[1600]  0.0-10.3 sec  1.75 MBytes  1.43 Mbits/sec
[1840]  0.0-10.3 sec  1.44 MBytes  1.17 Mbits/sec
[1664]  0.0-10.3 sec  1.34 MBytes  1.09 Mbits/sec
[1632]  0.0-11.4 sec  1.67 MBytes  1.23 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[SUM]  0.0-11.4 sec  27.7 MBytes  20.4 Mbits/sec

А между серверами внутри провайдера достигает практически максимум (раньше было до 2 МБит/с):

iperf -c srv1.corp2.net -P 20
————————————————————
Client connecting to srv1.corp2.net, TCP port 5001
TCP window size: 16.0 KByte (default)
————————————————————
[ 19] local 77.88.252.136 port 42503 connected with 77.88.252.135 port 5001
[  8] local 77.88.252.136 port 42485 connected with 77.88.252.135 port 5001
[  9] local 77.88.252.136 port 42484 connected with 77.88.252.135 port 5001
[  3] local 77.88.252.136 port 42487 connected with 77.88.252.135 port 5001
[  6] local 77.88.252.136 port 42486 connected with 77.88.252.135 port 5001
[  5] local 77.88.252.136 port 42488 connected with 77.88.252.135 port 5001
[  7] local 77.88.252.136 port 42489 connected with 77.88.252.135 port 5001
[ 10] local 77.88.252.136 port 42490 connected with 77.88.252.135 port 5001
[  4] local 77.88.252.136 port 42492 connected with 77.88.252.135 port 5001
[ 13] local 77.88.252.136 port 42491 connected with 77.88.252.135 port 5001
[ 11] local 77.88.252.136 port 42493 connected with 77.88.252.135 port 5001
[ 14] local 77.88.252.136 port 42494 connected with 77.88.252.135 port 5001
[ 12] local 77.88.252.136 port 42495 connected with 77.88.252.135 port 5001
[ 16] local 77.88.252.136 port 42496 connected with 77.88.252.135 port 5001
[ 15] local 77.88.252.136 port 42498 connected with 77.88.252.135 port 5001
[ 18] local 77.88.252.136 port 42497 connected with 77.88.252.135 port 5001
[ 17] local 77.88.252.136 port 42499 connected with 77.88.252.135 port 5001
[ 21] local 77.88.252.136 port 42500 connected with 77.88.252.135 port 5001
[ 22] local 77.88.252.136 port 42501 connected with 77.88.252.135 port 5001
[ 20] local 77.88.252.136 port 42502 connected with 77.88.252.135 port 5001
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  7.79 MBytes  6.53 Mbits/sec
[ 10]  0.0-10.0 sec  8.04 MBytes  6.73 Mbits/sec
[ 14]  0.0-10.0 sec  6.90 MBytes  5.77 Mbits/sec
[ 13]  0.0-10.0 sec  8.16 MBytes  6.81 Mbits/sec
[ 15]  0.0-10.0 sec  7.19 MBytes  6.00 Mbits/sec
[ 18]  0.0-10.1 sec  7.20 MBytes  6.00 Mbits/sec
[ 21]  0.0-10.1 sec  7.34 MBytes  6.12 Mbits/sec
[  7]  0.0-10.1 sec  2.73 MBytes  2.27 Mbits/sec
[ 11]  0.0-10.1 sec  7.27 MBytes  6.04 Mbits/sec
[  3]  0.0-10.1 sec  10.6 MBytes  8.83 Mbits/sec
[  5]  0.0-10.1 sec  2.95 MBytes  2.45 Mbits/sec
[ 17]  0.0-10.1 sec  7.20 MBytes  5.96 Mbits/sec
[  6]  0.0-10.2 sec  9.50 MBytes  7.85 Mbits/sec
[ 20]  0.0-10.2 sec  2.42 MBytes  1.99 Mbits/sec
[ 12]  0.0-10.2 sec  7.15 MBytes  5.88 Mbits/sec
[ 22]  0.0-10.2 sec  2.22 MBytes  1.82 Mbits/sec
[  8]  0.0-10.3 sec  2.37 MBytes  1.93 Mbits/sec
[  9]  0.0-10.3 sec  3.23 MBytes  2.62 Mbits/sec
[ 16]  0.0-10.4 sec  4.59 MBytes  3.69 Mbits/sec
[ 19]  0.0-10.4 sec  2.66 MBytes  2.13 Mbits/sec
[SUM]  0.0-10.4 sec    118 MBytes  94.4 Mbits/sec

94,4 Мбит/с – это отличный показатель!

© 2012 – 2015, https:. Все права защищены. Rudyuk Sergey. К2®

Jak zrobić jedną, Aby nie programu zavershala prace po terminalu zakrыtyya kit

Czasami bыvaet potrzebne, Aby zakrыtyy program terminala bez zavershala ich pracy.
W systemie Linux można dodać vsego lysh Enough & amp; k zespołów i onaya Czy vыpolnyatsya w “tle”, czyli zakrыtye Terminal Okna na neё nie będzie vlyyat. Na przykład:
rar a -r ppp.rar arh_papka & amp;

Jak dobrze można dostych ten wynik z polecenia pomoshchju:

ekran $ zespół
po cheho + Avto powiedzieć odłączenia
s
-r $ ekran
Avto Verne w Nee.

© 2012 – 2014, https:. Все права защищены. Rudyuk Sergey. К2®

How to make one, To program not zavershala its work after zakrыtyya putty terminal

Sometimes, bыvaet need it, To zakrыtyy terminal program with no zavershala their work.
In Linux you add vsego lysh Enough & amp; k teams and onaya Will vыpolnyatsya in “the background”, ie zakrыtye okna terminal on neё will not be vlyyat. For example:
rar a -r ppp.rar arh_papka & amp;

As well You can dostych this result with pomoshchju commands:

$ screen your team
after cheho + Avto to say detach
and
$ screen -r
Avto Verne in nee.

© 2012 – 2014, https:. Все права защищены. Rudyuk Sergey. К2®

Translate »
Menu Title