> On July 22, 2011, 2:46 p.m., Sebastian Trueg wrote: > > I have no idea why I did not use that to begin with, however. However, I > > think for git master we should allow Nepomuk::Service subclasses to set a > > priority like "BackgroundNonesense" or "UserInteraction" or things like > > that. Based on that we would set the priority. I suppose that the query > > service should get a higher prio (although I am not sure if that does > > change anything since most of the work is done by Virtuoso anyway.)
Is it okay if I push this patch for 4.7? I'll start working on the solution you proposed for master. - Vishesh ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/102044/#review4969 ----------------------------------------------------------- On July 22, 2011, 8:17 a.m., Vishesh Handa wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://git.reviewboard.kde.org/r/102044/ > ----------------------------------------------------------- > > (Updated July 22, 2011, 8:17 a.m.) > > > Review request for Nepomuk and Sebastian Trueg. > > > Summary > ------- > > I've changed the scheduling of all Nepomuk services from SCHED_BATCH to > SCHED_IDLE. Maybe this should only be done for the "nepomukindexer"? > > Reference: > http://www.kernel.org/doc/man-pages/online/pages/man2/sched_getscheduler.2.html > > If this is accepted, I'll like to backport it as well. > > > Diffs > ----- > > nepomuk/servicestub/priority.cpp 1c4e5687 > > Diff: http://git.reviewboard.kde.org/r/102044/diff > > > Testing > ------- > > I've tested it on my desktop and I find that I just don't notice when files > are being indexed. Before this it was slightly noticeable as the computer > would become slightly sluggish. > > > Thanks, > > Vishesh > >
_______________________________________________ Nepomuk mailing list [email protected] https://mail.kde.org/mailman/listinfo/nepomuk
