My up/download speed is constantly droping

Hello, I’ve searched for simillar topics and while I found some, I was not able to solve my issue which is:

While I maintain almost constant download speed (about 30 MB/s) , my upload speed is varying by a lot (few seconds about 12-13 MB/s then drops to 1-2 MB/s for a few seconds and that repeats as a loop). I’ve read something about chunk size and caching but I wouldn’t be able to implement anything. However, I think my problem would be somewhere else, because I am not even close enoigh to my download speed (I think up and down speed should be simillar). So what is crucial for uploading? I am listing my system parameters so you can give an advice what to improve if needed:

NC running on physical Ubuntu machine

Operating System: Linux 5.13.0-51-generic x86_64
CPU: Intel(R) Core™ i3-2100 CPU @ 3.10GHz (4 cores)
Memory: 15.34 GB

HDD - 2x Seagate Ironwolf NAS 4TB connected in RAID, so only 4TB available

In my logging I get this error which I don’t know if it is relevant to the issue I am trying to solve now:

Error scss_cacher OCP\Files\NotPermittedException:

[scss_cacher] Error: OCP\Files\NotPermittedException:  at <<closure>>

 0. /var/www/nextcloud/lib/private/Files/SimpleFS/SimpleFile.php line 149
 1. /var/www/nextcloud/lib/private/Template/SCSSCacher.php line 386
 2. /var/www/nextcloud/lib/private/Template/SCSSCacher.php line 278
 3. /var/www/nextcloud/lib/private/Template/SCSSCacher.php line 142
 4. /var/www/nextcloud/lib/private/Template/CSSResourceLocator.php line 109
 5. /var/www/nextcloud/lib/private/Template/CSSResourceLocator.php line 61
 6. /var/www/nextcloud/lib/private/Template/ResourceLocator.php line 78
 7. /var/www/nextcloud/lib/private/TemplateLayout.php line 342
 8. /var/www/nextcloud/lib/private/TemplateLayout.php line 250
 9. /var/www/nextcloud/lib/private/legacy/OC_Template.php line 185
10. /var/www/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php line 204
11. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 178
12. /var/www/nextcloud/lib/private/AppFramework/App.php line 172
13. /var/www/nextcloud/lib/private/Route/Router.php line 298
14. /var/www/nextcloud/lib/base.php line 1023
15. /var/www/nextcloud/index.php line 36

GET /index.php/apps/dashboard/
from by flyacademy at 2022-07-14T07:32:59+00:00

All tests were made with a single big file (5GB for example).
All tests were made from several networks, including local (ethernet and wifi) and remote.

I don’t observe such issues in my installation running docker and similar server specs as yours. As you did the tests with one file things like database overhead should have little impact most likely the problem is somehow related to the IO maybe disk speeds. try to isolate the issue by monitoring usage of single subsystems (network, disk) to find the bottleneck.

1 Like