[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: local network capability scanner?



On Friday 07 February 2020 02:17:59 Andrei POPESCU wrote:

> On Vi, 07 feb 20, 02:04:17, Gene Heskett wrote:
> > Greetings all;
> >
> > My local network has 2 8 port switches, one here in this room that
> > claims to be a gigabit and managed.
> >
> > One of its ports is connected to the upstream port of another dumber
> > unmanaged 8 port switch that feeds the machines in the garage, and
> > which also claims to be a gigahertz capable switch.
> >
> > But file moves to/from the machines in the garage seems to indicate
> > theres a slow connection of around 10Mb/s someplace in that path.
>
> Considering the type of machines you have it could be a storage
> limitation, i.e. you're not going to get Gbit speeds from USB2
> attached storage.
>
> Check 'ethtool <network_device_name>' on each of those systems,
> possibly one or more are connected at lower than 1Gbit.
>
> > Do we have a utitity that for troubleshooting purposes, can take the
> > address of one of those machines, and somewhat like traceroute, but
> > report the bandwidth capability of every box in that path including
> > this machine and target addresses abilities?
>
> You can test the bandwidth with iperf. Run the server on one system
> and test from each of the other systems.
>
So I ran the server on the rpi4, and tested as client from here, getting:
gene@coyote:~$ iperf -c rpi4 -b
iperf: option requires an argument -- b
------------------------------------------------------------
Client connecting to rpi4, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.71.3 port 36322 connected with 192.168.71.13 port 
5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1.09 GBytes   936 Mbits/sec

And popping back to the rpi4's ssh -Y login, I see a nearly identical 
report on its login screen:

pi@rpi4:~ $ iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 192.168.71.13 port 5001 connected with 192.168.71.3 port 
36322
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  1.09 GBytes   934 Mbits/sec


Which tells me its the poor prolonged write speeds of the ssd's that are 
the main contributors to the slow big files problem.  Not much I can do 
about that. It is what it is.
>
> Kind regards,
> Andrei


Cheers Andrei, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


Reply to: