[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: D-BUS required changes in KDE 4
From:       Thiago Macieira <thiago () kde ! org>
Date:       2006-09-13 22:00:39
Message-ID: 200609140000.49094.thiago () kde ! org
[Download RAW message or body]


Olaf Jan Schmidt wrote:
>A test made a while ago claimed that D-Bus is 18x slower than ORBit2
> (and 3 times slower than DCOP):
>http://eleceng.dit.ie/frank/rpc/CORBAGnomeDBUSPerformanceAnalysis.pdf

That test is laughable. Don't take it seriously any more than you take 
seriously any kiddie's benchmarking. It does some very weird testing and 
comes up with pretty inconsequential conclusions. String comparisons?! 
Please...

>* The main reason described in the analysis is the lack of caching for
> DCOP and D-Bus. Would it be possible to add it?

Caching of what?

>* Is D-Bus using sockets for local communication to improve the speed,
> such as ORBit2 does? If not, would it make sense to change that?

Yes, it's using sockets. What else would it be using?

Now, libdbus-1 can use some optimisation in the marshalling code. My own 
tests indicate it can be slow. But compared to the two task-switches 
necessary to actually relay data to a remote process, that's negligible.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic