Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Re: Performance tuning guide?

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Re: Performance tuning guide?


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: Richard Frovarp <>, "" <>
  • Subject: [grouper-users] Re: Performance tuning guide?
  • Date: Tue, 8 Jan 2019 00:10:28 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:lvwfaBM5x/n/Etbt3sMl6mtUPXoX/o7sNwtQ0KIMzox0K/z5psbcNUDSrc9gkEXOFd2Cra4c26yO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglUhzexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Qiqp4bt1RxD0iScHLz85/3/Risxsl6JQvRatqwViz4LIfI2ZMfxzdb7fc9wHX2pMRsZfWTJcDIOgYYUBDOQBMuRZr4bhqFQDtgGxCRWwCO711jNEmmH60Ksn2OohCwHG2wkgEsoAvHrWrNT0NbkdUfqtwKLV0zjDb+lW2Tbm6ITGbxsspvSMUq5wccvRyEggCRnFg06RqYz+IzyZzPkNs3CF4OpmU+KjkXAopBxsojW2wMonl4rHhpoNx1za7yp13Js5KNilREJmfNKpFZVQui6GO4dqR84vQX9ntSYkxrADvJO3YjQGxZs/yxLCd/CLb5KE7g/+WOqLPDt1hW5pdKihixu870Ss0uP8Wde33VpWqydIl8TDu3MX2BHS78WIVPVw8luk1DmVyQ/T5P1ILEU3mKXFMJEswbg9nYcJv0vZBC/5gkD2gbeWdko6/uio7PzqbK36q5GbK4N5ihjyP7kslcChGOg4NRMBUHaB9eS7yb3j4Vb2QLJXjv0wj6bVqojaJd4cpq6lHQBazpoj6xe4DzegytgYmmQHLE5BeBKAiIjpOEvCL+z/Dfe6m1iskTFryO7aPrD5HJnCNGTPnKrkcLpg9kJQ1Q8+zd5Q6p5IFr0MJfD+VVHxudDGCxI0NhK4z/roBdll04MRQ2OPAquXMKPItl+I4/oiI+yQa48VuDf8KuYq5+T1gH84gl8SYbOl3YYPaH+mGPRmJV+VbmTxjdccCWsKpBYxTPT2iF2eVj5ef3myX7g75jEmEIKpE53DSpmwgLyawii7BIZWa3tCClCNCnfoa56EV+kWZCKTJM9hjiILVaKnS4A/yRGiqhX2xKR6IerJqWUkssfZ1dN17vff3T8o8iJ9FdzVh3uMRGF9hG9OSSUxwqlluWR7xkyel6V0nqocXZZc/fRUSgogcIPHwvZhI9H0Rg/beNqVEhCrTsjsSWU+VNUs29IUJltmFs+5phHFwyewBbIJzfqGCIFioYzG2H2kbeZs2XvckOEKj0MnWYEHYWithr9t+hL7BpXC1ViBmqCsM6kQwXiepy+40WOSsRQAA0ZLWqLfUCVaPxOO946r717eT7KoFbUsOxdAzsjHMKZRd9n1lgsaFuz7NoHYZGS80yerCBCEy6nETbKien5VnUC/QFMBjxhV+H+HMQYkASL0pmneHS5jD3rueEiq7PFzrnX9Q0MpnEmH
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

I dont think thats how it works but Shilen can confirm


From: <> on behalf of Richard Frovarp <>
Sent: Monday, January 7, 2019 5:58:27 PM
To:
Subject: [grouper-users] Re: Performance tuning guide?
 
Possibly increasing max connections in MariaDB, but if it is going for 20k threads, that's a little crazy.

Yes, I'm doing a group list. It's the other setting that makes me think it is multiplying out:


# if should use threads in the loader for each group in a group of groups
loader.use.groupThreads=true

So since that is true, I think it is using the groupThreadPoolSize for each department for instance. Which even for departments, 90 departments * 20 groupThreadPoolSize equals 1,800 connections. I'm guessing that I'm going to bottleneck on something else even if I up MariaDB to 2k connections.


On 1/7/19 4:52 PM, Hyzer, Chris wrote:

You can decrease the thread pool size if you want.  But maybe you should also increase the max_connections var in mariadb...

 

The docs in the config say its one pool for each list of groups job, is that the type of job you are running?

 

# number of threads to use for each list of groups job (not shared among jobs)

# {valueType: "integer", required: true}

loader.groupThreadPoolSize=20

 

 

Thanks

Chris

 

-----Original Message-----
From: On Behalf Of Richard Frovarp
Sent: Monday, January 07, 2019 5:12 PM
To:
Subject: [grouper-users] Performance tuning guide?

 

Is there a performance tuning guide somewhere. I know to kick up the

memory offered to Tomcat. That helped out a good amount for the UI.

 

In particular at the moment I'm having trouble with the loader. I'm

trying to load in our legacy groups for lack of a better term, and it's

firing up way too many threads. We have around 1k legacy groups. I can

see from jconsole that it's easily starting over 200 pool threads. Then

they start to time out, and MariaDB starts to complain about too many

connections. I see in the loader config file reference to

loader.use.groupThreads, and loader.groupThreadPoolSize, but not

entirely sure how they work.

 

loader.use.groupThreads means that it is trying to use threads for each

of my 1k groups? And loader.groupThreadPoolSize means it is trying to

use 20 threads for each group? So is it trying to start 20k threads?

That would seem to indicate that the right option would be to set

loader.use.groupThreads to false. Or is there something else? I've hit

the same problem trying to load departments, and we're a mid-sized school.

 

Is there anything else to performance tune the system?

 

Thanks,

 

Richard

 





Archive powered by MHonArc 2.6.19.

Top of Page