Overview
If you are experiencing slowness while using M-Files Desktop, like slow metadata card loading or even getting timeout errors, there could be several reasons for this, but among the first things to check is the network connection quality between M-Files Desktop and Server computers.
Network Quality
Network throughput, a.k.a. bandwidth, affects how fast documents are transferred between the M-Files Desktop and Server, so it affects the speed of opening of especially larger documents from a vault and checking them in.
Another important factor for the network operability is latency, i.e., round-trip time of network data packets between computers. For client-server distributed application systems like M-Files, a relatively low network latency is required. In on-prem networks it is possible to reach latencies below 10ms but in other deployments like cloud-based solutions the latency expectations are not that low, typically it will be dozens of milliseconds. While 100ms latency is still likely ok, at 200ms or above various usability issues can be expected.
Third and very important factor is packet loss - how many of the data packets traversing in the network are lost. There are mechanisms to recover from this, but it will take time and it may render the system unusable even with rather low packet loss rate. Packet loss can happen in a busy or bad quality network where at times there is more data attempted to be transferred than what is the capacity of the network. Additionally, non-wired networks are also riskier for packet loss.
M-Files Web and Mobile are less prone to latency and packet loss issues due to differences in the underlying technology and therefore if the M-Files Desktop is not working well due to poor network connectivity, they could be tried instead.
Notes
The before mentioned latency values are generic guidelines - things like vault metadata and integrations may cause issues to be observed even with lower latencies. For example, very complex metadata structure (such as objects that have too many properties, especially many value lists) can begin to deteriorate the user experience already with latencies as low as 100ms.
Typically, the users will perceive such issues as slow operations in M-Files, even though you will not see performance issues on the server itself and users with a fast and good quality network won't see issues either. Things like opening the metadata card or expanding value list dropdowns can feel sluggish.
Checking the Connection Status
In the M-Files Desktop Client it is possible to analyze a network connection quality to M-Files Server by getting insight of the latency (minimum, average and maximum latency) and throughput:
- Click the connection status icon with bars in the upper-right corner of the M-Files Desktop
- Click Analyze Connection in the Connection Status window.
If you need support concerning performance issues, run Analyze Connection a couple of times and provide a screenshot of the result window when contacting M-Files Support (support@m-files.com). Ideally, also provide a short ETL logs set (one taken from the client and one from the server at the same time), with information what was done during the logging, what are the exact M-Files versions, and what was the user id of the user. Note that ETL logs cannot be taken from mobile or Web usage.
