Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965766AbbD0Vka (ORCPT ); Mon, 27 Apr 2015 17:40:30 -0400 Received: from mail-la0-f49.google.com ([209.85.215.49]:36263 "EHLO mail-la0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965334AbbD0VkY convert rfc822-to-8bit (ORCPT ); Mon, 27 Apr 2015 17:40:24 -0400 MIME-Version: 1.0 In-Reply-To: References: <20150413190350.GA9485@kroah.com> <20150423130548.GA4253@kroah.com> <20150423163616.GA10874@kroah.com> <20150423171640.GA11227@kroah.com> <553A4A2F.5090406@samsung.com> From: Andy Lutomirski Date: Mon, 27 Apr 2015 14:40:02 -0700 Message-ID: Subject: Re: [GIT PULL] kdbus for 4.1-rc1 To: Linus Torvalds Cc: Lukasz Skalski , Greg Kroah-Hartman , Andrew Morton , Arnd Bergmann , "Eric W. Biederman" , One Thousand Gnomes , Tom Gundersen , Jiri Kosina , "linux-kernel@vger.kernel.org" , Daniel Mack , David Herrmann , Djalal Harouni Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1535 Lines: 44 On Mon, Apr 27, 2015 at 2:32 PM, Linus Torvalds wrote: > On Fri, Apr 24, 2015 at 6:50 AM, Lukasz Skalski wrote: >> >> To perform tests I've created two simple apps: >> >> - server: http://fpaste.org/215157/ >> - client: http://fpaste.org/215156/ > > So since Andy reported that dbus seems to be a few orders of magnitude > too slow, I tried to build these apps to see what it even does. > > They don't buidl on F21. You seem to be using features that are too > new to exist even in fairly modern distros: > > server.c:47:24: error: ‘G_BUS_TYPE_USER’ undeclared > > so I can't even see what dbus does *now*. Change "USER" to "SESSION". Build with: gcc -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -o client client.c -lglib-2.0 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -ldbus-1 -lgio-2.0 The again with s/client/server/ For all I know, the USER vs SESSION distinction matters, but I can't imagine why. > > That said, either you're running your test on a potato, or dbus is > seriously screwed up. No way should it take 4+ seconds to send a 1000b > message to back and forth 20k times. But as mentioned, I can't even > see what it's doing right now. Whee! I'm typing this email on a potato! --Andy -- 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/