Benchmark Server: Difference between revisions
Appearance
No edit summary |
|||
| Line 1: | Line 1: | ||
==Packets-per-second Benchmark== | ==Packets-per-second Benchmark== | ||
===Metode ping=== | ===Metode ping=== | ||
<syntaxhighlight lang="shell"> | |||
sudo su | |||
</syntaxhighlight> | |||
<syntaxhighlight lang="shell"> | |||
ping -q -s 1 -f 192.168.0.1 | |||
</syntaxhighlight> | |||
===Metoda hping3=== | ===Metoda hping3=== | ||
<syntaxhighlight lang="shell"> | |||
time hping3 192.168.0.2 -q -i u20 --icmp|tail -n10 | |||
</syntaxhighlight> | |||
==Bandwidth== | ==Bandwidth== | ||
===Server RPi 192.168.0.1=== | ===Server RPi 192.168.0.1=== | ||
<syntaxhighlight lang="shell"> | |||
nc -vvlnp 12345 >/dev/null | |||
</syntaxhighlight> | |||
===Client=== | ===Client=== | ||
Di sisi client kirim gigabyte zero melalui dd lewat nc tunnel | Di sisi client kirim gigabyte zero melalui dd lewat nc tunnel | ||
<syntaxhighlight lang="shell"> | |||
dd if=/dev/zero bs=1M count=1K | nc -vvn 192.168.0.1 12345 | |||
</syntaxhighlight> | |||
==Source== | ==Source== | ||
Latest revision as of 10:10, 31 August 2022
Packets-per-second Benchmark
Metode ping
sudo su
ping -q -s 1 -f 192.168.0.1
Metoda hping3
time hping3 192.168.0.2 -q -i u20 --icmp|tail -n10
Bandwidth
Server RPi 192.168.0.1
nc -vvlnp 12345 >/dev/null
Client
Di sisi client kirim gigabyte zero melalui dd lewat nc tunnel
dd if=/dev/zero bs=1M count=1K | nc -vvn 192.168.0.1 12345