PFI Limitations - concurrency

 4 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Michael T
Basic Member
Posts: 7
Basic Member
    We have done some testing and find that we can only get about 8-12 threads to process concurrently, the rest of the workunits stay in ready status until an open thread is available.  We changed the max thread pool size to 20, then 50 but had no improvement.

    We are on an IBM i5, does anyone know how to increase the number of current thread that can be processed by the PFI server?

    I hear that there is a limitation of 8 threads and that this cannot be changed.  I have also heard that the SQL node has a max of 9000 records it can handle.  Can anyone validate these limitations?
    KK - Infor
    Veteran Member
    Posts: 61
    Veteran Member
      #1 We have the similar issue. There is ProcessFlow Server Maximum Thread Pool Size in pfserv config (default set to 4)
      We'll be increasing this step-by-step on our servers and see the impact.
      Would love to see how others handle this limitation.
      John Henley
      Posts: 3353
        What types of flows are you running? Are they taking too long to execute and creating blocked threads. Excuse my perhaps academic pontificating but threading is overrated as a solution to poor performance (if you'd like me to elaborate I will).

        I will have to look at some notes, but I recall some connection pooling options for the PF engine which might help. Have either of you looked at those?

        Are both of you on LSF9?=
        Thanks for using the LawsonGuru.com forums!
        John
        KK - Infor
        Veteran Member
        Posts: 61
        Veteran Member
          @John,
          I have a few flows, scheduled and triggered ones.
          There's one custom trigger, which is a very basic flow to send out a notification. I have a custom load which triggers a few 100 WUs at a time. The issue is the number of concurrent threads PFlow executes.
          Yes, its LSF9

          @Michael,
          I did some research on this and yes you can increase the max pool size to 8 or 16. But it all depends on the machine configuration. Watch for memory/CPU usage when you are changing this parameter.
          We are going to bump it to 8 in our next maintenance window and see the impact.
          Michael T
          Basic Member
          Posts: 7
          Basic Member
            Trying to get back to this after getting distracted by other project tasks.
            We are on LSF9 on iSeries with plenty of memory and cpu.  I am having one of our tech support people capture logs and work with IBM to see if there is a configuration change that we need to consider.  Just waiting to hear back on what they find.