Re: [systemd-devel] [Tracker] How to use cgroups for Tracker?

2014-10-23 Thread Martyn Russell
On 23/10/14 12:01, Lennart Poettering wrote: On Thu, 23.10.14 11:40, Martyn Russell (mar...@lanedo.com) wrote: I don't really understand why it was developed as a half complete solution if I am honest. It's not as if there are no examples to follow out there (FSEvents) and it'

Re: [systemd-devel] [Tracker] How to use cgroups for Tracker?

2014-10-23 Thread Martyn Russell
On 23/10/14 10:34, Lennart Poettering wrote: On Thu, 23.10.14 08:15, Aleksander Morgado (aleksan...@aleksander.es) wrote: That's a good one indeed; coalescing events in that way in the kernel looks quite a sane approach. Still, one single process in userspace doing all the control of what chang

Re: [systemd-devel] How to use cgroups for Tracker?

2014-10-21 Thread Martyn Russell
On 21/10/14 12:21, Lennart Poettering wrote: On Tue, 21.10.14 12:03, Martyn Russell (mar...@lanedo.com) wrote: What precisely are you setting with sched_setscheulder() and ioprio_set()? https://git.gnome.org/browse/tracker/tree/src/libtracker-common/tracker-sched.c#n29 and https

Re: [systemd-devel] How to use cgroups for Tracker?

2014-10-21 Thread Martyn Russell
On 21/10/14 11:06, Lennart Poettering wrote: What functionality of cgroups were you precisely using? This was not set up by the Tracker team but another Team at Nokia. Also, perhaps Philip or Ivan have some comments and remember better. It's a while back now, but from what I remember on the

Re: [systemd-devel] How to use cgroups for Tracker?

2014-10-21 Thread Martyn Russell
On 20/10/14 21:12, Lennart Poettering wrote: On Tue, 14.10.14 15:35, Martyn Russell (mar...@lanedo.com) wrote: Hej Lennart, I am not entirely sure what cgroups would really give you that sched_setscheduler(), ioprio_set(), setrlimit() wouldn't give you It's another approach,

Re: [systemd-devel] How to use cgroups for Tracker?

2014-10-16 Thread Martyn Russell
On 15/10/14 16:01, David Timothy Strauss wrote: I'm responding here only to the systemd list. Thanks David, I appreciate your comments. On Tue, Oct 14, 2014 at 4:35 PM, Martyn Russell wrote: Does anyone have any suggestions or projects that lead by example that Tracker could/should f

[systemd-devel] How to use cgroups for Tracker?

2014-10-14 Thread Martyn Russell
Hello all, Recently I've started looking into support for cgroups due to this bug: http://bugzilla.gnome.org/show_bug.cgi?id=737663 It was suggested I ask you guys to see what the best way forward would be here. It seems there are different opinions about how to do this including: a) allow t