Re: [GIT PULL] kdbus for 4.1-rc1

From: One Thousand Gnomes
Date: Wed Apr 15 2015 - 18:17:24 EST


On Wed, 15 Apr 2015 11:28:58 -0700
Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Wed, Apr 15, 2015 at 11:18 AM, Linus Torvalds
> <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > I've seen this claimed, but I have never seen any actual numbers. What
> > speeds up? By how much? is it actually measurable?
>
> And just to clarify: by "what speeds up, and by how much", I do _not_
> mean "sending a dbus message speeds up by 10x and avoids context
> switches". I've seen _those_ numbers. But does it actually matter?

In the desktop case some of the desktop folks manage to get themselves to
the point they send so many messages that it does. That's rather a
reflection on people programming performance critical code armed with
tools that are too easy to use combined with the fact that messaging is
hard to understand and model latency-wise.

There is a better way to fix those.

For MPI and some of the 'we used to run on an RT nano-kernel' people then
kdbus as proposed won't help - but they do have problems where
(particularly on very slow processors) Linux is naturally enough not that
comparable with a minimally memory protecting rtos doing atomic swaps on
pointers in a shared memory.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/