Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753996AbbDPSUL (ORCPT ); Thu, 16 Apr 2015 14:20:11 -0400 Received: from mail-qk0-f175.google.com ([209.85.220.175]:33425 "EHLO mail-qk0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751958AbbDPSUD (ORCPT ); Thu, 16 Apr 2015 14:20:03 -0400 MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 16 Apr 2015 20:20:02 +0200 Message-ID: Subject: Re: [GIT PULL] kdbus for 4.1-rc1 From: David Herrmann To: Linus Torvalds Cc: Greg Kroah-Hartman , Steven Rostedt , One Thousand Gnomes , Jiri Kosina , Al Viro , Borislav Petkov , Andy Lutomirski , Andrew Morton , Arnd Bergmann , "Eric W. Biederman" , Tom Gundersen , "linux-kernel@vger.kernel.org" , Daniel Mack , Djalal Harouni Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2667 Lines: 60 Hi On Wed, Apr 15, 2015 at 8:18 PM, Linus Torvalds wrote: > On Wed, Apr 15, 2015 at 11:11 AM, Greg Kroah-Hartman > wrote: >> On Wed, Apr 15, 2015 at 01:33:27PM -0400, Steven Rostedt wrote: >>> >>> I'll argue that you can't fix the later one. One thing that I've observed over >>> the years of having faster computers is, as soon as you make it faster, people >>> will write slower software. >>> >>> Currently the issue is that we have thousands of dbus queries, you make dbus >>> 10x faster, I guarantee that people will write software with 10 thousand dbus >>> queries and we are no better off than we are today. >> >> Then they get to buy a faster machine :) > > Is there actually a performance issue? > > I've seen this claimed, but I have never seen any actual numbers. What > speeds up? By how much? is it actually measurable? For us, boot speed-up has not been the primary concern. The boot-time speedup that kdbus provides is unlikely to be significant on a generic linux distro today, given that nowadays the slow parts during bootup are firmware and hw initialization. The number of dbus messages sent during bootup of a general purpose Linux distro is relatively small. OTOH, during start-up of desktop environments, the dbus traffic is substantial, but until the porting of Qt and glib to kdbus has been completed and merged the real-world effect of this is minimal. Our interest in improved raw performance is mainly motivated by making dbus a viable protocol in situations where its semantics are appropriate. But for performance reasons one had to use custom protocols instead so far. Greg gave some examples in the cover letter, multi-media being the most obvious area where the ten-fold decrease in latency and the ability to efficiently copy large chunks of memory from one process to another is relevant. > Maybe they've marched past me in this thread-from-hell. But I can't > recall having seen any (not now, not before). > > That said, I think the more serious issue is that if Luto complains > about the capability-capturing code being completely broken, then > people need to take that *seriously*. Absolutely. In v3 of the patch set we addressed Andy's concerns, and now he seems to be convinced that the kdbus code is not vulnerable [1]. Thanks David [1] http://lists.freedesktop.org/archives/systemd-devel/2015-April/030776.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/