Date: Fri, 18 Nov 2016 13:38:25 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 214338] devel/glib20: patch: new kqueue() backend for file monitoring Message-ID: <bug-214338-6497-jTv0Vfpf00@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-214338-6497@https.bugs.freebsd.org/bugzilla/> References: <bug-214338-6497@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214338 --- Comment #3 from Vladimir Kondratyev <wulf@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 usa= ge. > I think kernel cache files/dirs info for most cases. No doubt, it should work nice in most desktop usages. But there are some wo= rst -case scenarios like: 1. Working over slow and unreliable media like mounted network shares especially when public networks are used=20 2. Working with userspace filesystems under heavy CPU load and memory press= ure 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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214338-6497-jTv0Vfpf00>