-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
5.0
-
None
-
x86
-
linux_suse_sles_8.2
SecureRandom class takes a longer time to generate PRNG on Linux-Amd -SuSE 8.2 systems.
Ideally, this process of PRNG should be faster on a faster machine & slower on a slower machine.
But below are some timings on a different os/hw for generating 20000 random bits, & checking their randomness as per FIPS 140-1.
j2sesqe.india.sun.com - Solaris9-Sun-Fire-280R-UltraSPARC-III+ - Time 2 sec
jbackupblr.india.sun.com -Solaris10-Ultra-5/10-UltraSPARC-IIi - Time 5 sec
jdsn10.india.sun.com - Linux RH-AS3.0 Intel P4 CPU 2.6GHz - Time 2 sec
jlab324.india.sun.com - Linux-SuSE 8.2-Amd-Athlon HX-1.3 GHz - Time 11 min
jdsn8.india.sun.com - WinXP Pro-Intel P4 CPU 2.4 GHz - Time 2 sec
I have attached the source file for testing on any other machines & for debugging & another bug details http://hestia.sfbay.sun.com/cgi-bin/bug?id=5046409, which is the source for this bug.
Ideally, this process of PRNG should be faster on a faster machine & slower on a slower machine.
But below are some timings on a different os/hw for generating 20000 random bits, & checking their randomness as per FIPS 140-1.
j2sesqe.india.sun.com - Solaris9-Sun-Fire-280R-UltraSPARC-III+ - Time 2 sec
jbackupblr.india.sun.com -Solaris10-Ultra-5/10-UltraSPARC-IIi - Time 5 sec
jdsn10.india.sun.com - Linux RH-AS3.0 Intel P4 CPU 2.6GHz - Time 2 sec
jlab324.india.sun.com - Linux-SuSE 8.2-Amd-Athlon HX-1.3 GHz - Time 11 min
jdsn8.india.sun.com - WinXP Pro-Intel P4 CPU 2.4 GHz - Time 2 sec
I have attached the source file for testing on any other machines & for debugging & another bug details http://hestia.sfbay.sun.com/cgi-bin/bug?id=5046409, which is the source for this bug.
- relates to
-
JDK-6708214 java.security.SecureRandom.nextBytes() takes a long time.
-
- Closed
-