You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set up the data dir to be over NFS (defaults are fine)
Watch a large video though the interface
Expected behaviour
NFS server sends {video size} data
Actual behaviour
NFS server sends WAY more data than needed,
rsize=65536,wsize=65536 (chosen automatically by nfs server) - the function sends 65k when 8k is read, then next 8k requested = another 65k being sent.
Server configuration
Operating system:
Linux Web server:
Nignx Database:
MySQL PHP version:
7.3 Nextcloud version: (see Nextcloud admin page)
Master Updated from an older Nextcloud/ownCloud or fresh install:
Doesnt matter Where did you install Nextcloud from:
Github
Are you using external storage, if yes which one: nfs (but looks local from nextclouds POV)
Are you using encryption: no
The code reads $chunkSize = 8192; // 8 kB chunks
Just wondering why that was a default ? I assume as that is the safe bet for TCP ?
If it is for TCP we should set to the max size on the system falling back to 8192.
If TCP is never involved this is purely a memory based setting, maybe setting to 1mb or so.
Any thoughts on this ?
The text was updated successfully, but these errors were encountered:
I'm closing this issue due to inactivity. If this is still happening please make sure to upgrade to the latest version. After that, feel free to reopen.
Steps to reproduce
Expected behaviour
NFS server sends {video size} data
Actual behaviour
NFS server sends WAY more data than needed,
rsize=65536,wsize=65536 (chosen automatically by nfs server) - the function sends 65k when 8k is read, then next 8k requested = another 65k being sent.
Server configuration
Operating system:
Linux
Web server:
Nignx
Database:
MySQL
PHP version:
7.3
Nextcloud version: (see Nextcloud admin page)
Master
Updated from an older Nextcloud/ownCloud or fresh install:
Doesnt matter
Where did you install Nextcloud from:
Github
Are you using external storage, if yes which one: nfs (but looks local from nextclouds POV)
Are you using encryption: no
The code reads
$chunkSize = 8192; // 8 kB chunks
Just wondering why that was a default ? I assume as that is the safe bet for TCP ?
If it is for TCP we should set to the max size on the system falling back to 8192.
If TCP is never involved this is purely a memory based setting, maybe setting to 1mb or so.
Any thoughts on this ?
The text was updated successfully, but these errors were encountered: