Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933324AbbD1KjN (ORCPT ); Tue, 28 Apr 2015 06:39:13 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:28992 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933112AbbD1KjJ (ORCPT ); Tue, 28 Apr 2015 06:39:09 -0400 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 X-AuditID: cbfec7f4-f79c56d0000012ee-8d-553f634de23f Content-transfer-encoding: 8BIT Message-id: <553F6347.8000906@samsung.com> Date: Tue, 28 Apr 2015 12:39:03 +0200 From: Lukasz Skalski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 To: Linus Torvalds Cc: Greg Kroah-Hartman , Andy Lutomirski , 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 Subject: Re: [GIT PULL] kdbus for 4.1-rc1 References: <20150413190350.GA9485@kroah.com> <20150423130548.GA4253@kroah.com> <20150423163616.GA10874@kroah.com> <20150423171640.GA11227@kroah.com> <553A4A2F.5090406@samsung.com> In-reply-to: X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFIsWRmVeSWpSXmKPExsVy+t/xa7q+yfahBh+3KlvMWb+GzeLvpGPs Fk1/X7FYzGs9ymLxf1sLu8WkKX/ZLJoXr2ez2D1nMYvF5V1z2CxWr21gtVg4eROLxcrf29ks HvW9ZXfg9bj/5i+Lx+9fkxg9ds66y+7x51cfi8eJGb9ZPPbPXcPu0XpyE6vHil9H2D3OLAAS nzfJeUw51M7isX33cpYAnigum5TUnMyy1CJ9uwSujGcPbjMX9HNXNE78wNzAeIOji5GTQ0LA ROL/vGnMELaYxIV769m6GLk4hASWMkpsud3AApLgFRCU+DH5HpDNwcEsIC9x5FI2hKkuMWVK LkT5M0aJPbsWMUGUa0msuAFhswioSuzd+RRsDJuAjsSTk/eZQHpFBSIkbl/mBAmLCBhJfH5x hRVkDrPAb2aJRS+usoEkhAU0JVYeXcUIseAYk8Tymw/BhnIKBEtcuP6beQKjwCwk581COG8W wnkLGJlXMYqmliYXFCel5xrqFSfmFpfmpesl5+duYoTE2JcdjIuPWR1iFOBgVOLhzWC2DxVi TSwrrsw9xCjBwawkwlscCRTiTUmsrEotyo8vKs1JLT7EKM3BoiTOO3fX+xAhgfTEktTs1NSC 1CKYLBMHp1QDI6+E+tXpnXffBb+aLiBz9kZjz92Tm/Pvbs2duU/lUMDbH4aHL7J++FY085mp mf/3vTNvLyzc4JbMs/6vGesSZTbrc+n8SjtnJ9WKh8jnshkqeq4y49ad1XjwdJ+eib7uLe6q M5ULVn4UrHVbF/7skcmvoxJ3PqXZvfLUFV45SzSnPGfvjBuel5VYijMSDbWYi4oTAVgcGkOt AgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1629 Lines: 44 On 04/27/2015 11: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*. > I've just explained it in my mail to Andy. As it was discussed some time ago with GLib developers, we introduced two new bus types called "user" (G_BUS_TYPE_USER) and "machine" (G_BUS_TYPE_MACHINE). At this moment, these are only available on GLib devel branch, so I should replace G_BUS_TYPE_USER with G_BUS_TYPE_SESSION before I posted my benchmark apps - sorry for that. > 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. > > Linus > -- Lukasz Skalski Samsung R&D Institute Poland Samsung Electronics l.skalski@samsung.com -- 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/