[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120302170823.7117821b@pyramind.ukuu.org.uk>
Date: Fri, 2 Mar 2012 17:08:23 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Javier Martinez Canillas <javier.martinez@...labora.co.uk>
Cc: Eric Dumazet <eric.dumazet@...il.com>,
David Miller <davem@...emloft.net>, shemminger@...tta.com,
ying.xue@...driver.com, luiz.dentz@...il.com,
rodrigo.moya@...labora.co.uk, javier@...labora.co.uk,
lennart@...ttering.net, kay.sievers@...y.org,
alban.crequy@...labora.co.uk, bart.cerneels@...labora.co.uk,
sjoerd.simons@...labora.co.uk, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Marcel Holtmann <marcel@...tmann.org>
Subject: Re: [PATCH 0/10] af_unix: add multicast and filtering features to
AF_UNIX
> 2- The transport layer used by D-bus is not performance sensitive
> basically due:
>
> a) high number of context switches required to send messages between peer.
This is a user space design issue. The fact dbus wakes up so much
stuff wants fixing at the dbus level.
> b) the D-bus daemon doing the routing and being a bottleneck of the whole.
This is a userspace design issue.
> c) amount of messages copied between kernel space and user space.
This is mostly a userspace design issue and fixing a would fix much of c
because you wouldn't keep sending people crap they didn't need.
You've already got multicast facilities in kernel (if dbus must work by
shouting not state change subscription like saner setups), and you've got
BPF filtering facilities to try and cure some of the wakeups even doing
multicast.
Beyond that I don't see what the kernel can do given its mostly an
architectural problem.
Your model appears to be "since its causing enormous amounts of work we
should do the work faster". The right model would appear to me to be "We
shouldn't cause enormous amounts of work"
Alan
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists