Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1170216
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Jindřich Makovička <makovick@gmail.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [GIT PULL] kdbus for 4.1-rc1 |
| Date | Mon, 22 Jun 2015 23:30:03 +0200 |
| Message-ID | <pEhrZ-7f2-23@gated-at.bofh.it> (permalink) |
| References | <peRU5-1Q7-15@gated-at.bofh.it> <pip3b-be-1@gated-at.bofh.it> <piskq-4Vn-21@gated-at.bofh.it> <pisu6-578-15@gated-at.bofh.it> <pisX8-5VO-23@gated-at.bofh.it> <piMj7-LH-1@gated-at.bofh.it> <pjYUY-P3-47@gated-at.bofh.it> <pjZ4E-10X-65@gated-at.bofh.it> <pjZo1-1Ej-83@gated-at.bofh.it> <pjZxF-1QP-23@gated-at.bofh.it> |
| X-Original-To | Linus Torvalds <torvalds@linux-foundation.org> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=wrUB6uZOiuixV9xBGtdQiTz0I8/XlzZ8Vyw208F4r4Q=; b=Yra1U5kCuajSF8oWJWiOUv/lUunf8PiCTYMiK9CZfpAT5/ZRecZ2RBvWO5hMm5hrWC y8zMh6unifbwzIroFCjwy3zYd45q6tIXhCse0uJUscp8H30ZOYjT+Z3Sykm+F4KM7fhb 3oGAFZ3c9E3Sh4/dQ+aWZfywyrMNlWhw5AlX2rCF+sn4e96UlooSbeFLks74jxtwBwp9 69X4w5jONg1eYkZb6/0SL7eIVl0XynQsbj3Y84f4MIv8QQ9CqTIwgjea6O5VZZz1IvLD MpZgXezvUcYifZUWZf9hBqZRmLooiIY4JDAFj3qKMm82JrQDomdx624uRDzPdhOFHuaV aMTg== |
| X-Received | by 10.181.25.234 with SMTP id it10mr36484696wid.0.1435008244028; Mon, 22 Jun 2015 14:24:04 -0700 (PDT) |
| X-Mailer | Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-pc-linux-gnu) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=US-ASCII |
| Content-Transfer-Encoding | 7bit |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 43 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Andy Lutomirski <luto@amacapital.net>, Lukasz Skalski <l.skalski@samsung.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Andrew Morton <akpm@linux-foundation.org>, Arnd Bergmann <arnd@arndb.de>, "Eric W. Biederman" <ebiederm@xmission.com>, One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>, Tom Gundersen <teg@jklm.no>, Jiri Kosina <jkosina@suse.cz>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, Daniel Mack <daniel@zonque.org>, David Herrmann <dh.herrmann@gmail.com>, Djalal Harouni <tixxdz@opendz.org> |
| X-Original-Date | Mon, 22 Jun 2015 23:24:01 +0200 |
| X-Original-Message-ID | <20150622232401.7d3f105a@holly> |
| X-Original-References | <20150413190350.GA9485@kroah.com> <20150423130548.GA4253@kroah.com> <20150423163616.GA10874@kroah.com> <CALCETrWoCsXDWYPedwMDk1s=Bxtc2s+oMCLCok8jg8-RbEL4KQ@mail.gmail.com> <20150423171640.GA11227@kroah.com> <553A4A2F.5090406@samsung.com> <CA+55aFzotCVgjW4Yj+HMfgw77vZwtfn0WXA6=OdZfU5fyB4u7w@mail.gmail.com> <CALCETrW+erTbMBHnN5zv_noP38Gznm4E0U7qk+uxOvM+a=NvCg@mail.gmail.com> <CA+55aFxRa3mwL-17hUuUGpjCeGJXseGteuZdj8eiP5MMkGWO7A@mail.gmail.com> <CA+55aFxdguuO7CLKYYq_qM6S6FT2CicZ1E5D5xGE54OdJNQwew@mail.gmail.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | aioe.org linux.kernel:1170216 |
Show key headers only | View raw
On Mon, 27 Apr 2015 15:14:49 -0700 Linus Torvalds <torvalds@linux-foundation.org> wrote: > On Mon, Apr 27, 2015 at 3:00 PM, Linus Torvalds > <torvalds@linux-foundation.org> wrote: > > > > IOW, all the people who say that it's about avoiding context > > switches are probably just full of shit. It's not about context > > switches, it's about bad user-level code. > > Just to make sure, I did a system-wide profile (so that you can > actually see the overhead of context switching better), and that > didn't change the picture. > > The scheduler overhead *might* be 1% or so. > > So really. The people who talk about how kdbus improves performance > are just full of sh*t. Yes, it improves things, but the improvement > seems to be 100% "incidental", in that it avoids a few trips down the > user-space problems. > > The real problems seem to be in dbus memory management (suggestion: > keep a small per-thread cache of those message allocations) and to a > smaller degree in the crazy utf8 validation (why the f*ck does it do > that anyway?), with some locking problems thrown in for good measure. In case someone actually still reads this, I guess the global rw_lock in gobject/gtype.c, used by the GDbus binding, is one of the culprits. Every GType instance allocation/ deallocation is serialized using this lock, which pretty much disqualifies GObject from being used for anything scalable to multiple threads. GStreamer used to have serious performance issues due to that, which AFAIK have been solved by removing GType from GStreamer core in the 1.0 release. Regards, -- Jindrich Makovicka -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [GIT PULL] kdbus for 4.1-rc1 Jindřich Makovička <makovick@gmail.com> - 2015-06-22 23:30 +0200
csiph-web