[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: CPU Frequency Scaling
- From: Arjan van de Ven <arjan fenrus demon nl>
- To: Development discussions related to Fedora Core <fedora-devel-list redhat com>
- Subject: Re: CPU Frequency Scaling
- Date: Tue, 05 Dec 2006 21:21:44 +0100
On Tue, 2006-12-05 at 14:17 -0500, Dave Jones wrote:
> On Tue, Dec 05, 2006 at 02:08:22PM -0500, Matthias Clasen wrote:
>
> > > > gnome-menus uses gamin for notification, which uses inotify. The problem
> > > > is that inotify sucks when it comes to nonexisting files
> > >
> > > Can't you add a watch on the directory, and get notification when
> > > a file gets added that way?
> > >
> >
> > Sure. But if that directory is a busy one like, say, $HOME, then you get
> > a lot of unnecessary wakeups.
>
> That's still got to be more efficient than polling.
surely you can rate limit this and just on busy dirs at most scan every
4 seconds... (which is the current poll interval)
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]