On 02Sep2018 22:16, Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:
Fedora 28 Server
Fedora 28 Workstation
dd-wrt 802.11n Broadcom based router
Connected wirelessly 5GHz, wired ethernet cable is physically
disconnected from Server
File transfer from Workstation to Server
scp: scp itself reports ~620KB/s; where nload on the server reports ~4.9Mbit/s
smb: GNOME reports 4.9MB/s; where nload on the server reports ~39.8Mbit/s
Why? That's rather unexpected.
Command is
scp test.bin f28s.local:/srv/scratch
Using nc, I get speeds slightly faster than smb. OK so encryption? If
I connect wired, and then 'nmcli c down <ID>' to disconnect the
wireless connection:
scp: 12MB/s, nload ~101Mbit/s
smb: nload ~96Mbit/s
Sooooo, it's not encryption. Why would scp be this much slower only
with a wireless connection? And using:
rync -avzhe ssh test.bin f28s.local:/srv/scratch
Over wireless, this is just as bad as scp.
There's also compression. And rsync's not the fastest copier around; it's great
for incremental change, but sheer data copying is less good.
1: repeat tests with -o compression=no on scp. Though your wired test looks
like that's not the bottleneck.
2: You're basicly the only person using the wifi during this test? Wifi's
timesliced; competition might affect this.
3: I presume test.bin is a decent size?
4: Is the speed any different copying in the other direction?
For comparison, I've got a Mac here with an 802.11n 5GHz airport express wired
to a gigabit ethernet, with an Ubuntu server 2 switches away in the office. Scp
of an mp4 file from the Mac to the server is telling me about 11.1MB/s right
now.
My ssh options (which scp will be using) have these settings:
% ssh -G my-server | egrep -i '(cipher|compre)'
compression no
ciphers chacha20-poly1305@xxxxxxxxxxx,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@xxxxxxxxxxx,aes256-gcm@xxxxxxxxxxx
and an "ssh -v" says this about the encryption:
debug1: kex: algorithm: curve25519-sha256@xxxxxxxxxx
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: chacha20-poly1305@xxxxxxxxxxx MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@xxxxxxxxxxx MAC: <implicit> compression: none
Cheers,
Cameron Simpson <cs@xxxxxxxxxx>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx