On 1/16/21 11:55 AM, Michael wrote: > On Friday, 15 January 2021 22:43:36 GMT the...@sys-concept.com wrote: > >> The fact that I'm logged via ssh over VPN to a remote network should not >> have any influence over network speed. > > It may influence speed if you're trying to push a large file through the > tunnel. TCP over TCP tends to choke due to retransmissions: > > http://sites.inka.de/bigred/devel/tcp-tcp.html > > Is the VPN you mention using a TCP or UDP tunnel?
The VPN is using UDP tunnel. > >> I just made a loop: >> Network A ==> Internet ==> Network B >> ssh back to Network A over internet and run "rsync" I got same speed (as if >> I run the command locally) on Network A 112MB/s >> >> So the limiting factor is somewhere else. > > I'm sorry, but I fail to understand with any clarity what runs where and how > when you test things locally, Vs remotely. I mean: What I did is log-in to a remote network over ssh, from remote network I logged back to my network PC using ssh and tested the transfer speed. > - Network topology; > - Network Protocols; > - Applications & application protocols; > - Relevant services on each peer; > - Actions on each peer; > - Results per action. > > As already mentioned iperf or netcat/telnet results will confirm if this is > purely a network issue, ISPs performing deep packet inspection/throttling > affecting throughput asymmetrically, etc. > > SSDs are typically faster than spinning disks, but not always as fast as > ramdisks/tmpfs, especially if write amplification takes place, TRIM kicks in, > > etc. > > Stacking network + application protocols can also have an adverse effect. > Applications like rsync which compare file names, sizes, hashes and what not, > do not offer a reliable speed comparison. > > Methodically testing each component of the transmission system should get you > an answer at the end. On a remote network there are 5-pcs - two of them are Windows PC - 3-pcs are Gentoo I was just testing Getnoo PC's One small PC is about 20-30meters away from the switch and connected by CAT5 (or CAT5e) that PC is network card is capable of 1000-speed according to "ethtool" but negotiated the speed of 100 according to: /sys/class/net/enp4s0/speed The 2-PCs closer to the switch, negotiated the speed of 1000 according to: /sys/class/net/enpxxxx/speed I have to check (this week) if they are both connected directly to a switch and or firewall Ausus RT-AC66U and the light on the switch. I'll check out/investigate the use of "net-misc/iperf" to check the speed.