<div dir="ltr">I don't have another theory. I would think its the extra "free" buffer especially with insanely high fps rates.<div>can we get some mobile device based numbers as well ?<br><div>br, kg</div></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 18, 2013 at 3:07 AM, Daniel van Vugt <span dir="ltr"><<a href="mailto:daniel.van.vugt@canonical.com" target="_blank">daniel.van.vugt@canonical.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'll work on getting numbers. In the mean time, any other theories on why nesting is sometimes faster?<br>
<br>
I think the first logical step is to assume nesting shouldn't be faster. But instead non-nested is being throttled somehow, like already described.<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On 18/12/13 17:04, Thomas Voß wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Wed, Dec 18, 2013 at 10:01 AM, Daniel van Vugt<br>
<<a href="mailto:daniel.van.vugt@canonical.com" target="_blank">daniel.van.vugt@canonical.com</a><u></u>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The issue is in your response: "almost immediately" :)<br>
<br>
At present, "almost immediately" means waiting for a round trip. Whereas we<br>
can do better than that in theory, by pushing free buffers to the client as<br>
soon as they're available.<br>
<br>
</blockquote>
<br>
Fair, but I would like to see numbers on the roundtrip penalty you are<br>
suspecting here, first :)<br>
<br>
Cheers,<br>
<br>
   Thomas<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
On 18/12/13 16:58, Thomas Voß wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On Wed, Dec 18, 2013 at 9:43 AM, Daniel van Vugt<br>
<<a href="mailto:daniel.van.vugt@canonical.com" target="_blank">daniel.van.vugt@canonical.com</a><u></u>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
At first glance, comparing frame rates between direct (single) and nested<br>
(double) server configurations reveals nothing unexpected...<br>
<br>
Full screen<br>
Direct (bypass) 2600<br>
Direct (bypass off) 2400<br>
Nested (bypass) 2450<br>
Nested (bypass off) 2330<br>
<br>
But for surfaces which can't be bypassed, something strange happens;<br>
nesting<br>
is faster!<br>
<br>
Windowed<br>
Nested 4890<br>
Direct 4400<br>
<br>
My best theory right now is that we're crippling Mir in the single server<br>
case due to:<br>
<a href="https://bugs.launchpad.net/mir/+bug/1253868" target="_blank">https://bugs.launchpad.net/<u></u>mir/+bug/1253868</a><br>
and nesting provides a workaround for that problem by supplying extra<br>
levels<br>
of buffering.<br>
</blockquote>
<br>
<br>
Not sure I'm following your reasoning here: The bug states exactly the<br>
opposite, i.e., additional buffering wouldn't help.<br>
In addition: I do not see how a steady-state update scheme on the<br>
client-side is a problem here. If there are more than two buffers<br>
available per surface, the client almost immediately receives a new<br>
buffer when it calls next_buffer. Sure, there is always only one<br>
buffer in flight, but I cannot see why this would lead to the numbers<br>
you are reporting here.<br>
<br>
Cheers,<br>
<br>
    Thomas<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Can anyone else think why nested would sometimes be faster than not<br>
nested?<br>
<br>
- Daniel<br>
<br>
--<br>
Mir-devel mailing list<br>
<a href="mailto:Mir-devel@lists.ubuntu.com" target="_blank">Mir-devel@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at:<br>
<a href="https://lists.ubuntu.com/mailman/listinfo/mir-devel" target="_blank">https://lists.ubuntu.com/<u></u>mailman/listinfo/mir-devel</a><br>
</blockquote></blockquote></blockquote></blockquote>
<br>
-- <br>
Mir-devel mailing list<br>
<a href="mailto:Mir-devel@lists.ubuntu.com" target="_blank">Mir-devel@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/mir-devel" target="_blank">https://lists.ubuntu.com/<u></u>mailman/listinfo/mir-devel</a><br>
</div></div></blockquote></div><br></div>