in reply to Re^2: AIX vs. Linux memory use
in thread AIX vs. Linux memory use

Yes, I do recommend that. I haven't run any tests lately, but historically (early v5.8) threaded Perl has been slower than non-threaded Perl even when not using threads.

-sam

Replies are listed 'Best First'.
Re^4: AIX vs. Linux memory use
by scunacc (Acolyte) on Jan 29, 2007 at 21:49 UTC
    Well, I've narrowed it down to ......

    ...

    langof()

    in

    Lingua::Identify

    Called from

    Text::Compare
    If I set the lang to 'en' in Text::Compare's get_words() subroutine, it runs at a steady ~24MB on Linux. Of course, the metric is now different, since it's not "correctly" (as if it ever really was) identifying the languages, but for my app that's not really a problem, since I don't care. As long as it doesn't skew the results badly, - and since this isn't the only metric I'm using, it's not looking that bad.

    It's main effect is to cause the matches I get back to indicate more similarity than before. And, actually, I'd rather have more false positives - so it doesn't hurt too much.

    I'll talk to the Lingua people next I think now....

    Thanks for everyone's suggestions.

    Kind regards

    Derek.

Re^4: AIX vs. Linux memory use
by scunacc (Acolyte) on Jan 29, 2007 at 21:39 UTC
    Dear Sam,

    Thanks - that's useful to know. Wasn't sure if that was true with ithreads or not. I'll test that. Any idea on %age?

    Kind regards

    Derek.