2

SMB problem: autocomplete, synology, ls

 2 years ago
source link: https://forums.macrumors.com/threads/smb-problem-autocomplete-synology-ls.2327082/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

SMB problem: autocomplete, synology, ls

David Laidlaw

macrumors newbie

Original poster

Dec 2, 2021

I am getting 20-30 second hangs when I try to autocomplete in a Terminal window an SMB directory. For example:
% ls /Volumes/space/<TAB>​
locks up my terminal for 20-30 seconds before showing the potential completions. I can't ^C, even, so it is probably in some system call, I believe. This did not happen at some point in the past, but I cannot say if it is correlated with a particular OS release or Synology update. The machine "space" is a Synology NAS DS1815+ running DSM 6.2.4-25556 Update 2. The mac is an M1 air running Big Sur 11.6.1. I have over 300Mbps of wifi bandwidth from the mac to the wifi hub and GB ethernet from there to the Synology. Ping time from mac to synology is 8ms+-5ms.

Opening a finder window in a remote directory with ~2000 files in it also takes about 40 seconds, which seems longer to me than it used to.

Opening a finder window in a different remote directory with 15 items takes about 20 seconds. That is definitely longer than it used to be.

Any suggestions would be appreciated.

HDFan

Contributor

Jun 30, 2007

3,342

1,152

Any possibility of directly connecting to the unit via ethernet to test? If it works that might point to some problem in the network.

Had no problems with a ssh to a 1019 DSM 7 via ethernet.

David Laidlaw

macrumors newbie

Original poster

Dec 2, 2021

Any possibility of directly connecting to the unit via ethernet to test? If it works that might point to some problem in the network.

Had no problems with a ssh to a 1019 DSM 7 via ethernet.
Exactly the same behavior over wired 1G ethernet.

HDFan

Contributor

Jun 30, 2007

3,342

1,152

OK. SMB also slow if wired.

1. If you run an iperf3 test from your Mac to the Synology, again wired, what results do you get?

iperf3 -c 10.0.0.30

Connecting to host 10.0.0.30, port 5201
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 107 MBytes 895 Mbits/sec
[ 5] 1.00-2.00 sec 105 MBytes 882 Mbits/sec
[ 5] 2.00-3.00 sec 109 MBytes 916 Mbits/sec
[ 5] 3.00-4.00 sec 109 MBytes 911 Mbits/sec
[ 5] 4.00-5.00 sec 109 MBytes 918 Mbits/sec
[ 5] 5.00-6.00 sec 110 MBytes 923 Mbits/sec
[ 5] 6.00-7.00 sec 107 MBytes 897 Mbits/sec
[ 5] 7.00-8.00 sec 110 MBytes 921 Mbits/sec
[ 5] 8.00-9.00 sec 102 MBytes 860 Mbits/sec
[ 5] 9.00-10.00 sec 111 MBytes 931 Mbits/sec

I'm assuming you are running gigabit ethernet.

2. Do you have any other systems, Mac or PC, which you can directly connect to the Synology to test?

3. Do you get the same results when logged in as a test user on the Mac?

4. Same results when booted in Safe Mode?
Last edited: Today at 1:30 AM

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK