> regex.c
>                          RegexTest.java    MHz
> 0.01s  0:13.17  99.6%    5569 ms           1503
> Solaris x86       6.28u  0.00s  0:06.29  99.8%
>    2571 ms           2813
> ux i686        0.704u 0.004s 0:00.70 100.0%    5587
> ms           2079.593
> 
> Summary:
> - Java Regex on Solaris is ~ 2.5x faster than the
> native Impl.
>       (hello?)
> Java Regex on Linux   is ~ 8x slower than the native
> Impl.
> - performance is more or less directly related to
>  System CPU Freq.
> - Linux native regex Impl. is ~ 12.5x faster than
>  Solaris native
> regex impl. (correlated to CPU freq., no big
>  difference whether
>      compared with x86 or sparc)
> Solaris native regex impl. really sucks!
> 
> Solaris driven maschines are one of the worst
>  choice to use e.g.
>    for regex driven mail filters!
> y comments or ideas, how to get better performance?
>  Already tried
> everal compiler settings and ancient GNU regex source
> without success.
> 
> More information about test environments (HW/SW) and
> example progs used
> are available via:
> http://iws.cs.uni-magdeburg.de/~elkner/regex/
> 
> Regards,
> jel.
> -- 
> Otto-von-Guericke University
>     http://www.cs.uni-magdeburg.de/
> rtment of Computer Science   Geb. 29 R 027,
> Universitaetsplatz 2
> 39106 Magdeburg, Germany         Tel: +49 391 67
> 12768
> _______________________________________________
> opensolaris-code mailing list
> [EMAIL PROTECTED]
> http://mail.opensolaris.org/mailman/listinfo/opensolar
> is-code

Just out of curiosiry and even though I know this isn't going to be
apple-to-apple comparison but I just compiled the regex.c at
a RHEL 7.2 + Intel 2.5 GHz + 1GB RAM + gcc 2.96 and at
a S10 FCS i386 + Intel 2.0 GHz + 1GB RAM + SS11 and
ran them with the same termcap file that I got from S10 FCS
system (and they are both running with C locale):

Here are the result using csh time (after I fresh rebooted the systems
and doing nothing else), each is a median one after 10 runnings:

time ./regex-rhel7.2 /tmp/termcap
2.170u 0.000s 0:02.18 99.5%     0+0k 0+0io 97pf+0w

time ./regex-s10-i386 /tmp/termcap
2.0u 0.0s 0:02 70% 0+0k 0+0io 0pf+0w

Note that S10 is running on a PC with 500MHz slower CPU.

Could anyone try the latest RHEL or any other recent Linux distros
if you have them handy?

Ienup
 
 
This message posted from opensolaris.org
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to