I am sorry a typo 

 

RHEL6 nake should be

[r...@djt_10_47 ~]# time ./a.out 1 10000 | head -n 10000 | md5sum  

51722dcdf339f131a89eb2dc106d8dbe  -

 

real    0m5.776s

user    0m5.765s

sys     0m0.013s

 

the bad checksum 'caba4fd0bae809e634b5cd8acd3424f2 ' is made by older source
code.

 

  Regards

  Kirby Zhou

 

From: Kirby Zhou [mailto:[email protected]] 
Sent: Sunday, August 08, 2010 6:05 PM
To: 'Red Hat Enterprise Linux 6 (Santiago) Beta releases discussion
mailing-list'; '[email protected]'
Subject: A simple program runs under KVM faster than under nake PC.

 

Both RHEL5/RHEL6 encounter the same situation.

Is there any potential bug?

 

]# g++ testaes.cpp -lcrypto -lz

 

RHEL6 nake

[r...@djt_10_47 ~]# time ./a.out 1 10000 | head -n 10000 | md5sum

caba4fd0bae809e634b5cd8acd3424f2  -

 

real    0m5.778s

user    0m5.774s

sys     0m0.014s

 

RHEL6 KVM

[r...@djt_10_199 ~]# time ./a.out 1 10000 | head -n 10000 | md5sum

51722dcdf339f131a89eb2dc106d8dbe  -

 

real    0m3.272s

user    0m3.266s

sys     0m0.032s

 

RHEL5 nake

[...@djt_10_48 ~]# time ./a.out 1 10000 | head -n 10000 | md5sum

51722dcdf339f131a89eb2dc106d8dbe  -

 

real    0m5.786s

user    0m5.780s

sys     0m0.008s

 

RHEL5 KVM

[...@djt_10_192 ~]# time ./a.out 1 10000 | head -n 10000 | md5sum          

51722dcdf339f131a89eb2dc106d8dbe  -

 

real    0m3.243s

user    0m2.864s

sys     0m0.387s

 

 

 

  Regards

  Kirby Zhou

 

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to