Author: Arun Bagul

Cómo probar el rendimiento de red y ancho de banda

Cómo probar el rendimiento de red y ancho de banda

Introducción –

La latencia de red y ancho de banda son los dos indicadores más probable que sea de interés al punto de referencia de una red. Aunque la mayoría de servicios y publicidad de los productos se centra en el ancho de banda, a veces, la latencia puede ser un indicador más importante.

** ¿Qué es el ancho de banda?

Ancho de banda (BW) en redes de computadoras se refiere a la velocidad de datos con el apoyo de una conexión de red o interfaz. BW se mide en términos de bits por segundo (bps).

** ¿Qué es la latencia de la red?

La latencia es una medida de tiempo de retraso experimentado en un sistema. La latencia de red se define simplemente como el tiempo de retardo observado como transmite los datos de un punto a otro. Hay una serie de factores que contribuyen a la latencia de la red. Estos incluyen la transmisión (medio de la conectividad), Distancia, routers y los retrasos de hardware.

Lista de proyectos utilizados para probar el rendimiento de red y ancho de banda –

1) bmon – monitor de ancho de banda y estimador de la tasa, es la consola basada en directo BW
2) bwbar – uso de ancho de banda en formato de texto y gráficos
3) BMW-ng – Bandwidth Monitor NG (Next Generation, en vivo PC, la consola basada en
4) Dstat – Dstat es un reemplazo para vmstat, iostat y ifstat.
5) iftop – el uso de ancho de banda en una interfaz, basada en la consola
6) iperf – Realizar las pruebas de rendimiento de redes apostar dos de acogida
7) ifstat – Informe interfaz de estadísticas
8) metros cúbicos – Color medidor de ancho de banda, basado en consola
9) etherape – Red Gráfica navegador tráfico
10) iptraf – interactivo colorido IP LAN Monitor, la consola y la interfaz gráfica basada en
11) netmrg – Es el demonio, apoyar mySQL, reúne datos de los dispositivos.
12) nuttcp – herramienta de red de medición del desempeño
13) nepim

NOTA ~ Para algunos de ellos los paquetes rpm o deb no están disponibles!

Paso 1] Cómo instalar en RedHat / RHCE, el sistema de CentOS base y el sistema basado en Dibian?

root@me:~# yum install netperf iperf nuttcp nepim lmbench

** Ubuntu –

root@me:~# apt-get install  bmon bwbar bwm-ng dstat cbm etherape iftop iperf ifstat iptraf netmrg

Paso 2] Modo de uso – bmon, BWM-ng, Dstat, ifstat –

root@me:~# bmon

interface: lo at me.arun.world

#   Interface                RX Rate         RX #     TX Rate         TX #
───────────────────────────────────────────────────────────────────────────────
me.arun.host (source: local)
0   lo                         0.00B            0       0.00B            0
1   eth0                       0.00B            0       0.00B            0
2   eth2                       0.00B            0       0.00B            0
3   vboxnet0                   0.00B            0       0.00B            0
4   pan0                       0.00B            0       0.00B            0
5   ppp0                      69.39KiB         61       7.49KiB         44

root@me:~# bwm-ng

bwm-ng v0.6 (probing every 0.500s), press ‘h’ for help
input: /proc/net/dev type: rate
\         iface                   Rx                   Tx                Total
==============================================================================
lo:           0.00 KB/s            0.00 KB/s            0.00 KB/s
eth0:           0.00 KB/s            0.00 KB/s            0.00 KB/s
eth2:           0.00 KB/s            0.00 KB/s            0.00 KB/s
ppp0:          64.39 KB/s            7.92 KB/s           72.31 KB/s
——————————————————————————
total:          64.39 KB/s            7.92 KB/s           72.31 KB/s

root@me:~# dstat
—-total-cpu-usage—- -dsk/total- -net/total- —paging– —system–
usr sys idl wai hiq siq| read  writ| recv  send|  in   out | int   csw
7   4  85   4   0   0| 281k  110k|   0     0 |   0     0 | 865  3013
8   4  88   0   0   0|   0     0 |7027B 1261B|   0     0 | 956  4505
8   5  86   0   0   0|   0     0 |  14k 1867B|   0     0 |1144  3332
9   5  86   0   1   0|   0     0 |  79k 2496B|   0     0 |1360  3366
18   8  74   0   0   0|   0     0 |  52k 6511B|   0     0 |1299  3618
8   6  85   0   1   0|   0     0 |  35k 5339B|   0     0 |1094  4231
6   4  90   0   0   0|   0     0 |   0  3164B|   0     0 | 953  2750 ^C
root@me:~#

root@me:~# ifstat
eth0                eth2                ppp0
KB/s in  KB/s out   KB/s in  KB/s out   KB/s in  KB/s out
0.00      0.00      0.00      0.00     95.73      4.31
0.00      0.00      0.00      0.00     67.93      8.17
0.00      0.00      0.00      0.00    106.77     13.70

** Inicio “iperf” servidor en un host (A) y el cliente en otro host (B) – para medir el rendimiento de red entre dos hosts.

* Host -A

root@me:~# iperf -s
————————————————————
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
————————————————————
[  4] local 192.168.0.1 port 5001 connected with 192.168.0.2 port 56171
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  9.11 GBytes  7.82 Gbits/sec

* Host -B
test@hostB:~$ iperf -c 192.168.0.1
————————————————————
Client connecting to 192.168.0.1, TCP port 5001
TCP window size: 49.5 KByte (default)
————————————————————
[  3] local 192.168.0.2 port 56171 connected with 192.168.0.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  9.11 GBytes  7.82 Gbits/sec
test@hostB:~$

root@me:~# iftop
root@me:~# cbm

Thank you,
Arun Bagul

كيفية اختبار أداء الشبكة وعرض النطاق الترددي

كيفية اختبار أداء الشبكة وعرض النطاق الترددي

— مقدمة

شبكة الكمون وعرض النطاق الترددي هي مقاييس اثنين من الأرجح أن تكون ذات فائدة عند مؤشر الشبكة. بالرغم من أن معظم الخدمات والمنتجات الإعلان يركز على عرض النطاق الترددي ، في بعض الأحيان يمكن أن يكون الكمون أهم متري.

** ما هو عرض النطاق الترددي؟

عرض النطاق الترددي (البيولوجية) في شبكات الحاسوب يشير إلى معدل البيانات التي تدعمها شبكة اتصال أو واجهة. يتم قياس وزن الجسم من حيث بت في الثانية (بت في الثانية).

** ما هي شبكة الكمون؟

الكمون هي مقياس لتأخير الوقت من ذوي الخبرة في هذا النظام. ويعرف ببساطة شبكة الكمون والتأخير الوقت كما لوحظ ينقل البيانات من نقطة واحدة إلى أخرى. وهناك عدد من العوامل التي تسهم في استتار الشبكة. وتشمل هذه نقل (متوسطة من الاتصال) ، المسافة والموجهات والتأخير أجهزة الكمبيوتر.

قائمة المشاريع استخدامها لاختبار أداء الشبكة وعرض النطاق الترددي —

1) bmon — رصد عرض النطاق الترددي ومعدل مقدر ، هو أساس وحدة والعيش الأسلحة البيولوجية
2) bwbar — استخدام عرض النطاق الترددي في النص والرسومات تنسيق
3) bwm – نانوغرام — عرض النطاق الترددي مراقب نغ (الجيل التالي ، ويعيش الأسلحة البيولوجية ، وحدة تستند
4) dstat — Dstat هو استبدال لiostat ، vmstat وifstat.
وحدة التحكم يستند استخدام عرض النطاق الترددي على واجهة ، — 5) iftop
رهان الإنتاجية شبكة إجراء اختبارات اثنين المضيف — 6) iperf
7) ifstat — تقرير واجهة إحصائيات
وحدة التحكم يستند لون باندوتز متر ، — 8) تدابير بناء الثقة
9) etherape — الرسومات متصفح شبكة المرور
10) iptraf — ملون التفاعلية الملكية الفكرية المحلية مراقب ، وحدة التحكم واجهة المستخدم الرسومية تستند
11) netmrg — إنه شيطان يستند إلى دعم الخلية ، تجمع البيانات من الأجهزة.
12) nuttcp — شبكة أداة قياس الأداء
13) nepim

ملاحظة ~ وبالنسبة للبعض منهم دورة في الدقيقة أو ديب حزم غير متوفرة!

خطوة 1] كيفية تثبيت على ردهات / RHCE ، CentOS النظام القائم والنظام القائم Dibian؟

root@me:~# yum install netperf iperf nuttcp nepim lmbench

** أوبونتو —

root@me:~# apt-get install  bmon bwbar bwm-ng dstat cbm etherape iftop iperf ifstat iptraf netmrg

الخطوة 2] كيفية استخدام — bmon ، bwm ، نغ ، dstat ، ifstat —

root@me:~# bmon

interface: lo at me.arun.world

#   Interface                RX Rate         RX #     TX Rate         TX #
───────────────────────────────────────────────────────────────────────────────
me.arun.host (source: local)
0   lo                         0.00B            0       0.00B            0
1   eth0                       0.00B            0       0.00B            0
2   eth2                       0.00B            0       0.00B            0
3   vboxnet0                   0.00B            0       0.00B            0
4   pan0                       0.00B            0       0.00B            0
5   ppp0                      69.39KiB         61       7.49KiB         44

root@me:~# bwm-ng

bwm-ng v0.6 (probing every 0.500s), press ‘h’ for help
input: /proc/net/dev type: rate
\         iface                   Rx                   Tx                Total
==============================================================================
lo:           0.00 KB/s            0.00 KB/s            0.00 KB/s
eth0:           0.00 KB/s            0.00 KB/s            0.00 KB/s
eth2:           0.00 KB/s            0.00 KB/s            0.00 KB/s
ppp0:          64.39 KB/s            7.92 KB/s           72.31 KB/s
——————————————————————————
total:          64.39 KB/s            7.92 KB/s           72.31 KB/s

root@me:~# dstat
—-total-cpu-usage—- -dsk/total- -net/total- —paging– —system–
usr sys idl wai hiq siq| read  writ| recv  send|  in   out | int   csw
7   4  85   4   0   0| 281k  110k|   0     0 |   0     0 | 865  3013
8   4  88   0   0   0|   0     0 |7027B 1261B|   0     0 | 956  4505
8   5  86   0   0   0|   0     0 |  14k 1867B|   0     0 |1144  3332
9   5  86   0   1   0|   0     0 |  79k 2496B|   0     0 |1360  3366
18   8  74   0   0   0|   0     0 |  52k 6511B|   0     0 |1299  3618
8   6  85   0   1   0|   0     0 |  35k 5339B|   0     0 |1094  4231
6   4  90   0   0   0|   0     0 |   0  3164B|   0     0 | 953  2750 ^C
root@me:~#

root@me:~# ifstat
eth0                eth2                ppp0
KB/s in  KB/s out   KB/s in  KB/s out   KB/s in  KB/s out
0.00      0.00      0.00      0.00     95.73      4.31
0.00      0.00      0.00      0.00     67.93      8.17
0.00      0.00      0.00      0.00    106.77     13.70

** ابدأ “iperf” ملقم على مضيف واحد (أ) والعميل على مضيف آخر (ب) — شبكة لقياس الإنتاجية بين البلدين المضيفين.

* Host -A

root@me:~# iperf -s
————————————————————
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
————————————————————
[  4] local 192.168.0.1 port 5001 connected with 192.168.0.2 port 56171
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  9.11 GBytes  7.82 Gbits/sec

* Host -B
test@hostB:~$ iperf -c 192.168.0.1
————————————————————
Client connecting to 192.168.0.1, TCP port 5001
TCP window size: 49.5 KByte (default)
————————————————————
[  3] local 192.168.0.2 port 56171 connected with 192.168.0.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  9.11 GBytes  7.82 Gbits/sec
test@hostB:~$

root@me:~# iftop
root@me:~# cbm

Thank you,
Arun Bagul

केसे करना है नेटवर्क और बैंडविड्थ का परीक्षण

केसे करना है नेटवर्क और बैंडविड्थ का परीक्षण

परिचय –

विलंबता नेटवर्क और बैंडविड्थ दो सबसे हित के होने की संभावना मीट्रिक्स हैं जब आप बेंचमार्क एक नेटवर्क. हालांकि अधिकांश सेवा और उत्पाद विज्ञापन समय पर बैंडविड्थ, पर केंद्रित एक अधिक विलंबता मीट्रिक महत्वपूर्ण हो सकता है.

** क्या बैंडविड्थ है?

बैंडविड्थ (BW) कंप्यूटर नेटवर्किंग में डेटा एक नेटवर्क कनेक्शन या अंतरफलक के द्वारा समर्थित दर को दर्शाता है. BW प्रति सेकंड बिट (bps) के संदर्भ में मापा जाता है.

** क्या नेटवर्क विलंबता है?

विलंबता समय में देरी का एक उपाय एक प्रणाली में अनुभव होता है. नेटवर्क विलंबता बस के रूप में समय में देरी एक बिंदु से डाटा संचारित रूप में एक और करने के लिए मनाया परिभाषित किया गया है. वहाँ कारकों की है कि नेटवर्क विलंबता में योगदान का एक नंबर रहे हैं. इन ट्रांसमिशन में शामिल हैं (संपर्क के माध्यम), दूरस्थ Routers, और कंप्यूटर हार्डवेयर देरी.

नेटवर्क  और बैंडविड्थ का परीक्षण करने के लिए परियोजनाओं (टूल्स) की सूची –

1) bmon – बैंडविड्थ की निगरानी और, यह आधारित सांत्वना है दर अनुमानक, BW रहते हैं
2) bwbar – पाठ और ग्राफ़िकल में बैंडविड्थ उपयोग प्रारूप
) BWM-एनजी 3 – बैंडविड्थ की निगरानी एनजी (अगली पीढ़ी, BW रहते हैं, आधारित सांत्वना
4) dstat – Dstat vmstat iostat, और ifstat के लिए एक प्रतिस्थापन है.
5) iftop – एक अंतरफलक पर बैंडविड्थ उपयोग, आधारित सांत्वना
6) iperf – प्रदर्शन नेटवर्क throughput परीक्षणों दो मेजबान शर्त
7) ifstat – रिपोर्ट इंटरफ़ेस सांख्यिकी
8) सीबीएम – रंग बैंडविड्थ मीटर, आधारित सांत्वना
9) etherape – ग्राफिकल नेटवर्क यातायात ब्राउज़र
10) iptraf – इंटरएक्टिव रंगीन आईपी लैन मॉनिटर कंसोल, और GUI आधारित
11) netmrg – यह आधारित डेमॉन, mySQL समर्थन, उपकरणों से इकट्ठा डेटा है.
12) nuttcp – नेटवर्क प्रदर्शन मापन उपकरण
13) nepim

नोट उनमें से कुछ के लिए rpm या देब संकुल ~ उपलब्ध नहीं हैं!

कदम 1]  RedHat / RHCE, CentOS और Dibian आधारित प्रणाली पर स्थापित करने के लिए  –

root@me:~# yum install netperf iperf nuttcp nepim lmbench

** Ubuntu –

root@me:~# apt-get install  bmon bwbar bwm-ng dstat cbm etherape iftop iperf ifstat iptraf netmrg

कदम 2]  bmon, BWM-एनजी, dstat, ifstat का उपयोग कैसे करें   –

root@me:~# bmon

interface: lo at me.arun.world

#   Interface                RX Rate         RX #     TX Rate         TX #
───────────────────────────────────────────────────────────────────────────────
me.arun.host (source: local)
0   lo                         0.00B            0       0.00B            0
1   eth0                       0.00B            0       0.00B            0
2   eth2                       0.00B            0       0.00B            0
3   vboxnet0                   0.00B            0       0.00B            0
4   pan0                       0.00B            0       0.00B            0
5   ppp0                      69.39KiB         61       7.49KiB         44

root@me:~# bwm-ng

bwm-ng v0.6 (probing every 0.500s), press ‘h’ for help
input: /proc/net/dev type: rate
\         iface                   Rx                   Tx                Total
==============================================================================
lo:           0.00 KB/s            0.00 KB/s            0.00 KB/s
eth0:           0.00 KB/s            0.00 KB/s            0.00 KB/s
eth2:           0.00 KB/s            0.00 KB/s            0.00 KB/s
ppp0:          64.39 KB/s            7.92 KB/s           72.31 KB/s
——————————————————————————
total:          64.39 KB/s            7.92 KB/s           72.31 KB/s

root@me:~# dstat
—-total-cpu-usage—- -dsk/total- -net/total- —paging– —system–
usr sys idl wai hiq siq| read  writ| recv  send|  in   out | int   csw
7   4  85   4   0   0| 281k  110k|   0     0 |   0     0 | 865  3013
8   4  88   0   0   0|   0     0 |7027B 1261B|   0     0 | 956  4505
8   5  86   0   0   0|   0     0 |  14k 1867B|   0     0 |1144  3332
9   5  86   0   1   0|   0     0 |  79k 2496B|   0     0 |1360  3366
18   8  74   0   0   0|   0     0 |  52k 6511B|   0     0 |1299  3618
8   6  85   0   1   0|   0     0 |  35k 5339B|   0     0 |1094  4231
6   4  90   0   0   0|   0     0 |   0  3164B|   0     0 | 953  2750 ^C
root@me:~#

root@me:~# ifstat
eth0                eth2                ppp0
KB/s in  KB/s out   KB/s in  KB/s out   KB/s in  KB/s out
0.00      0.00      0.00      0.00     95.73      4.31
0.00      0.00      0.00      0.00     67.93      8.17
0.00      0.00      0.00      0.00    106.77     13.70

** “iperf” – होस्ट (ए) और होस्ट (ब) सर्वर पर, दो मेजबान के बीच नेटवर्क throughput को मापने के लिए.

* Host -A

root@me:~# iperf -s
————————————————————
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
————————————————————
[  4] local 192.168.0.1 port 5001 connected with 192.168.0.2 port 56171
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  9.11 GBytes  7.82 Gbits/sec

* Host -B
test@hostB:~$ iperf -c 192.168.0.1
————————————————————
Client connecting to 192.168.0.1, TCP port 5001
TCP window size: 49.5 KByte (default)
————————————————————
[  3] local 192.168.0.2 port 56171 connected with 192.168.0.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  9.11 GBytes  7.82 Gbits/sec
test@hostB:~$

root@me:~# iftop
root@me:~# cbm

धन्यवाद,
अरुण

Bagaimana kinerja Pengujian Jaringan dan Bandwidth

Bagaimana kinerja Pengujian Jaringan dan Bandwidth

Pendahuluan –

Jaringan latency dan Bandwidth adalah dua metrik paling mungkin menarik ketika Anda patokan jaringan. Meskipun layanan yang paling dan iklan produk berfokus pada bandwidth, pada waktu latency dapat menjadi lebih penting metrik.

** Apa itu Bandwidth?

Bandwidth (BW) dalam jaringan komputer mengacu pada data rate didukung oleh koneksi jaringan atau antarmuka. BW diukur dalam bit per detik (bps).

** Apa itu Jaringan latency?

Latency adalah ukuran waktu tunda yang dialami dalam suatu sistem. Jaringan latency hanya didefinisikan sebagai waktu tunda diamati sebagai mentransmisikan data dari satu titik ke titik lain. Ada sejumlah faktor yang berkontribusi terhadap latensi jaringan. Ini termasuk transmisi (medium konektivitas), Jarak, Router dan keterlambatan perangkat keras komputer.

Daftar Proyek yang digunakan untuk menguji kinerja jaringan dan Bandwidth –

1) bmon – memantau Bandwidth dan estimator rate, itu adalah berbasis konsol, hidup BW
2) bwbar – Penggunaan Bandwidth Teks dan format grafis
3) BWM-ng – Bandwidth Monitor NG (Next Generation, hidup BW, konsol berbasis
4) dstat – Dstat adalah pengganti untuk vmstat, iostat dan ifstat.
5) iftop – Penggunaan Bandwidth pada sebuah antarmuka, konsol berbasis
6) iperf – Lakukan tes throughput Jaringan bertaruh dua host
7) ifstat – Laporan Interface Statistik
8) cbm – Warna Bandwidth Meter, konsol berbasis
9) etherape – Grafis browser jaringan lalu lintas
10) iptraf – Interactive Colorful IP LAN Monitor, konsol dan berbasis GUI
11) netmrg – Ini adalah daemon berbasis, dukungan mySQL, Mengumpulkan data dari perangkat.
12) nuttcp – kinerja alat ukur Jaringan
13) nepim

CATATAN ~ Untuk beberapa dari mereka rpm atau deb paket tidak tersedia!

Langkah 1] Bagaimana menginstal pada Redhat / RHCE, sistem berbasis CentOS dan sistem berbasis Dibian?

root@me:~# yum install netperf iperf nuttcp nepim lmbench

** Ubuntu –

root@me:~# apt-get install  bmon bwbar bwm-ng dstat cbm etherape iftop iperf ifstat iptraf netmrg

Langkah 2] Bagaimana menggunakan – bmon, BWM-ng, dstat, ifstat –

root@me:~# bmon

interface: lo at me.arun.world

#   Interface                RX Rate         RX #     TX Rate         TX #
───────────────────────────────────────────────────────────────────────────────
me.arun.host (source: local)
0   lo                         0.00B            0       0.00B            0
1   eth0                       0.00B            0       0.00B            0
2   eth2                       0.00B            0       0.00B            0
3   vboxnet0                   0.00B            0       0.00B            0
4   pan0                       0.00B            0       0.00B            0
5   ppp0                      69.39KiB         61       7.49KiB         44

root@me:~# bwm-ng

bwm-ng v0.6 (probing every 0.500s), press ‘h’ for help
input: /proc/net/dev type: rate
\         iface                   Rx                   Tx                Total
==============================================================================
lo:           0.00 KB/s            0.00 KB/s            0.00 KB/s
eth0:           0.00 KB/s            0.00 KB/s            0.00 KB/s
eth2:           0.00 KB/s            0.00 KB/s            0.00 KB/s
ppp0:          64.39 KB/s            7.92 KB/s           72.31 KB/s
——————————————————————————
total:          64.39 KB/s            7.92 KB/s           72.31 KB/s

root@me:~# dstat
—-total-cpu-usage—- -dsk/total- -net/total- —paging– —system–
usr sys idl wai hiq siq| read  writ| recv  send|  in   out | int   csw
7   4  85   4   0   0| 281k  110k|   0     0 |   0     0 | 865  3013
8   4  88   0   0   0|   0     0 |7027B 1261B|   0     0 | 956  4505
8   5  86   0   0   0|   0     0 |  14k 1867B|   0     0 |1144  3332
9   5  86   0   1   0|   0     0 |  79k 2496B|   0     0 |1360  3366
18   8  74   0   0   0|   0     0 |  52k 6511B|   0     0 |1299  3618
8   6  85   0   1   0|   0     0 |  35k 5339B|   0     0 |1094  4231
6   4  90   0   0   0|   0     0 |   0  3164B|   0     0 | 953  2750 ^C
root@me:~#

root@me:~# ifstat
eth0                eth2                ppp0
KB/s in  KB/s out   KB/s in  KB/s out   KB/s in  KB/s out
0.00      0.00      0.00      0.00     95.73      4.31
0.00      0.00      0.00      0.00     67.93      8.17
0.00      0.00      0.00      0.00    106.77     13.70

** Mulai “iperf” server di satu host (A) dan klien pada host yang lain (B) – untuk mengukur throughput jaringan antara dua host.

* Host -A

root@me:~# iperf -s
————————————————————
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
————————————————————
[  4] local 192.168.0.1 port 5001 connected with 192.168.0.2 port 56171
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  9.11 GBytes  7.82 Gbits/sec

* Host -B
test@hostB:~$ iperf -c 192.168.0.1
————————————————————
Client connecting to 192.168.0.1, TCP port 5001
TCP window size: 49.5 KByte (default)
————————————————————
[  3] local 192.168.0.2 port 56171 connected with 192.168.0.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  9.11 GBytes  7.82 Gbits/sec
test@hostB:~$

root@me:~# iftop
root@me:~# cbm

Thank you,
Arun Bagul

테스트하는 방법 네트워크 성능과 대역폭에

테스트하는 방법 네트워크 성능과 대역폭에

소개 –

네트워크 대기 시간과 대역폭이 통계에서 가장 관심이있을 가능성이 때 벤치 마크 네트워크. 대부분의 서비스 및 제품 광고를 가끔 대역폭에 초점을하더라도 대기 시간이 더 중요한 통계하실 수 있습니다.

** 대역폭이란 무엇입니까?

대역폭 (흑백) 컴퓨터 네트워크에서 네트워크 연결 또는 인터페이스에서 지원하는 데이터 전송 속도를 의미합니다. 바덴 뷔 템 베르크는 초당 비트 (bps)의 측면에서 측정됩니다.

네트워크 대기 시간 ** 무엇입니까?

지연 시간은 시스템에 경험이 시간 지연을 측정하기위한 것입니다. 시간 지연은 다른 한 지점에서 데이터 전송으로 관찰로 네트워크 지연 간단하게 정의됩니다. 네트워크 대기 시간에 기여하는 요인이 있습니다. 이들은, (연결 매체) 거리, 라우터 및 컴퓨터 하드웨어 지연 전송이 포함됩니다.

네트워크 성능과 대역폭을 테스트하는 데 사용되는 프로젝트 목록 –

1) bmon가 -, 그것은 기반 콘솔은 대역폭 모니터링 및 평가 견적 뷔 템 베르크 살
2) bwbar – 텍스트 및 그래픽의 대역폭 사용량 형식
3) bwm – 겨 – 대역폭 모니터 첸 (차세대 기반 콘솔 뷔 템 베르크 라이브
4) dstat – Dstat는 vmstat, iostat와 ifstat을 대신합니다.
5) iftop – 인터페이스에 대역폭 사용량은 기반 콘솔
6) iperf – 수행 네트워크 처리량 검사는 두 호스트를 내기
7) ifstat – 신고 인터페이스 통계
8) cbm이 – 색상 대역폭 미터, 기반 콘솔
9) etherape – 그래픽 네트워크 트래픽 브라우저
10) iptraf는 – 인터랙티브 다채로운 IP를 LAN을 모니터, 콘솔과 GUI 기반
11) netmrg – 이건 데몬 기반, MySQL을 지원, 장치에서 수집 데이터입니다.
12) nuttcp – 네트워크 성능 측정 도구
13) nepim

참고 그들 중 일부에 대한 rpm 또는 뎁 패키지는 사용할 수 없습니다 ~!

1 단계]하는 방법에 설치할 수 레드햇 / RHCE, CentOS 기반 시스템과 Dibian 기반 시스템?

root@me:~# yum install netperf iperf nuttcp nepim lmbench

** 우분투 –

root@me:~# apt-get install  bmon bwbar bwm-ng dstat cbm etherape iftop iperf ifstat iptraf netmrg

단계 2] 이용 방법 – bmon을 bwm – 겨, dstat, ifstat –

root@me:~# bmon

interface: lo at me.arun.world

#   Interface                RX Rate         RX #     TX Rate         TX #
───────────────────────────────────────────────────────────────────────────────
me.arun.host (source: local)
0   lo                         0.00B            0       0.00B            0
1   eth0                       0.00B            0       0.00B            0
2   eth2                       0.00B            0       0.00B            0
3   vboxnet0                   0.00B            0       0.00B            0
4   pan0                       0.00B            0       0.00B            0
5   ppp0                      69.39KiB         61       7.49KiB         44

root@me:~# bwm-ng

bwm-ng v0.6 (probing every 0.500s), press ‘h’ for help
input: /proc/net/dev type: rate
\         iface                   Rx                   Tx                Total
==============================================================================
lo:           0.00 KB/s            0.00 KB/s            0.00 KB/s
eth0:           0.00 KB/s            0.00 KB/s            0.00 KB/s
eth2:           0.00 KB/s            0.00 KB/s            0.00 KB/s
ppp0:          64.39 KB/s            7.92 KB/s           72.31 KB/s
——————————————————————————
total:          64.39 KB/s            7.92 KB/s           72.31 KB/s

root@me:~# dstat
—-total-cpu-usage—- -dsk/total- -net/total- —paging– —system–
usr sys idl wai hiq siq| read  writ| recv  send|  in   out | int   csw
7   4  85   4   0   0| 281k  110k|   0     0 |   0     0 | 865  3013
8   4  88   0   0   0|   0     0 |7027B 1261B|   0     0 | 956  4505
8   5  86   0   0   0|   0     0 |  14k 1867B|   0     0 |1144  3332
9   5  86   0   1   0|   0     0 |  79k 2496B|   0     0 |1360  3366
18   8  74   0   0   0|   0     0 |  52k 6511B|   0     0 |1299  3618
8   6  85   0   1   0|   0     0 |  35k 5339B|   0     0 |1094  4231
6   4  90   0   0   0|   0     0 |   0  3164B|   0     0 | 953  2750 ^C
root@me:~#

root@me:~# ifstat
eth0                eth2                ppp0
KB/s in  KB/s out   KB/s in  KB/s out   KB/s in  KB/s out
0.00      0.00      0.00      0.00     95.73      4.31
0.00      0.00      0.00      0.00 root@me:~# yum install netperf iperf nuttcp nepim lmbench
root@me:~# apt-get install  bmon bwbar bwm-ng dstat cbm etherape iftop iperf ifstat iptraf netmrg
67.93      8.17
0.00      0.00      0.00      0.00    106.77     13.70

하나의 호스트 (A)를 다른 호스트 및 클라이언트 (나)에에 ** 시작 “iperf”서버 – 두 호스트 사이의 네트워크 처리량을 측정합니다.

* Host -A

root@me:~# iperf -s
————————————————————
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
————————————————————
[  4] local 192.168.0.1 port 5001 connected with 192.168.0.2 port 56171
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  9.11 GBytes  7.82 Gbits/sec

* Host -B
test@hostB:~$ iperf -c 192.168.0.1
————————————————————
Client connecting to 192.168.0.1, TCP port 5001
TCP window size: 49.5 KByte (default)
————————————————————
[  3] local 192.168.0.2 port 56171 connected with 192.168.0.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  9.11 GBytes  7.82 Gbits/sec
test@hostB:~$

root@me:~# iftop
root@me:~# cbm

Thank you,
Arun Bagul

วิธีการทดสอบประสิทธิภาพของเครือข่ายและแบนด์วิดท์

วิธีการทดสอบประสิทธิภาพของเครือข่ายและแบนด์วิดท์

บทนำ —

แอบแฝงเครือข่ายและแบนด์วิธเป็นสองตัวชี้วัดส่วนใหญ่น่าจะเป็นประโยชน์เมื่อคุณเกณฑ์มาตรฐานเครือข่าย ถึงแม้ว่าบริการมากที่สุดและเน้นการโฆษณาผลิตภัณฑ์แบนด์วิดธ์ที่แอบแฝงครั้งอาจจะเป็นตัวชี้วัดที่สำคัญกว่า

** อะไรคือ Bandwidth?

Bandwidth (BW) ในระบบเครือข่ายคอมพิวเตอร์หมายถึงอัตราการส่งข้อมูลได้รับการสนับสนุนโดยการเชื่อมต่อเครือข่ายหรืออินเตอร์เฟซ BW เป็นวัดในแง่ของบิตต่อ (bps) ที่สอง

** สามารถแอบแฝงเครือข่ายเป็นอย่างไร

เป็นตัวชี้วัดความล่าช้าของการหน่วงเวลาที่มีประสบการณ์ในระบบ แอบแฝงเครือข่ายจะถูกกำหนดเป็นเพียงแค่การหน่วงเวลาที่สังเกตเป็นส่งข้อมูลจากจุดหนึ่งไปยังอีก มีหลายปัจจัยที่ช่วยในการแอบแฝงเครือข่ายเป็น เหล่านี้รวมถึงการส่งผ่าน (กลางของการเชื่อมต่อ) ระยะทางเราท์เตอร์และความล่าช้าอุปกรณ์คอมพิวเตอร์

รายชื่อโครงการที่ใช้ในการทดสอบประสิทธิภาพของเครือข่ายและแบนด์วิธ —

1) bmon — จอแบนด์วิดท์และวิธีการประมาณค่าอัตราก็เป็นคอนโซลตามสด BW
2) bwbar — การใช้แบนด์วิธในข้อความและกราฟิกรูปแบบ
3) bwm – ng — Bandwidth Monitor NG (Next Generation, Live BW, คอนโซลตาม
4) dstat — Dstat สามารถเปลี่ยนสำหรับ vmstat iostat และ ifstat
5) iftop — การใช้แบนด์วิธในอินเตอร์เฟซ, คอนโซลตาม
6) iperf — ทำการทดสอบผ่านเครือข่ายเดิมพันสองโฮสต์
7 ifstat) — รายงานสถิติการเชื่อมต่อ
8 cbm) — สี Bandwidth Meter, คอนโซลตาม
9 etherape) — เบราว์เซอร์แบบกราฟิกการจราจรในเครือข่าย
10) iptraf — Interactive Colorful IP LAN Monitor, คอนโซลและ GUI ตาม
11) netmrg — เป็นภูตตามการสนับสนุน MySQL, รวบรวมข้อมูลจากอุปกรณ์
12 nuttcp) — เครือข่ายการวัดประสิทธิภาพของเครื่องมือ
13 nepim)

หมายเหตุ ~ สำหรับบางคน deb ชุดรอบต่อนาทีหรือไม่สามารถใช้ได้!

ขั้นตอนที่ 1] วิธีการติดตั้งใน RedHat / RHCE, CentOS ระบบพื้นฐานและระบบฐาน Dibian?

root@me:~# yum install netperf iperf nuttcp nepim lmbench

Ubuntu ** —

root@me:~# apt-get install  bmon bwbar bwm-ng dstat cbm etherape iftop iperf ifstat iptraf netmrg

ขั้นตอนที่ 2] วิธีการใช้ — bmon, bwm – ng, dstat, ifstat —

root@me:~# bmon

interface: lo at me.arun.world

#   Interface                RX Rate         RX #     TX Rate         TX #
───────────────────────────────────────────────────────────────────────────────
me.arun.host (source: local)
0   lo                         0.00B            0       0.00B            0
1   eth0                       0.00B            0       0.00B            0
2   eth2                       0.00B            0       0.00B            0
3   vboxnet0                   0.00B            0       0.00B            0
4   pan0                       0.00B            0       0.00B            0
5   ppp0                      69.39KiB         61       7.49KiB         44

root@me:~# bwm-ng

bwm-ng v0.6 (probing every 0.500s), press ‘h’ for help
input: /proc/net/dev type: rate
\         iface                   Rx                   Tx                Total
==============================================================================
lo:           0.00 KB/s            0.00 KB/s            0.00 KB/s
eth0:           0.00 KB/s            0.00 KB/s            0.00 KB/s
eth2:           0.00 KB/s            0.00 KB/s            0.00 KB/s
ppp0:          64.39 KB/s            7.92 KB/s           72.31 KB/s
——————————————————————————
total:          64.39 KB/s            7.92 KB/s           72.31 KB/s

root@me:~# dstat
—-total-cpu-usage—- -dsk/total- -net/total- —paging– —system–
usr sys idl wai hiq siq| read  writ| recv  send|  in   out | int   csw
7   4  85   4   0   0| 281k  110k|   0     0 |   0     0 | 865  3013
8   4  88   0   0   0|   0     0 |7027B 1261B|   0     0 | 956  4505
8   5  86   0   0   0|   0     0 |  14k 1867B|   0     0 |1144  3332
9   5  86   0   1   0|   0     0 |  79k 2496B|   0     0 |1360  3366
18   8  74   0   0   0|   0     0 |  52k 6511B|   0     0 |1299  3618
8   6  85   0   1   0|   0     0 |  35k 5339B|   0     0 |1094  4231
6   4  90   0   0   0|   0     0 |   0  3164B|   0     0 | 953  2750 ^C
root@me:~#

root@me:~# ifstat
eth0                eth2                ppp0
KB/s in  KB/s out   KB/s in  KB/s out   KB/s in  KB/s out
0.00      0.00      0.00      0.00     95.73      4.31
0.00      0.00      0.00      0.00     67.93      8.17
0.00      0.00      0.00      0.00    106.77     13.70

** เริ่มต้น”iperf”เซิร์ฟเวอร์บนโฮสต์ (A) และลูกค้าในพื้นที่อื่น (B) — การวัดผ่านเครือข่ายระหว่างสองครอบครัว

* Host -A

root@me:~# iperf -s
————————————————————
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
————————————————————
[  4] local 192.168.0.1 port 5001 connected with 192.168.0.2 port 56171
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  9.11 GBytes  7.82 Gbits/sec

* Host -B
test@hostB:~$ iperf -c 192.168.0.1
————————————————————
Client connecting to 192.168.0.1, TCP port 5001
TCP window size: 49.5 KByte (default)
————————————————————
[  3] local 192.168.0.2 port 56171 connected with 192.168.0.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  9.11 GBytes  7.82 Gbits/sec
test@hostB:~$

root@me:~# iftop
root@me:~# cbm

Thank you,
Arun Bagul

Como testar o desempenho de rede e largura de banda

Como testar o desempenho de rede e largura de banda

Introdução –

Rede de latência e largura de banda são as duas métricas mais provável que seja de interesse quando uma rede de referência. Embora a maioria dos serviços e publicidade de produtos concentra-se na largura de banda, por vezes, a latência pode ser uma métrica mais importante.

** Qual é a largura de banda?

Largura de banda (BW) em redes de computadores refere-se a taxa de dados suportada por uma conexão de rede ou interface. PC é medido em termos de bits por segundo (bps).

** Qual é a latência da rede?

Latência é a medida do tempo de atraso experimentado em um sistema. A latência da rede é simplesmente definido como o intervalo de tempo observado como transmite dados de um ponto para outro. Há uma série de fatores que contribuem para a latência da rede. Estes incluem a transmissão (média de conectividade), a distância, roteadores e atrasos hardware do computador.

Lista de projetos utilizados para testar o desempenho de rede e tráfego –

1) bmon – monitor de largura de banda e estimador de taxa, que é baseado em console, ao vivo BW
2) bwbar – o uso da banda em formato texto e gráfico
3) bwm-ng – Bandwidth Monitor NG (Next Generation, vivem PC, console baseado
4) dstat – Dstat é um substituto para iostat vmstat e ifstat.
5) iftop – uso de banda em uma interface baseada em console
6) iperf – Realizar testes de throughput da rede aposta de dois hospedeiros
7 ifstat) – Relatório da Interface de Estatística
8 cbm) – Cor Bandwidth Meter, console baseado
9 etherape) – Gráfica navegador tráfego de rede
10) iptraf – Interactive colorido IP LAN Monitor, console e GUI baseada
11) netmrg – Ele é um servidor baseado em suporte ao MySQL, reúne dados de dispositivos.
12 nuttcp) – ferramenta de medição de desempenho de rede
13 nepim)

NOTA ~ Para alguns deles, os pacotes rpm ou deb não estão disponíveis!

Passo 1] Como instalar no RedHat / RHCE, CentOS sistema baseado e sistema baseado Dibian?

root@me:~# yum install netperf iperf nuttcp nepim lmbench

** Ubuntu –

root@me:~# apt-get install  bmon bwbar bwm-ng dstat cbm etherape iftop iperf ifstat iptraf netmrg

Passo 2] Como usar – bmon, bwm-ng, dstat, ifstat –

root@me:~# bmon

interface: lo at me.arun.world

#   Interface                RX Rate         RX #     TX Rate         TX #
───────────────────────────────────────────────────────────────────────────────
me.arun.host (source: local)
0   lo                         0.00B            0       0.00B            0
1   eth0                       0.00B            0       0.00B            0
2   eth2                       0.00B            0       0.00B            0
3   vboxnet0                   0.00B            0       0.00B            0
4   pan0                       0.00B            0       0.00B            0
5   ppp0                      69.39KiB         61       7.49KiB         44

root@me:~# bwm-ng

bwm-ng v0.6 (probing every 0.500s), press ‘h’ for help
input: /proc/net/dev type: rate
\         iface                   Rx                   Tx                Total
==============================================================================
lo:           0.00 KB/s            0.00 KB/s            0.00 KB/s
eth0:           0.00 KB/s            0.00 KB/s            0.00 KB/s
eth2:           0.00 KB/s            0.00 KB/s            0.00 KB/s
ppp0:          64.39 KB/s            7.92 KB/s           72.31 KB/s
——————————————————————————
total:          64.39 KB/s            7.92 KB/s           72.31 KB/s

root@me:~# dstat
—-total-cpu-usage—- -dsk/total- -net/total- —paging– —system–
usr sys idl wai hiq siq| read  writ| recv  send|  in   out | int   csw
7   4  85   4   0   0| 281k  110k|   0     0 |   0     0 | 865  3013
8   4  88   0   0   0|   0     0 |7027B 1261B|   0     0 | 956  4505
8   5  86   0   0   0|   0     0 |  14k 1867B|   0     0 |1144  3332
9   5  86   0   1   0|   0     0 |  79k 2496B|   0     0 |1360  3366
18   8  74   0   0   0|   0     0 |  52k 6511B|   0     0 |1299  3618
8   6  85   0   1   0|   0     0 |  35k 5339B|   0     0 |1094  4231
6   4  90   0   0   0|   0     0 |   0  3164B|   0     0 | 953  2750 ^C
root@me:~#

root@me:~# ifstat
eth0                eth2                ppp0
KB/s in  KB/s out   KB/s in  KB/s out   KB/s in  KB/s out
0.00      0.00      0.00      0.00     95.73      4.31
0.00      0.00      0.00      0.00     67.93      8.17
0.00      0.00      0.00      0.00    106.77     13.70

** Start “iperf” servidor em um host (A) e um cliente em outra máquina (B) – para medir o throughput de rede entre dois hosts.

* Host -A

root@me:~# iperf -s
————————————————————
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
————————————————————
[  4] local 192.168.0.1 port 5001 connected with 192.168.0.2 port 56171
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  9.11 GBytes  7.82 Gbits/sec

* Host -B
test@hostB:~$ iperf -c 192.168.0.1
————————————————————
Client connecting to 192.168.0.1, TCP port 5001
TCP window size: 49.5 KByte (default)
————————————————————
[  3] local 192.168.0.2 port 56171 connected with 192.168.0.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  9.11 GBytes  7.82 Gbits/sec
test@hostB:~$

root@me:~# iftop
root@me:~# cbm

Thank you,
Arun Bagul

Инструкции по тестированию производительности сети и пропускной способности

Инструкции по тестированию производительности сети и пропускной способности

Введение –

Задержка в сети и пропускной способности двух метрик, скорее всего, представляет интерес при тесте сети. Хотя большинство продуктов и услуг реклама фокусируется на пропускную способность, время от времени задержки может быть более важный показатель.

** Что такое Величина?

Полоса пропускания (BW) в области компьютерных сетей относится к скорости передачи данных поддерживается подключение к сети или интерфейс. BW измеряется в терминах битов в секунду (бит / с).

** Что такое Задержка в сети?

Задержка является мерой временной задержки опыт в системе. Задержка в сети просто определяется как время задержки наблюдались как данные передаются из одной точки в другую. Есть ряд факторов, которые способствуют задержки в сети. К ним относятся передачи (средний соединения), расстояние, маршрутизаторы и задержки компьютерного оборудования.

Список проектов, используемых для тестирования производительности сети и пропускной способности –

1) bmon – Bandwidth Monitor и скорость оценки, это консольный, жить BW
2) bwbar – трафик в текстовом и графическом формате
3) BWM-NG – Bandwidth Monitor NG (Next Generation, жить BW, консольный
4) dstat – Dstat является заменой для Vmstat, IOSTAT и ifstat.
5) iftop – Использование полосы пропускания на интерфейсе, консольный
6) Iperf – провести испытания пропускную способность сети ставку двух принимающих
7) ifstat – интерфейс отчетов STATistics
8) куб.м. – Цвет Bandwidth Meter, консольный
9) etherape – графический сетевой трафик браузера
10) IPTraf – интерактивный цветной монитор IP LAN, консоль и графический интерфейс
11) netmrg – Это демон основанный, MySQL поддержку, собирает данные из устройства.
12) nuttcp – сетевой инструмент измерения производительности
13) nepim

ПРИМЕЧАНИЕ ~ Для некоторых из них об / мин или Deb пакеты не существуют!

Шаг 1] Как установить на Redhat / RHCE, CentOS система и Dibian система?

root@me:~# yum install netperf iperf nuttcp nepim lmbench

** Ubuntu –

root@me:~# apt-get install  bmon bwbar bwm-ng dstat cbm etherape iftop iperf ifstat iptraf netmrg

Шаг 2] Как использовать – bmon, BWM-нг, dstat, ifstat –

root@me:~# bmon

interface: lo at me.arun.world

#   Interface                RX Rate         RX #     TX Rate         TX #
───────────────────────────────────────────────────────────────────────────────
me.arun.host (source: local)
0   lo                         0.00B            0       0.00B            0
1   eth0                       0.00B            0       0.00B            0
2   eth2                       0.00B            0       0.00B            0
3   vboxnet0                   0.00B            0       0.00B            0
4   pan0                       0.00B            0       0.00B            0
5   ppp0                      69.39KiB         61       7.49KiB         44

root@me:~# bwm-ng

bwm-ng v0.6 (probing every 0.500s), press ‘h’ for help
input: /proc/net/dev type: rate
\         iface                   Rx                   Tx                Total
==============================================================================
lo:           0.00 KB/s            0.00 KB/s            0.00 KB/s
eth0:           0.00 KB/s            0.00 KB/s            0.00 KB/s
eth2:           0.00 KB/s            0.00 KB/s            0.00 KB/s
ppp0:          64.39 KB/s            7.92 KB/s           72.31 KB/s
——————————————————————————
total:          64.39 KB/s            7.92 KB/s           72.31 KB/s

root@me:~# dstat
—-total-cpu-usage—- -dsk/total- -net/total- —paging– —system–
usr sys idl wai hiq siq| read  writ| recv  send|  in   out | int   csw
7   4  85   4   0   0| 281k  110k|   0     0 |   0     0 | 865  3013
8   4  88   0   0   0|   0     0 |7027B 1261B|   0     0 | 956  4505
8   5  86   0   0   0|   0     0 |  14k 1867B|   0     0 |1144  3332
9   5  86   0   1   0|   0     0 |  79k 2496B|   0     0 |1360  3366
18   8  74   0   0   0|   0     0 |  52k 6511B|   0     0 |1299  3618
8   6  85   0   1   0|   0     0 |  35k 5339B|   0     0 |1094  4231
6   4  90   0   0   0|   0     0 |   0  3164B|   0     0 | 953  2750 ^C
root@me:~#

root@me:~# ifstat
eth0                eth2                ppp0
KB/s in  KB/s out   KB/s in  KB/s out   KB/s in  KB/s out
0.00      0.00      0.00      0.00     95.73      4.31
0.00      0.00      0.00      0.00     67.93      8.17
0.00      0.00      0.00      0.00    106.77     13.70

** Начать “Iperf” сервера на одном сервере () и клиент на другом хосте (B) – для измерения пропускной способности сети между двумя хостами.

* Host -A

root@me:~# iperf -s
————————————————————
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
————————————————————
[  4] local 192.168.0.1 port 5001 connected with 192.168.0.2 port 56171
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  9.11 GBytes  7.82 Gbits/sec

* Host -B
test@hostB:~$ iperf -c 192.168.0.1
————————————————————
Client connecting to 192.168.0.1, TCP port 5001
TCP window size: 49.5 KByte (default)
————————————————————
[  3] local 192.168.0.2 port 56171 connected with 192.168.0.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  9.11 GBytes  7.82 Gbits/sec
test@hostB:~$

root@me:~# iftop
root@me:~# cbm

Thank you,
Arun Bagul

どのようにテストネットワークパフォーマンスと帯域幅に

どのようにテストネットワークパフォーマンスと帯域幅に

はじめに –

ネットワークの遅延や帯域幅は、2つのメトリック最も興味を引かされる可能性が高いときのベンチマークネットワーク。ほとんどのサービスや製品の広告は倍の帯域幅に焦点を当てても待ち時間が以上のメトリックの重要なことができます。

**帯域幅とは何ですか?

帯域幅(BW)は、コンピュータネットワークのネットワーク接続、またはインターフェイスによってサポートされているデータレートを指します。 BWはビット/秒(bps)の条件で測定されます。

ネットワークの待ち時間は何**ですか?

レイテンシは、システム内の経験の遅延時間の測定値です。遅延時間は別のポイントからのデータを送信するように観察されるネットワークの遅延は、単に定義されています。ネットワークの遅延に寄与する要因がいくつかあります。これらは、(接続の媒体)の距離、ルータとコンピュータハードウェアの遅延を送信含まれています。

ネットワークのパフォーマンスおよび帯域幅をテストするために使用されるプロジェクトのリスト –

1)bmonのは – 、それが基づいてコンソールです帯域幅モニタ、レート推定、BWを生きる
2)bwbar – テキストとグラフィックの帯域幅の使用形式
3)はbwm – ngの – 帯域幅モニタNGの(次世代、ベースのコンソールは、BWライブ
4)のdstat – Dstatはは、vmstat、iostatおよびifstatに関する置き換わるものです。
5)iftopの – インターフェイスの帯域幅の使用量は、コンソールベース
6)iperfの – を実行するネットワークスループットテストは、2つのホストを賭ける
7)ifstat – レポートインターフェイスの統計情報
8)cbmのは、 – カラー帯域幅メーター、コンソールベース
9)etherape – グラフィカルなネットワークトラフィックブラウザ
10)がiptrafのは – 対話式のカラフルなのIP LAN Monitorは、コンソールおよびGUIベースの
11)netmrg – それはデーモンベースのMySQLのサポートは、デバイスからデータを収集されます。
12)nuttcpの – ネットワークのパフォーマンス測定ツール
13)nepim

注は、それらのいくつかはrpmまたはdebパッケージが利用可能にされていない〜!

ステップ1]は、どのようにインストールするにはRedHat / RHCEのは、CentOSベースのシステムDibianベースのシステム?

ルート@私:〜#yumをインストールするのnetperf iperfのnuttcpののnepimのlmbench

** Ubuntuの –

ルートは@私:〜#のapt – netmrg iperfののifstatのiptraf iftopのbmonののbwbar bwm – ngののdstatのcbmのetherapeをインストール取得

ステップ2]どのように使用する – bmonのを、bwm – ngの、のdstat、ifstat –

root@me:~# bmon

interface: lo at me.arun.world

#   Interface                RX Rate         RX #     TX Rate         TX #
───────────────────────────────────────────────────────────────────────────────
me.arun.host (source: local)
0   lo                         0.00B            0       0.00B            0
1   eth0                       0.00B            0       0.00B            0
2   eth2                       0.00B            0       0.00B            0
3   vboxnet0                   0.00B            0       0.00B            0
4   pan0                       0.00B            0       0.00B            0
5   ppp0                      69.39KiB         61       7.49KiB         44

root@me:~# bwm-ng

bwm-ng v0.6 (probing every 0.500s), press ‘h’ for help
input: /proc/net/dev type: rate
\         iface                   Rx                   Tx                Total
==============================================================================
lo:           0.00 KB/s            0.00 KB/s            0.00 KB/s
eth0:           0.00 KB/s            0.00 KB/s            0.00 KB/s
eth2:           0.00 KB/s            0.00 KB/s            0.00 KB/s
ppp0:          64.39 KB/s            7.92 KB/s           72.31 KB/s
——————————————————————————
total:          64.39 KB/s            7.92 KB/s           72.31 KB/s

root@me:~# dstat
—-total-cpu-usage—- -dsk/total- -net/total- —paging– —system–
usr sys idl wai hiq siq| read  writ| recv  send|  in   out | int   csw
7   4  85   4   0   0| 281k  110k|   0     0 |   0     0 | 865  3013
8   4  88   0   0   0|   0     0 |7027B 1261B|   0     0 | 956  4505
8   5  86   0   0   0|   0     0 |  14k 1867B|   0     0 |1144  3332
9   5  86   0   1   0|   0     0 |  79k 2496B|   0     0 |1360  3366
18   8  74   0   0   0|   0     0 |  52k 6511B|   0     0 |1299  3618
8   6  85   0   1   0|   0     0 |  35k 5339B|   0     0 |1094  4231
6   4  90   0   0   0|   0     0 |   0  3164B|   0     0 | 953  2750 ^C
root@me:~#

root@me:~# ifstat
eth0                eth2                ppp0
KB/s in  KB/s out   KB/s in  KB/s out   KB/s in  KB/s out
0.00      0.00      0.00      0.00     95.73      4.31
0.00      0.00      0.00      0.00     67.93      8.17
0.00      0.00      0.00      0.00    106.77     13.70

つのホスト(A)と、クライアント別のホスト(B)の上**スタート”iperfの”サーバー – 2つのホスト間のネットワークのスループットを測定しています。

* Host -A

root@me:~# iperf -s
————————————————————
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
————————————————————
[  4] local 192.168.0.1 port 5001 connected with 192.168.0.2 port 56171
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  9.11 GBytes  7.82 Gbits/sec

* Host -B
test@hostB:~$ iperf -c 192.168.0.1
————————————————————
Client connecting to 192.168.0.1, TCP port 5001
TCP window size: 49.5 KByte (default)
————————————————————
[  3] local 192.168.0.2 port 56171 connected with 192.168.0.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  9.11 GBytes  7.82 Gbits/sec
test@hostB:~$

root@me:~# iftop
root@me:~# cbm

Thank you,
Arun Bagul

Come per le prestazioni di rete Test e larghezza di banda

Come per le prestazioni di rete Test e larghezza di banda

Introduzione –

La latenza della rete e larghezza di banda sono i due parametri più probabilità di essere di interesse quando si benchmark di una rete. Anche se la maggior parte di servizi e pubblicità del prodotto si concentra sulla larghezza di banda, la latenza, a volte può essere un parametro più importante.

** Che cosa è larghezza di banda?

Larghezza di banda (BW) in reti di computer si riferisce al tasso di dati supportati da una connessione di rete o interfaccia. BW è misurata in termini di bit al secondo (bps).

** Che cosa è la latenza di rete?

La latenza è una misura del ritardo di tempo vissuto in un sistema. La latenza della rete è semplicemente definito come l’intervallo di tempo osservato come la trasmissione di dati da un punto ad un altro. Ci sono un certo numero di fattori che contribuiscono alla latenza di rete. Questi includono la trasmissione (media di connettività), Distanza, router e ritardi hardware del computer.

Elenco dei progetti utilizzati per testare le prestazioni di rete e la larghezza di banda –

1) bmon – monitor di banda e tasso di stimatore, è basato su console, live BW
2) bwbar – l’utilizzo della banda in formato testo e grafica
3) BWM-ng – Bandwidth Monitor NG (Next Generation, in diretta BW, basati su console
4) dstat – Dstat è una sostituzione per vmstat, iostat e ifstat.
5) iftop – l’utilizzo di banda su un’interfaccia, basati su console
6) iperf – Eseguire test di throughput di rete scommessa su due host
7) ifstat – Relazione InterFace Statistiche
8) cbm – Colore Bandwidth Meter, basati su console
9) etherape – browser grafico del traffico di rete
10) iptraf – Interactive Colorful IP LAN Monitor, console e GUI
11) netmrg – E ‘demone based, supporto MySQL, raccoglie dati dai dispositivi.
12) nuttcp – Rete strumento di misurazione delle performance
13) nepim

NOTA ~ Per alcuni di loro pacchetti rpm o deb non sono disponibili!

Passo 1] Come installare su RedHat / RHCE, sistema basato CentOS e Dibian sistema basato?

root @ me: ~ # yum install netperf iperf nuttcp lmbench nepim

** Ubuntu –

root @ me: ~ # apt-get install bwbar bmon BWM-ng etherape dstat cbm iftop iptraf iperf ifstat netmrg

Fase 2] Come usare – bmon, BWM-ng, dstat, ifstat –

root@me:~# bmon

interface: lo at me.arun.world

#   Interface                RX Rate         RX #     TX Rate         TX #
───────────────────────────────────────────────────────────────────────────────
me.arun.host (source: local)
0   lo                         0.00B            0       0.00B            0
1   eth0                       0.00B            0       0.00B            0
2   eth2                       0.00B            0       0.00B            0
3   vboxnet0                   0.00B            0       0.00B            0
4   pan0                       0.00B            0       0.00B            0
5   ppp0                      69.39KiB         61       7.49KiB         44

root@me:~# bwm-ng

bwm-ng v0.6 (probing every 0.500s), press ‘h’ for help
input: /proc/net/dev type: rate
\         iface                   Rx                   Tx                Total
==============================================================================
lo:           0.00 KB/s            0.00 KB/s            0.00 KB/s
eth0:           0.00 KB/s            0.00 KB/s            0.00 KB/s
eth2:           0.00 KB/s            0.00 KB/s            0.00 KB/s
ppp0:          64.39 KB/s            7.92 KB/s           72.31 KB/s
——————————————————————————
total:          64.39 KB/s            7.92 KB/s           72.31 KB/s

root@me:~# dstat
—-total-cpu-usage—- -dsk/total- -net/total- —paging– —system–
usr sys idl wai hiq siq| read  writ| recv  send|  in   out | int   csw
7   4  85   4   0   0| 281k  110k|   0     0 |   0     0 | 865  3013
8   4  88   0   0   0|   0     0 |7027B 1261B|   0     0 | 956  4505
8   5  86   0   0   0|   0     0 |  14k 1867B|   0     0 |1144  3332
9   5  86   0   1   0|   0     0 |  79k 2496B|   0     0 |1360  3366
18   8  74   0   0   0|   0     0 |  52k 6511B|   0     0 |1299  3618
8   6  85   0   1   0|   0     0 |  35k 5339B|   0     0 |1094  4231
6   4  90   0   0   0|   0     0 |   0  3164B|   0     0 | 953  2750 ^C
root@me:~#

root@me:~# ifstat
eth0                eth2                ppp0
KB/s in  KB/s out   KB/s in  KB/s out   KB/s in  KB/s out
0.00      0.00      0.00      0.00     95.73      4.31
0.00      0.00      0.00      0.00     67.93      8.17
0.00      0.00      0.00      0.00    106.77     13.70

** Start server “iperf” su un host (A) e il client su un altro host (B) – per misurare il throughput di rete tra due host.

* Host -A

root@me:~# iperf -s
————————————————————
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
————————————————————
[  4] local 192.168.0.1 port 5001 connected with 192.168.0.2 port 56171
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  9.11 GBytes  7.82 Gbits/sec

* Host -B
test@hostB:~$ iperf -c 192.168.0.1
————————————————————
Client connecting to 192.168.0.1, TCP port 5001
TCP window size: 49.5 KByte (default)
————————————————————
[  3] local 192.168.0.2 port 56171 connected with 192.168.0.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  9.11 GBytes  7.82 Gbits/sec
test@hostB:~$

root@me:~# iftop
root@me:~# cbm

Thank you,
Arun Bagul