The kdbuswreck
The kdbuswreck
Posted Apr 28, 2015 6:42 UTC (Tue) by zyga (subscriber, #81533)In reply to: The kdbuswreck by luto
Parent article: The kdbuswreck
The one thing that I think you may be missing is that kdbus-based dbus doesn't do much at all in the userspace deamon. It is the current design that does put all of the overhead in the one userspace process. With the kernel based version half of the overhead is removed outright (A->server->B->server->A becomes A->B->A in the common case).
Secondly, AFAIR, the current dbus daemon gets penalized by fair kernel scheduling. That issue goes away with kdbus. Lastly I think that it's prety clear that kdbus unlocks a whole new level of performance with code based on memfd that current dbus doesn't use.
Still, the threads you've referenced are interesting and I need to read more into them to understand how kdbus-based changes applies to them.
