[Nepomuk] Re: Review Request: Give Nepomuk the lowest Priority in the Scheduler

Sebastian Trueg sebastian at trueg.de
Fri Jul 22 16:46:26 CEST 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102044/#review4969
-----------------------------------------------------------


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.)

- Sebastian


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
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/nepomuk/attachments/20110722/d8d93e29/attachment.htm 


More information about the Nepomuk mailing list