January 10th, 2009 Category: LinuxAnother easy to use tool for measuring the network bandwidth is Iperf. On Debian it can be installed using:
apt-get install iperf
Optionally the source or the Windows binary is available from sourceforge.net/projects/iperf
Building and installing from source is done using a few commands:
tar xvfz iperf-2.0.4.tar.gz
cd iperf-2.0.4
./configure
make
make install
Once installed iperf the server is started on machine 1:
machine1:~# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
Next the client is started on machine 2:
machine2:~# iperf -c machine1.mydomain.de
------------------------------------------------------------
Client connecting to machine1.mydomain.de, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local xx.xx.xx.xx port 45325 connected with yy.yy.yy.yyport 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 96.6 MBytes 80.9 Mbits/sec
Tested on two servers connected with 100 MBit/s located at two different providers in Germany we get a result of 80.9 MBits/sec.
This result is slightly higher compared to the result from our measurement done with NETIO in the article Network Throughput Measurement. So we start the test again with addtional parameters:
machine2:~# iperf -c machine1.mydomain.de -w 512k -l 512k
------------------------------------------------------------
Client connecting to machine1.mydomain.de, TCP port 5001
TCP window size: 256 KByte (WARNING: requested 512 KByte)
------------------------------------------------------------
[ 3] local xx.xx.xx.xx port 40987 connected with yy.yy.yy.yyport 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 72.0 MBytes 60.3 Mbits/sec
Now using modified read/write buffer size and TCP windows size we get almost the same result as in our test with netio.
Definitely a tool which can be recommended to check your network throughput!
Written on January 10, 2009 | Posted in
Linux January 10th, 2009 Category: Linux ServerA real nice and easy to use tool for measuring the network throughput on Linux/Unix as well as Windows is NETIO. You only need to download the binaries from the NETIO homepage, store on your server or clients and execute them.
The example below shows a sample measurement between to servers connected with a 100 MBit ethernet card and located at two different providers.
On one machine NETIO is started as server:
machine1:~/netio/bin# ./linux-i386 -s
NETIO - Network Throughput Benchmark, Version 1.26
(C) 1997-2005 Kai Uwe Rommel
TCP server listening.
UDP server listening.
TCP connection established ...
Receiving from client, packet size 1k ...
Sending to client, packet size 1k ...
Receiving from client, packet size 2k ...
Sending to client, packet size 2k ...
Receiving from client, packet size 4k ...
Sending to client, packet size 4k ...
Receiving from client, packet size 8k ...
Sending to client, packet size 8k ...
Receiving from client, packet size 16k ...
Sending to client, packet size 16k ...
Receiving from client, packet size 32k ...
Sending to client, packet size 32k ...
Done.
TCP server listening.
On the other machine NETIO is called e.g. with -t option for TCP and the name or IP of the other machine:
machine2:~/netio/bin# ./linux-i386 -t machine1.mydomain.de
NETIO - Network Throughput Benchmark, Version 1.26
(C) 1997-2005 Kai Uwe Rommel
TCP connection established.
Packet size 1k bytes: 7309 KByte/s Tx, 7645 KByte/s Rx.
Packet size 2k bytes: 7276 KByte/s Tx, 7724 KByte/s Rx.
Packet size 4k bytes: 7291 KByte/s Tx, 7737 KByte/s Rx.
Packet size 8k bytes: 7276 KByte/s Tx, 7723 KByte/s Rx.
Packet size 16k bytes: 7286 KByte/s Tx, 7719 KByte/s Rx.
Packet size 32k bytes: 7291 KByte/s Tx, 7725 KByte/s Rx.
Done.
We take a rough average of the result can multiply it by 8: 7,5 * 8 = 60 MBit/s. This is a acceptable value for a connection between two servers located at different providers within Germany.
For sure a useful tool! Also check Network Bandwidth Performance Measurement with Iperf
Written on January 10, 2009 | Posted in
Linux Server January 6th, 2009 Category: GeneralFor personal use there is a simple free setup builder GkSetup available. It’s suitable for standard setups. So if you are looking for one give this one a try.
The FREE Edition offers:
- Uninstaller
- Start Menu Links
- Readme/License Texts
- Multiple Setup Types
- OCX, OLE/COM Server registration
- Registry/INI-File modifications
- Multilanguage support
- and much more
Written on January 6, 2009 | Posted in
General January 2nd, 2009 Category: General
Hot-babe is a small graphical utility which displays the system activity in a very special way. When the CPU is idle, it displays a dressed girl, and when the activity goes up, as the temperature increases, the girl begins to undress, to finish totally naked when the system activity reaches 100%. Of course, if you can be shocked by nudity, don’t use it!
Download Windows version.
Download Linux version.
Written on January 2, 2009 | Posted in
General January 1st, 2009 Category: GeneralMy personal recommendations for secure internet usage are easy and help a lot to avaid getting infected with unwanted software like a virus or trojaner. So take the following tips to heart:
- Activate Windows update and always install the updates
- Use a firewall/router. Best case is e.g. a hardware DSL router. If now hardware firewall can be used activate at least the Windows firewall
- Use a secure browser and mail reader like Firefox and Thunderbird
- Install a virus scanner which automatically updates it’s signatures
Using this few tips you are already quite secure and it’s not much effort.
Written on January 1, 2009 | Posted in
General