Sync Briefly Pausing every 100MB?

Nextcloud version: 17.0.1
Operating system and version: Ubuntu 19.01
Apache or nginx version: 2.4.38
PHP version: 7.2

I’m running Nextcloud on an Ubuntu VM with 8vcpu, 8gb ram and 32gb storage. I have my data directory over SMB on my freenas server.

During syncs with varying file sizes (small and large) sync is pausing for approximately 1-3 seconds then resuming. It seems to be transferring approximately 100mb then pause for 1-3seconds and then it will transfer another 100mb. I can’t tell if it’s related to file size or just overall transfer time before pausing.

Looking at htop it doesn’t seem memory related (only 700mb used) and CPU usage doesn’t go above 25%. Any ideas what could be causing this or where I can look to determine what the issue is? I have tried mysql and php tuning but haven’t seen a difference with memory settings or query tuning settings.

Note: this seems to only happen on uploads to the server, downloads are uninterrupted with no stuttering. It occurs on both web and sync clients and I’ve tested on two different PCs, same experience.