<div dir="ltr">Did you try setting the concurrency level much higher than 8 like I suggested earlier? You are probably having multiple connections assigned to the same IO threads.<input name="virtru-metadata" type="hidden" value="{"email-policy":{"state":"closed","expirationUnit":"days","disableCopyPaste":false,"disablePrint":false,"disableForwarding":false,"expires":false,"isManaged":false},"attachments":{},"compose-window":{"secure":false}}"><div class="gmail_extra"><br><div class="gmail_quote" style="">On Wed, Jul 25, 2018 at 12:26 PM, R. Matt Barnett <span dir="ltr"><<a href="mailto:barnett@rice.edu" target="_blank">barnett@rice.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Corrected test to resolve test/set race.<br>
<br>
<br>
<a href="https://gist.github.com/rmbarnett-rice/1179c4ad1d3344bb247c8b8daed3e4fa" rel="noreferrer" target="_blank">https://gist.github.com/<wbr>rmbarnett-rice/<wbr>1179c4ad1d3344bb247c8b8daed3e4<wbr>fa</a><br>
<br>
<br>
I've also discovered this morning that I *can* see 1-8 printed on Red <br>
Hat when I generate load using ab from Windows, but only 1-4 when <br>
running ab on Red Hat (both locally and from a remote server). I'm <br>
wondering if perhaps there is some sort of connection reuse shenanigans <br>
going on. My assumption of the use of the -c 8 parameter was "make 8 <br>
sockets" but maybe not. I'll dig in and report back.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
-- Matt<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On 7/24/2018 6:56 PM, R. Matt Barnett wrote:<br>
> Hello,<br>
><br>
> I'm experiencing an Undertow performance issue I fail to understand. I<br>
> am able to reproduce the issue with the code linked bellow. The problem<br>
> is that on Red Hat (and not Windows) I'm unable to concurrently process<br>
> more than 4 overlapping requests even with 8 configured IO Threads.<br>
> For example, if I run the following program (1 file, 55 lines):<br>
><br>
> <a href="https://gist.github.com/rmbarnett-rice/668db6b4e9f8f8da7093a3659b6ae2b5" rel="noreferrer" target="_blank">https://gist.github.com/<wbr>rmbarnett-rice/<wbr>668db6b4e9f8f8da7093a3659b6ae2<wbr>b5</a><br>
><br>
> ... on Red Hat and then send requests to the server using Apache<br>
> Benchmark...<br>
><br>
> > ab -n 1000 -c 8 localhost:8080/<br>
><br>
> I see the following output from the Undertow process:<br>
><br>
> Server started on port 8080<br>
><br>
> 1<br>
> 2<br>
> 3<br>
> 4<br>
><br>
> I believe this demonstrates that only 4 requests are ever processed in<br>
> parallel. I would expect 8. In fact, when I run the same experiment on<br>
> Windows I see the expected output of<br>
><br>
> Server started on port 8080<br>
> 1<br>
> 2<br>
> 3<br>
> 4<br>
> 5<br>
> 6<br>
> 7<br>
> 8<br>
><br>
> Any thoughts as to what might explain this behavior?<br>
><br>
> Best,<br>
><br>
> Matt<br>
><br>
> ______________________________<wbr>_________________<br>
> undertow-dev mailing list<br>
> <a href="mailto:undertow-dev@lists.jboss.org">undertow-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/undertow-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/undertow-dev</a><br>
<br>
______________________________<wbr>_________________<br>
undertow-dev mailing list<br>
<a href="mailto:undertow-dev@lists.jboss.org">undertow-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/undertow-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/undertow-dev</a></div></div></blockquote></div><br></div></div>