-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Sumit,

On 7/15/19 08:05, Sumit Bhardwaj wrote:
> On 7/12/19, Christopher Schultz wrote:
>> Are you using JSSE or OpenSSL for crypto?
> 
> JSSE. will there be any difference with openssl?

Yes. Especially with some cipher suites, JSSE will use software-based
crypto while OpenSSL will use hardware-acceleration.

>> How are you measuring CPU usage?
> using jconsole/jvisualvm
> 
>> Have you tried to correlate that CPU usage with user-request
>> load?
> 
> I am not sure if I understood the question, but I ran similar load
> for over a week on my app with only http, cpu usage was quite
> less(<10%) for the whole week where as with https, it was 20% for a
> day then jumped to 40% and then kept growing.

So the CPU usage increases and never decreases? s it not to with
actual active load?

Can you please take a few thread dumps several seconds apart and find
threads that seem to be hanging around without making any progress?

>> Encryption isn't free, though modern CPUs are very good at 
>> optimizing it
> 
> Is there a way to control/reduce the CPU usage by some
> configuration changes?

No. But it seems like either something is missing from your analysis
or something is very wrong in your environment.

Thanks,
- -chris
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl0svkwACgkQHPApP6U8
pFgh2Q/+Pntq6eICUHRZxDimtylPBTCC0Z81cIlK82nfuz7A1RQ72XEkrgU97WHb
kOGgD/AGm9sWsM7X1r2knWrMtirty25F304igTPQt7e62VimOiKX1qauy9yWF7uX
apqcSchGvqWUuTRcbW0enqV4LShCd1a1Nimtf92tIcDzuUmbfpCLZoZYMWAxliuD
OY9O3iMiHtwcKBvbMIApqo7EdV7Mx4jJDUjBwgY+zw6/+prDQ77VHlW5/9EuAile
oIHdd9qbK1Tp18gUYJg+RifzxuDn7hrEYK2xEEhSK3YajDAC3QUdB+jUdxZUC9oN
CP5d/OGO0baQaCuhcXkAFfDKXjyz3oEIAZJ8Bhg1nGbESa9Xb/DZOhMgPfgy8fdr
11YxcLS7YhhemEs0ZR0oYtiGF4Bn8KpLW9CX0hKTA4ZYGcr61+BhobClOT0Atsoi
JmB2MowL0FwhKrJiMTueQ8MR0a2wNgeV77yECcvxNxTPnMKg1IWFxQO3gJtsZcPF
AcEFliWEnihezh1wZLZfCTGALKMtQwiJ5jCDsHX7CFCKNcBw2tnfsl+8EYIFfyj1
ZRtWVMvJ04+ADhKtWPLEmOTMecPATbpg9uUC1B5YqLT7ak6xarjZeHfKVRmcbazk
9WiEwZBiLhAgaz+o9b64KZQ7RuAGPxMxROZlDOydh7KVdf7QPxY=
=+9SX
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to