news:sujeom$vjd$1...@dont-email.me...
>>> You can run iperf on two machines:
>>>
https://iperf.fr/iperf-download.php
>>>
>>> On one, run 'iperf -s'. This is the server.
>>> On the other, you have various options, but something like
>>> iperf -c <ip of server>
>>> would do a basic TCP test over 10 seconds.
>>>
>>> Unlike downloading files which depends on how good the server is, iperf
>>> is
>>> pretty good at making full use of the bandwidth you have - eg you can
>>> get
>>> a
>>> solid 935Mbps out of gigabit ethernet.
>>
>> And raw transport tests like this don't involve any reading/writing to
>> disc,
>> so that isn't a rate-limiting step. 935 Mbps - watch that Cat 6 cable
>> glow
>> red hot ;-)
>>
>>
>
> But other than making you feel good (or disappointed) where does it get
> you? If you’ve got local storage you need to access across the network it
> might be a valid test. Me, knowing I can get my full 200 Mbit/sec Virgin
> Internet connection across the house is what is sensible to test.
Yes, raw transport tests are good for showing whether you've got an
efficient transport stack and/or anything in the network infrastructure
which is slowing down traffic eg by dropping packets and prompting retries.
But it's not very real-world.
In the 1990s I worked in a team that was porting LAN Manager for UNIX
(LM/X), which is effectively SAMBA, to our servers. A lot of the work was
unpicking byte-ordering assumptions for Intel so the same source code with
ifdefs would work on SPARC with opposite byte-ordering. We were planning to
run over TCP/IP, OSLAN (ICL's implementation of OSI) and NetBEUI. This was
in the days of non-Windows PCs or else Windows with DOS transport stacks.
And we did a lot of tests of raw transport speed between the same PC and the
same server, using OSLAN+NetBIOS or TCP+NetBIOS or NetBEUI - repeat enough
times that statistical variations for a given stack were averaged out. I
forget the exact results, but I think we found that NetBEUI was the fastest
and OSLAN was the slowest. We also found that it made a difference for DOS
stacks whether the one being used was in ordinary 640 KB memory or HIMEM or
Upper Memory, when you had to play "transport stack tetris" and try to load
several stacks on the same PC.
I spent ages trying to work out why I couldn't achieve more than 10 Mbps
even though the PC and UNIX server definitely had 100 Mbps network interface
cards. Then I discovered that somewhere in the cabling for our private LAN,
there was a 10/100 switch that had got "stuck" on 10 and wouldn't
auto-adjust if both ends of a conversation were 100 Mbps.
My real-world throughput tests nowadays consist of copying a 1-2 GB .ts
recording of a TV programme from one place to another. Raspberry Pi to
Windows ("pulled" from Windows) copied at 42 MB/sec (roughly 420 Mbit/sec)
and Windows to Pi ("pushed" from Windows) managed 27 MB/sec. That's over
gigabit Ethernet with gigabit switches. The equivalent over 5 GHz wifi
Wireless N were 27 and 11 MB/sec respectively - for Windows PC connected by
wifi but Pi still connected by Ethernet. In all cases, copying from spinning
HDD to spinning HDD. So the Pi is managing about half the rated LAN speed at
best, which is pretty damn good for a £90 computer. In the past I've seen a
*very* wide variation in transfer speeds over wifi, even when the Windows
computer is always connected to the same Linksys mesh network node and is
showing similar signal levels (measured as number of bars of signal) and
there's little other traffic.
You can get too engrossed in the figures. The main conclusion is that
all-Ethernet is fast and constant, whereas wifi is slower and a lot more
variable, both during the course of a file transfer and between one file
transfer and another. But it still beats the "sneakernet" approach of
copying onto a portable HDD, walking to the other end of the house and
copying off the portable drive. However I will never forget the email sig of
one of my colleagues: "Never underestimate the baud rate of an HGV full of
mag tapes" - it may take several hours to drive from A to B, but if the HGV
is crammed with mag tapes, the total amount of information that you have
transferred in that time is phenomenal, measured as bits per second.