Hi there!
So far I've been very happy with OMV and everything works as it should... well, almost.
When doing a fresh install, my SMB speeds are fantastic! Constantly maxing out between 90-110MB/s. Awesome! I could transfer 200GB of large files and ~100GB of many small files without a problem at all. 6 hours later, another ~500GB of files went through with a rock solid speed of 100MB/s as well.
But somehow, after a day or two after installing OMV, the SMB transfers are getting REALLY slow to about 5-20MB/s with even a few sudden drops to the KB/s range. Since I googled for around 5 hours and were getting nowhere, I just did a fresh install yesterday and everything was working fine again. Heavenly speeds. (I thought I must have somehow broken some kernel thing when I did an update previously).
But around 12h after the fresh install, the speeds are back to being horrendous.
I googled again for around 4 hours and I'm seriously getting frustrated so maybe someone can help me out here.
My configuration is:
Raspberry Pi 4B,
Root fs on SD card (64GB Sandisk Extreme UHS-I Class 10)
Raspian Buster Lite -> Install Script -> OMV
Data drives are 2x 4TB HDD's, connected via USB3 (external power) in a 2-bay enclosure
Gigabit LAN (working and recognized as such)
Since the configuration is working perfectly after fresh install, I can rule out a hardware issue, so it must be some configuration. What I did so far trying to resolve the issue:
- Rebooting OMV and PC (of course, lol)
- Checking Energy Management, tried different settings
- Tried every possible setting in smb.conf
- Disabled SMB 1.0 in Windows
- Tried different SMB versions
- Checking System Time synchronization of PC and OMV
- Switched from DHCP to static (although my router is assigning a static IP address anyway)
- Checking "top" -> CPU is almost at idle all the time, around 0.3%
- Checking Ram, using 0.1% of total RAM
- Checking "iotop" -> Nothing special
- (i'm sure I did some other things as well but these are the ones I remember at least)
In my mind, there can also be another two possible issues that I didn't check:
- Wrong SMB config (since I did shutdown and start my PC in between the "working good" and "working bad" cases)
- The Filetransfer is somehow getting cached on the SD card and getting transferred to the HDD (since the ~20MB/s is the write speed I get when writing directly to SD card via SMB)
(these are just "meh, could theoretically be possible" scenarios)
So... does anyone have a clue about what might be happening here? I'm getting crazy!
Thanks