-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dysk very slow in case of not present automounted external hdd #57
Comments
Hum. That's curious. Any idea of what's the filesystem which causes the problem ? Can you try |
Hi, I've just tried that and same result. |
I don't know which filesystem you can easily unmount but trying without some of them would probably tell us where the problem is. |
Interestingly I've just tried with |
This eases decoupling filtering logic and data gathering logic (they're in different crates btw) and the only cases of slow "computing" I had until now were the remote filesystems. I'll reconsider this part of the architecture depending on your findings. |
I've found the offending line causing trouble in my fstab, which I use to automount an external hdd that's not currently connected: It appears that running dysk triggers a systemd job to run, but not for dfrs.
A further search brought me to https://www.freedesktop.org/software/systemd/man/systemd.mount.html#x-systemd.device-timeout= to which I configured to 1 second, and now dysk runs in 1s. So that's the root cause of this issue. |
Thanks for the investigation. With this, I should be able to try reproduce the problem and look for workarounds. |
I changed the issue title to ease management. Feel free to adjust it if you want but try to keep it as specific as possible. |
I have the same issue:
Maybe dysk is doing things in series rather than parallel... it's a big jump from 0.00 to 5. I have 5 So I'm not sure where the 5 seconds is coming from. (Thanks @Dialga for clueing me into |
dysk, and it's previous incarnation always takes ~1m30 seconds to load on my system, whereas the alternative dfrs shows disk usage immediately.
The text was updated successfully, but these errors were encountered: