[Bug 214338] devel/glib20: patch: new kqueue() backend for file monitoring

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 18 13:38:26 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214338

--- Comment #3 from Vladimir Kondratyev <wulf at cicgroup.ru> ---
(In reply to rozhuk.im from comment #2)
> I use this patch mo than 10 days and all OK - no freezes, no high CPU usage.
> I think kernel cache files/dirs info for most cases.

No doubt, it should work nice in most desktop usages. But there are some worst
-case scenarios like:
1. Working over slow and unreliable media like mounted network shares
especially when public networks are used 
2. Working with userspace filesystems under heavy CPU load and memory pressure
3. Working with large directories on medium-speed media like USB1/2-dongles

I have seen readdir()s lasting for more than minute in real life and it is
undesirable to see application stopped that time. I think you can avoid this
with using of some async io libraries like libeio but that just moves thread
creation from gio to external library.

I see more issues in your backend but this one is most important IMO

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-gnome mailing list