Re: Tomcat 8/NIO performance discrepancies

2017-06-12 Thread Christopher Schultz
sers@tomcat.apache.org> Subject: Re: Tomcat > 8/NIO performance discrepancies > > On 12/06/17 20:27, Piyush Kumar Nayak wrote: >> Thanks, Mark. I have been testing with 100 concurrent users. >> While the executor had the maxThreads set to 150, the connector >> wit

RE: Tomcat 8/NIO performance discrepancies

2017-06-12 Thread Piyush Kumar Nayak
ers@tomcat.apache.org> Subject: Re: Tomcat 8/NIO performance discrepancies On 12/06/17 20:27, Piyush Kumar Nayak wrote: > Thanks, Mark. > I have been testing with 100 concurrent users. While the executor had the > maxThreads set to 150, the connector without the executor was left to the

RE: Tomcat 8/NIO performance discrepancies

2017-06-12 Thread Piyush Kumar Nayak
ers@tomcat.apache.org> Subject: Re: Tomcat 8/NIO performance discrepancies On 08/06/17 14:42, Mark Thomas wrote: > I'll look at BIO vs NIO next. At the sort of request rates and response sizes we are talking about, we are a long way from real-world applications and the differences you see be

Re: Tomcat 8/NIO performance discrepancies

2017-06-12 Thread Mark Thomas
sage- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Thursday, June 08, 2017 7:13 PM > To: Tomcat Users List <users@tomcat.apache.org> > Subject: Re: Tomcat 8/NIO performance discrepancies > > On 07/06/17 22:28, Mark Thomas wrote: > > > >> I'm

RE: Tomcat 8/NIO performance discrepancies

2017-06-12 Thread Piyush Kumar Nayak
: Thursday, June 08, 2017 7:13 PM To: Tomcat Users List <users@tomcat.apache.org> Subject: Re: Tomcat 8/NIO performance discrepancies On 07/06/17 22:28, Mark Thomas wrote: > I'm still seeing significant differences in BIO with and without an > executor. > > I'm still looking for

Re: Tomcat 8/NIO performance discrepancies

2017-06-08 Thread kmaxwilliams43
Envoyé de mon smartphone BlackBerry 10.   Message d'origine   De: kmaxwilliam...@gmail.com Envoyé: vendredi 9 juin 2017 00:12 À: Astrat Goe; Tomcat Users List Objet: Re: Tomcat 8/NIO performance discrepancies Gvhuf Envoyé de mon smartphone BlackBerry 10.   Message d'origine   De: Astrat Goe

Re: Tomcat 8/NIO performance discrepancies

2017-06-08 Thread kmaxwilliams43
Gvhuf Envoyé de mon smartphone BlackBerry 10.   Message d'origine   De: Astrat Goe Envoyé: mercredi 7 juin 2017 21:29 À: Tomcat Users List Répondre à: Tomcat Users List Objet: Re: Tomcat 8/NIO performance discrepancies > On Jun 8, 2017, at 4:28 AM, Mark Thomas <ma...@apache.org&

Re: Tomcat 8/NIO performance discrepancies

2017-06-08 Thread Mark Thomas
On 08/06/17 14:42, Mark Thomas wrote: > I'll look at BIO vs NIO next. At the sort of request rates and response sizes we are talking about, we are a long way from real-world applications and the differences you see between BIO and NIO are largely down to the differences between doing a blocking

Re: Tomcat 8/NIO performance discrepancies

2017-06-08 Thread Mark Thomas
On 07/06/17 22:28, Mark Thomas wrote: > I'm still seeing significant differences in BIO with and without an > executor. > > I'm still looking for the root cause. I have noticed that without an > executor I see far fewer keep-alive requests than I'd expect. That could > explain the difference,

Re: Tomcat 8/NIO performance discrepancies

2017-06-07 Thread Astrat Goe
HTTP sampler that I configured >> with JMeter, and it is not set in my jmeter.properties file. So, going by >> JMeter's documentation, Apache HttpComponents HttpClient 4.x. should be in >> use. >> >> Thanks >> Piyush. >> >> -----Original Me

Re: Tomcat 8/NIO performance discrepancies

2017-06-07 Thread Astrat Goe
HTTP sampler that I configured >> with JMeter, and it is not set in my jmeter.properties file. So, going by >> JMeter's documentation, Apache HttpComponents HttpClient 4.x. should be in >> use. >> >> Thanks >> Piyush. >> >> -----Original Me

Re: Tomcat 8/NIO performance discrepancies

2017-06-07 Thread Astrat Goe
HTTP sampler that I configured >> with JMeter, and it is not set in my jmeter.properties file. So, going by >> JMeter's documentation, Apache HttpComponents HttpClient 4.x. should be in >> use. >> >> Thanks >> Piyush. >> >> -----Original Me

Re: Tomcat 8/NIO performance discrepancies

2017-06-07 Thread Mark Thomas
--Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Wednesday, June 07, 2017 8:27 PM > To: Tomcat Users List <users@tomcat.apache.org> > Subject: Re: Tomcat 8/NIO performance discrepancies > > On 06/06/17 09:10, Piyush Kumar Nayak wrote: >>

RE: Tomcat 8/NIO performance discrepancies

2017-06-07 Thread Piyush Kumar Nayak
be in use. Thanks Piyush. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, June 07, 2017 8:27 PM To: Tomcat Users List <users@tomcat.apache.org> Subject: Re: Tomcat 8/NIO performance discrepancies On 06/06/17 09:10, Piyush Kumar Nayak wrote: > Tha

Re: Tomcat 8/NIO performance discrepancies

2017-06-07 Thread Mark Thomas
On 7 June 2017 17:33:02 BST, Christopher Schultz wrote: >Mark, > >On 6/7/17 10:57 AM, Mark Thomas wrote: >> I do see odd behaviour with BIO + executor. It locks up very >> easily. It appears that the client isn't closing the connections. I >> don't see this problem

Re: Tomcat 8/NIO performance discrepancies

2017-06-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 6/7/17 10:57 AM, Mark Thomas wrote: > I do see odd behaviour with BIO + executor. It locks up very > easily. It appears that the client isn't closing the connections. I > don't see this problem with BIO but that may be related to how BIO >

Re: Tomcat 8/NIO performance discrepancies

2017-06-07 Thread Mark Thomas
On 06/06/17 09:10, Piyush Kumar Nayak wrote: > Thanks, Mark. > > Here are some additional details. Thanks. These help a lot to make sure we are testing (at least roughly) the same thing. > I am using Apache JMeter to inject load. I am using a simple hello-world JSP. > > The test JMX simulates

RE: Tomcat 8/NIO performance discrepancies

2017-06-06 Thread Piyush Kumar Nayak
, 2017 7:59 PM To: Tomcat Users List <users@tomcat.apache.org> Subject: RE: Tomcat 8/NIO performance discrepancies Violeta, The data you see in an average of 3 samples of 180 second duration each. Missed out on mentioning it before, but the thoughput is in no. of requests per second, a

RE: Tomcat 8/NIO performance discrepancies

2017-06-06 Thread Piyush Kumar Nayak
...@apache.org] Sent: Tuesday, June 06, 2017 7:09 PM To: Tomcat Users List <users@tomcat.apache.org> Subject: Re: Tomcat 8/NIO performance discrepancies Hi, 2017-06-06 11:10 GMT+03:00 Piyush Kumar Nayak <pna...@adobe.com.invalid<mailto:pna...@adobe.com.invalid>>: > > Thanks, M

Re: Tomcat 8/NIO performance discrepancies

2017-06-06 Thread Violeta Georgieva
> Throughput > > ART > > Tomcat 7.077 > > 38600 > > 2 > > 42664 > > 2 > > 57104 > > 1 > > 43660 > > 2 > > Tomcat 8.0.44 > > 38585 > > 2 > > 44752 > > 2 > > 63000 > > 1 > > 44341 > > 2

RE: Tomcat 8/NIO performance discrepancies

2017-06-06 Thread Piyush Kumar Nayak
.5.14 N/A 45600 1.67 N/A 46000 1.67 Regards, Piyush. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, June 06, 2017 12:50 PM To: Tomcat Users List <users@tomcat.apache.org> Subject: Re: Tomcat 8/NIO performance discrepancies On 06/06/17 07:30

Re: Tomcat 8/NIO performance discrepancies

2017-06-06 Thread Mark Thomas
On 06/06/17 07:30, Piyush Kumar Nayak wrote: > We have been testing different connectors of tomcat for performance. > We have tested the following server versions: > > - Tomcat 7.077 > > - Tomcat 8.0.44 > > - Tomcat 8.0.32 > > - Tomcat 8.5.14 > > with the