Re: How to prevent rtkit from giving firefox higher priority?
On Mon, 2024-01-15 at 20:21 +0100, tomas@tuxteam.de wrote:
> On Mon, Jan 15, 2024 at 07:38:27PM +0100, hw wrote:
> > Hi,
> >
> > I'm seeing in the journal (and in htop) that rtkit-daemon gives (has
> > given) a ton of firefox processes increased priority.
> >
> > Of course, having tons of web browser processes running at increased
> > priority is like one of the last things I would want.
>
> It's the ad industry. It won't settle for less than real time access
> to your eyeballs ;-P
>
> Sarcasm [1] aside, the idea was possibly to enhance your videoconf
> experience.
>
> As far as I understand, rtkit gets told by apps over DBus [2]
> "hey, I'm important. Gimme some real-time prio".
>
> No idea where its config is, but there is an admin front end
> to it called rtkitctl.
It doesn't have any configuration other through command line
arguments.
> That said, it is Poetteringware, so it should come with a decent
> man page.
It doesn't have a man page.
> > How do I prevent this from happening?
>
> Tell us when you find out. I always enjoy stories from the deep
> end of the pool :-)
>
> > And why is there no control whatsoever about which processes can get
> > higher priority? This is not an acceptable way to do such things.
>
> There should, yes.
>
> > Is there a better way then disabling/removing rtkit-daemon? And how
> > could I remove/disable it?
>
> Which package does it come with?
Well, I don't remove it because it can be useful. I only want to
prevent it from doing stuff I don't want it to do. That ability goes
more and more down the drain :(
And it turned out that it's apparently not rtkit-daemon but firefox
itself that makes it assume a higher priority.
> Cheers
>
> [1] It always feels queasy when sarcasm and reality are so
> close together.
>
> [2] Phew. No DBus around here. Another bullet dodged :-D
Aren't there going to be lots of problems with things not working when
you don't have dbus?
Reply to: