Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

tonmischa

macrumors regular
Original poster
Apr 22, 2007
186
293
Server is a MacMini 2014, latest Monterey, 2 TB SSD, 1 GBit Ethernet, one folder shared via the "Sharing" Pane in System Preferences.
Client is MacStudio, latest Ventura, 10 GBit Ethernet.

When reading from the share I get the full 1 GBit. When writing to the share, I only get ~400 MBit.
Any ideas why? Thank you!


====

Things I checked/tried:
- Local Benchmark on the Server's SSD: 530 MByte Read / 520 MByte Write (Sequential)
- SMB encryption is set to off (in nsmb.conf)
- smbutil statshares -a says
Code:
USER_ID                       501
SMB_NEGOTIATE                 SMBV_NEG_SMB1_ENABLED
SMB_NEGOTIATE                 SMBV_NEG_SMB2_ENABLED
SMB_NEGOTIATE                 SMBV_NEG_SMB3_ENABLED
SMB_VERSION                   SMB_3.0.2
SMB_ENCRYPT_ALGORITHMS        AES_128_CCM_ENABLED
SMB_ENCRYPT_ALGORITHMS        AES_128_GCM_ENABLED
SMB_ENCRYPT_ALGORITHMS        AES_256_CCM_ENABLED
SMB_ENCRYPT_ALGORITHMS        AES_256_GCM_ENABLED
SMB_CURR_ENCRYPT_ALGORITHM    OFF
SMB_SHARE_TYPE                DISK
SIGNING_SUPPORTED             TRUE
EXTENDED_SECURITY_SUPPORTED   TRUE
UNIX_SUPPORT                  TRUE
LARGE_FILE_SUPPORTED          TRUE
OS_X_SERVER                   TRUE
FILE_IDS_SUPPORTED            TRUE
FILE_LEASING_SUPPORTED        TRUE
MULTI_CREDIT_SUPPORTED        TRUE
DIR_LEASING_SUPPORTED         TRUE
ENCRYPTION_SUPPORTED          TRUE
- Hardware Tab in Network Preferences is set to "Automatic" (server and client)
- Server and client are usually connected via a switch (QNAP QSW-2104-2T). I also connected them directly for testing.
- Different ethernet cable


====


EDIT
Solution: The Network Switch QNAP QSW-2104-2T was failing.
 
Last edited:

tonmischa

macrumors regular
Original poster
Apr 22, 2007
186
293
How much data are transferring with tests? Transferring very small files or single large file?
3 GB single large file. (coming from internal drive of the MacStudio)
It starts off with 100 MByte/sec, then after 2 seconds it goes down to 40 MByte/sec and stays there.
 

Boyd01

Moderator
Staff member
Feb 21, 2012
7,948
4,883
New Jersey Pine Barrens
I have a lowly base model 2014 i5 1.4ghz Mini with 4gb RAM. It runs iTunes on Mojave 24/7 with home sharing enabled. I access it regularly from two Apple TV's and other devices. It's connected to my home stereo with speakers in different rooms and I stream Sirius/XM with Safari, also use iTunes to play my own ripped music.

Then I have a top-spec quad 16gb 2012 Mini server that I use as a fileserver and time machine destination. It is running Catalina. Both machines are connected via gigabit ethernet and I did these tests from my 2018 hex i7/64gb Mini on the same network, running Monterey. That machine has 10gb ethernet, but my network is only gigabit.

These suggest that the CPU and RAM aren't really a factor, the test results are the same. The 2014 boots from an older Samsung external SSD that clocks around 400MB/sec, the 2012 has an original internal Apple SSD that clocks around 500MB/sec. Just using the standard MacOS file sharing.

Seems like something else is going on for you, maybe related to the fact that you have 10gb ethernet? Or some other network activity? Maybe Monterey does not play well with your 2014 Mini? Of course, the other big difference is that your client is an Apple Silicon Mac and mine is Intel. I was streaming video with Sling on my iPad on the same network when I did these tests, FWIW.


2012mini_share.png


2014mini_share.png
 

tonmischa

macrumors regular
Original poster
Apr 22, 2007
186
293
Seems like something else is going on for you, maybe related to the fact that you have 10gb ethernet? Or some other network activity? Maybe Monterey does not play well with your 2014 Mini? Of course, the other big difference is that your client is an Apple Silicon Mac and mine is Intel.
Thank you for taking the time to do these tests!
I also believe that there are several things going on which might interact with each other. Hard to diagnose...

I have a third Mac in the mix. A 2020 M1 MacMini - also 10 GBit. Just today I had a new problem. While transferring files (each over 1 GB) between the 10GBit MacMini and the 10GBit MacStudio. The speed was fine, but the connection dropped regularly. (It seemed like a faulty cable.) I changed all cables, but nothing changed.

I will now take a closer look at the network switch again. Its a QNAP QSW-2104-2T (2x 10Gbit, 4x 2,5Gbit). One of the "cheaper" 10GBit switches I could find. Maybe I should have not been so cheap...
 
  • Like
Reactions: Boyd01

popup

macrumors member
Dec 3, 2022
30
24
This is a comment about QNAP QSW-2104-2T on Amazon:
Using Home NAS with TrueNAS 12-U8 and there is a serious problem with speed...
If I connect the SFP Cisco cable directly between PC and NAS I got full speed both ways. BUT when I connect into this qnap both NAS and PC, then the connection goes to 1GB between NAS -> PC
PC -> NAS is still almost max speed. But NAS to PC goes to 110MB/s instead of atleast 800MB/s.
So be aware of that when purchasing this switch...
About 2.5 Ethernet connections, same thing, can't get above 110MB/s, and I've 10Gb cards.
 

tonmischa

macrumors regular
Original poster
Apr 22, 2007
186
293
This is a comment about QNAP QSW-2104-2T
Thank you for finding this!
I also found this Reddit post talking about the QNAP "killing a network".

I have now switched to an older 1 GBit Zyxel switch and will check for a few days.
(I was pretty sure I had tried a direct connection between client and server and ruled out the switch as the culprit... Oh well...)
 
  • Like
Reactions: Boyd01

Kgeee

macrumors member
Sep 13, 2013
31
14
I always test network speeds with iPerf3 first. This takes any problems with disk speed out of the equation.
 
  • Like
Reactions: tonmischa

tonmischa

macrumors regular
Original poster
Apr 22, 2007
186
293
Thanks to everyone in this thread for your help and advice.
I switched the network to an old 1GBit Zyxel and now I am running a new TP-Link TL-SX105 (5-port 10GBit) for 10 days now. I had no network problems whatsoever.

In conclusion:
The QNAP QSW-2104-2T was the culprit and was failing after 9 months of use. Luckily Amazon took it back.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.