[antlr-interest] Re: Heavy Performance degradation on linux

Ric Klaren ric.klaren at gmail.com
Thu Dec 16 02:25:17 PST 2004


On Thu, 16 Dec 2004 00:05:09 -0000, rmsanjiv <rmsanjiv at hotmail.com> wrote:
> Statically linked library runs pretty fast similar to shared library
> on solaris. I wonder why this issue is specific to only shared library
> on linux. Any clue?

First there's the issue that for -fPIC usually a number of
restrictions are put on the generated code to make it relocatable. For
some architectures this is good, for some others it is bad. It could
also be due to some custom patches on the kernel you use (SELinux
maybe?) I'm personally not aware that these give a slowdown but I
could suspect it.

Without any more information on the compiler you use or the kernel I
cannot say anything.

Cheers,

Ric


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the antlr-interest mailing list