lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <553F6347.8000906@samsung.com>
Date:	Tue, 28 Apr 2015 12:39:03 +0200
From:	Lukasz Skalski <l.skalski@...sung.com>
To:	Linus Torvalds <torvalds@...ux-foundation.org>
Cc:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Andy Lutomirski <luto@...capital.net>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Arnd Bergmann <arnd@...db.de>,
	"Eric W. Biederman" <ebiederm@...ssion.com>,
	One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk>,
	Tom Gundersen <teg@...m.no>, Jiri Kosina <jkosina@...e.cz>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Daniel Mack <daniel@...que.org>,
	David Herrmann <dh.herrmann@...il.com>,
	Djalal Harouni <tixxdz@...ndz.org>
Subject: Re: [GIT PULL] kdbus for 4.1-rc1

On 04/27/2015 11:32 PM, Linus Torvalds wrote:
> On Fri, Apr 24, 2015 at 6:50 AM, Lukasz Skalski <l.skalski@...sung.com> 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@...sung.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ