maindavfs2 - Support: sr #110235, Owncloud WebDAV Performance via...

 
 

sr #110235: Owncloud WebDAV Performance via autofs & dolphin

Submitter:  None
Submitted:  Fri 08 May 2020 12:37:27 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  _71007
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 08 Jun 2020 10:21:30 AM UTC, comment #3: 

"Beide bereiten mit anderen Protokollen wie NFS, SMB, usw. keine Probleme."
NFS and SMB are network file systems. WebDAV is not a network file system. You might read https://www.rfc-editor.org/rfc/rfc2291.html about what WebDAV was intended for. The intention was that editing tools have built-in WebDAV-support (like e.g. LibreOffice or MS-Office). That there are now WebDAV file systems for almost every operating system does not change this. WebDAV lacks many features that are required for an efficient file system, e.g. real directories or writing part of a file. The main purpose of davfs2 is to allow programs without built-in WebDAV support to edit WebDAV-resources. The only reason why it is a file system is that all editing software can interact with a file system.

"WebDAV läuft über Dolphin direkt, über Kodi, Cyberduck und Windows also besser als über davfs2."
Otherwise would be strange. When Dolphin et al. use their WebDAV-module to access WebDAV-resources they know that it is WebDAV and hopefully behave accordingly. When these programs access a davfs2 file system they treat it like a local file system and do a lot of file system actions that are cheap locally but may be very expensive with WebDAV. You really should use the debugging features of davfs2 to watch all that file system actions of that tools.

"Wenn ich das jetzt richtig gelesen habe, soll es angeblich am caching liegen?"
Why do you think that? Caching makes most operations much faster.

"Aus meiner Sicht ist Owncloud bzw. WebDAV per HTTP am fortschrittlichsten, bietet alles und reicht allemal."
Except WebDAV not beeing a protocol for a file system.

There is one thing that davfs2 could do: it could download only part of the file. That would be useful for tools that open every single file just to create fancy icons. Not opening every file but only those you want to edit would be better.

Werner

- <_71007>
Mon 25 May 2020 10:36:01 AM UTC, comment #2: 

Hallo Werner. Vielen Dank für deine Antwort.
Ich habe das Problem bereits eingegrenzt. Es ist nicht Dolphin und es ist auch nicht autofs. Beide bereiten mit anderen Protokollen wie NFS, SMB, usw. keine Probleme. Außerdem läuft WebDAV über Owncloud auf Windows per internem Explorer einwandfrei. Daher kann es nur davfs2 sein. Ich habe auch davfs2 und autofs konfiguriert. Es hat nur ein wenig Etwas gebracht.
davfs2 muss performanter laufen. WebDAV läuft über Dolphin direkt, über Kodi, Cyberduck und Windows also besser als über davfs2. Wenn ich das jetzt richtig gelesen habe, soll es angeblich am caching liegen?
Das Problem ist, dass diese Protokollvielfalt teilweise nervt. Ich habe mich jetzt auf Owncloud eingefahren. Ich möchte nicht für jedes Protokoll eine neue Freigabe erstellen, da es verschiedene Server Software sind. Eine NAS Software wie Openmediavault oder Freenas möchte ich auch vermeiden. Aus meiner Sicht ist Owncloud bzw. WebDAV per HTTP am fortschrittlichsten, bietet alles und reicht allemal. Und gerade hier hapert es jetzt an der Schnittstelle, zumindest unter Linux.
Vielen Dank nochmal für deine Antwort, Werner. Ich freue mich auf Deine Rückmeldung.
Beste Grüße.

Anonymous
Sun 17 May 2020 09:13:05 AM UTC, comment #1: 

WebDAV is not a very performand protocol. If you do a lot - and maybe useless - file operations you will need a very good connection. You should try do avoid useless traffic.

Graphical file managers like Dolphin do a lot of useless file access that will produce a lot of traffic. Most prominently they often open every single file in a directory just to create some fancy preview picture. There may also be some constant polling to look for altered files.

You must try to avoid such traffic, if possible by configuring Dolphin or by avoiding graphical file managers. Alternatively you may try the WebDAV-access that is built in in Dolphin - maybe it works better because it knows that the protocol is WebDAV.

You can use option "debug kernel". The messages that you will find in your logs will show the PID of the processes that access the file system. This may help to find the program that causes the useless traffic.

Werner

- <_71007>
Fri 08 May 2020 12:37:27 PM UTC, original submission:  

Extreme slow performance when opening folders and loading items.
Dolphin hangs / freezes.

Pls help! I try to use webdav as main protocol for public private cloud.


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by _71007 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-06-08 _71007 StatusIn Progress Done
    2020-05-17 _71007 Severity4 - Important 3 - Normal
        StatusNone In Progress
        Assigned toNone _71007

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code