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, more of a

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

2014-10-21 Thread Lennart Poettering
On Tue, 21.10.14 09:53, Martyn Russell (mar...@lanedo.com) wrote: 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(),

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

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

2014-10-21 Thread Lennart Poettering
On Tue, 21.10.14 14:48, Martyn Russell (mar...@lanedo.com) wrote: Hmm. I would always have assumed that tracker is strictly IO-bound, not CPU-bound, hence 100% sounds suspicious to me. What precisely is tracker doing there that it needs to crunch that much data? Just extracting some meta-data

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

2014-10-20 Thread Lennart Poettering
On Tue, 14.10.14 15:35, Martyn Russell (mar...@lanedo.com) wrote: 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

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

2014-10-18 Thread David Timothy Strauss
On Thu, Oct 16, 2014 at 6:07 AM, Martyn Russell mar...@lanedo.com wrote: True, but some users (I am guessing with low end machines) are complaining about Tracker while they're trying to use their system. I said that having an active user does not inherently imply resource contention, not that

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 mar...@lanedo.com wrote: Does anyone have any suggestions or projects that lead by example that Tracker

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

2014-10-15 Thread David Timothy Strauss
I'm responding here only to the systemd list. On Tue, Oct 14, 2014 at 4:35 PM, Martyn Russell mar...@lanedo.com wrote: Another option would be to use systemd. However, I am mindful that it's not available everywhere just yet (but soon will be I hear) I am also aware, I might get a biased

[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