<div dir="ltr"><div>Hello, Jeff. <br><br>Thanks for responding so quickly. I'm not familiar with the codebase, so if you don't mind me asking, how much would that list reordering slow things down for, say, a queue of 1500 client machines? i.e. round-about how long of a client list would significantly affect latency?<br><br></div><div>I only ask because we have quite a few clients and you explicitly call out that the queue reordering method used may have problems for lots of clients.<br></div><div><br>Thanks again,<br></div><div><br></div>Patrick<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 12, 2016 at 11:18 AM, Jeff Darcy <span dir="ltr"><<a href="mailto:jdarcy@redhat.com" target="_blank">jdarcy@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> > * We might be able to tweak io-threads (which already runs on the<br>
> > bricks and already has a global queue) to schedule requests in a<br>
> > fairer way across clients. Right now it executes them in the<br>
> > same order that they were read from the network.<br>
><br>
> This sounds to be an easier fix. We can make io-threads to factor in another<br>
> input i.e., the client through which request came in (essentially<br>
> frame->root->client) before scheduling. That should make the problem<br>
> bearable at-least if not crippling. As to what algorithm to use, I think we<br>
> can consider leaky bucket of bit-rot implementation or dmclock. I've not<br>
> really thought deeper about the algorithm part. If the approach sounds ok,<br>
> we can discuss more about algos.<br>
<br>
</span>I've created a patch to address the most basic part of this, in the simplest<br>
way I could think of.<br>
<br>
<a href="http://review.gluster.org/#/c/14904/" rel="noreferrer" target="_blank">http://review.gluster.org/#/c/14904/</a><br>
<br>
It's still running through basic tests, so I don't even know if it's really<br>
correct yet, but it should give an idea of the conceptual direction.<br>
</blockquote></div><br></div>