> Im using the latest version of Cryptix with JDK 1.3.1_01. When ever I
> encrypt a message with a key the cpu utilization spikes about 10%. Ive
> tested this on Windows 2000 as well as Solaris 8. Is this normal?
> > Im using the latest version of Cryptix with JDK 1.3.1_01. When ever I
> > encrypt a message with a key the cpu utilization spikes about 10%. Ive
[quoted text clipped - 4 lines]
>
> --Mike Amling
Is there any way to lower the CPU utilization? I would rather it take
a few hundred milliseconds more then to hog the CPU.
Roedy Green - 05 Mar 2004 07:33 GMT
>Is there any way to lower the CPU utilization? I would rather it take
>a few hundred milliseconds more then to hog the CPU.
Just lower the priority of the thread. You will still get 100%
utilisation,but the encryption will get last kick at the cat.
--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Pat Farrell - 06 Mar 2004 05:23 GMT
>> For symmetric encryption using AES, expect less than a microsecond of
>> CPU time per byte. For public key encryption, it's much higher.
>
>Is there any way to lower the CPU utilization? I would rather it take
>a few hundred milliseconds more then to hog the CPU.
For symmetric, nice the thread.
For RSA, not a prayer, it is too expensive. The solution,
if you care, is to not use RSA.
Pat http://www.pfarrell.com/prc/