Mir protocol code uses too much CPU (24%) vs rendering of graphics (75%)
Bug #1352210 reported by
Daniel van Vugt
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Expired
|
High
|
Unassigned |
Bug Description
The Mir protocol code uses too much CPU (24%) vs rendering of graphics (75%).
My intuition is that we should be spending all our time rendering, and not sucking up any significant CPU cycles on the protocol logic.
To post a comment you must log in.
Just FYI, you can divide up Mir's server profile results fairly cleanly in two by looking at inclusive cycles:
75% mir::compositor:: ...
24% boost::asio:: ...
If you assume that:
(1) there is no boost::asio code called from under mir::compositor; and
(2) there is no mir::compositor code call from under boost::asio
then they are logically separate regions of the server.
[The proof of (2) is that 24 < 75 and therefore can't be including the mir::compositor stuff]