in reply to Multithreaded process on AIX slow

Does smtctl say that simultaneous multithreading is on? I think it defaults to on, but it could be off.

Replies are listed 'Best First'.
Re^2: Multithreaded process on AIX slow
by scunacc (Acolyte) on Nov 13, 2013 at 23:44 UTC
    On, yes.
      If it's easy to test, try setting these environment variables before you kick it off:
      export AIXTHREAD_SCOPE=S export SPINLOOPTIME=500 export YIELDLOOPTIME=100 export MALLOCMULTIHEAP=1
      These are what are recommended for websphere (a java app server), which is, at a high level, doing something similar. All mostly targeted at reducing contention for deadlocks, mutex, etc.

        Hi - I did reply to that y'day but it didn't get posted for some reason.

        Thanks for the suggestions there. I'll look see if there are any appropriate ENV vars that influence things too. Appr.

        Kind regards

        Derek

        Well, I tried setting the env vars and rerunning with no difference. So, I guess I'll look inside the modules next.

        Kind regards

        Derek