Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Sunday, February 25, 2007

Socket performance

Just written a small script to test network/firewall performance in Python, and could not help myself from testing it on both XP and Linux...

OpenSUSE 10.2 performance:
1896.296296 mbit / second

Windows XP performance:
299.645137 mbit / second

(Tested on a dualboot machine.)

So, again the question must be, is this related to Python or the OS?

Well, iperf to localhost on Win XP yields:

C:\Documents and Settings\Martin\Desktop>iperf.exe -c localhost
------------------------------------------------------------
Client connecting to localhost, TCP port 5001
TCP window size: 8.00 KByte (default)
------------------------------------------------------------
[1912] local 127.0.0.1 port 1328 connected with 127.0.0.1 port 5001
[ ID] Interval Transfer Bandwidth
[1912] 0.0-10.0 sec 610 MBytes 511 Mbits/sec


iperf on Linux:

martin@msjdell:~> iperf -c localhost
------------------------------------------------------------
Client connecting to localhost, TCP port 5001
TCP window size: 49.4 KByte (default)
------------------------------------------------------------
[ 3] local 127.0.0.1 port 28150 connected with 127.0.0.1 port 5001
[ 3] 0.0-10.0 sec 3.55 GBytes 3.05 Gbits/sec

Wednesday, January 31, 2007

Laptop Linux

Just downloaded and installed openSUSE 10.2 and installed it on my Dell D410, and to my surprise it worked right "out of the box"! Tried the same a year ago with some different distributions, and I never got the whole laptop working. But even the WiFi works nicely with SUSE.

Seems appropriate to test an up to date Linux distro before surrendering to installing Windows Vista...