Bug 242070 - scp on 12.1p1-RELEASE is painfully slow
Summary: scp on 12.1p1-RELEASE is painfully slow
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 12.1-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-net mailing list
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2019-11-19 08:14 UTC by oz42
Modified: 2019-11-20 10:41 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description oz42 2019-11-19 08:14:45 UTC
scp on 12.1p1-RELEASE is painfully slow:

2%   80KB   4.5KB/s   11:25 ETA

Network is 10 GBit/s (both hosts are on ESXi). net.inet.tcp.cc.algorithm is newreno (default). No firewall, scp client is on the same network.
Comment 1 Eugene Grosbein freebsd_committer 2019-11-20 06:54:44 UTC
Please supply more details on your network configuration beginning with used network cards and drivers.
Comment 2 oz42 2019-11-20 10:27:55 UTC
Both hosts use IPv4 (on the same subnet) and vmx network card driver.
Comment 3 Eugene Grosbein freebsd_committer 2019-11-20 10:41:30 UTC
Does it help if you disable various offloads for network interfaces such ax tso4, rxcsum, txcsum etc.? Use: "ifconfig vmx0 -tso4" and so on for both sides.

Use "ifconfig vmx0" to verify that offload features got disabled, repeat test and report back.