Who's Online
1 registered (Chris Abraham), 2 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
P11d's
by Chris Abraham
0 seconds ago
Oracle eBsuiness HRMS Trusted Recon Query Help
by CT
Today at 02:24 PM
Concurrent Request - running slow
by CT
Today at 12:48 PM
Pension Auto Enrolment
by delboy
Today at 12:13 PM
Oracle eBsuiness HRMS Trusted Reconcilaition Help
by Mani
Today at 07:35 AM
Element to recover value in balance on leaving
by jkavia
Yesterday at 11:04 AM
Assignment EIT not displaying in Self Service
by CT
Yesterday at 06:45 AM
Vehicle Mileage Setup
by Chris Abraham
21/05/12 12:24 PM
In which table is external learning data stored
by DMC
21/05/12 08:45 AM
Oracle Payroll and Cash Management
by Gus
20/05/12 11:27 AM
Top Posters (30 Days)
CT 40
delboy 39
Vigneswar Battu 15
pat.woodall 10
Mani 6
Gus 4
bcooper 4
Ryan 3
Jan 3
DMC 3
(Views)Popular Topics
Family Pack K issues thread 20170
CREATE_GRADE api returns:PLS-00306: wrong number o 15200
Still trying to locate... 13855
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 11907
Viewing Output of another user 10324
HR_PF.K RUP4 10298
Review of my Release 12 laptop 9747
Enhanced Retro & Release 12 9402
Adding a taskflow button to a form 9140
Family Pack K 7910
Topic Options
Rate This Topic
#6358 - 09/02/11 08:15 AM Multi-Threading
delboy Offline

veteran

Registered: 15/03/05
Posts: 597
Loc: Somewhere in Berkshire
Has anyone got any views on multi-threading to improve payroll performance. We are currently running on 4 threads but are looking to increase this. I have heard that depending on the infrastructure there is an optimum number above which you don't really gain anything.

Any info greatly received.

Delboy

Top
#6359 - 09/02/11 10:44 PM Re: Multi-Threading [Re: delboy]
MarinaH Offline
nothin' better to do

Registered: 21/08/05
Posts: 110
Loc: Away with the fairies
Hi Delboy,

We're currently running on 8 threads here and it has meant our payroll processesing, especially in the area of retropay, is much quicker.

Marina

Top
#6360 - 10/02/11 06:03 AM Re: Multi-Threading [Re: delboy]
delboy Offline

veteran

Registered: 15/03/05
Posts: 597
Loc: Somewhere in Berkshire
Thanks Marina,

I will give it a try.

Delboy

Top
#6362 - 10/02/11 11:52 AM Re: Multi-Threading [Re: delboy]
bcooper Offline

Guru
*****

Registered: 11/03/05
Posts: 1112
Loc: Earth, Europe, England, here
An awful lot depends on the hardware / OS platform that your DB is running on. There is no magic "one size fits all" when i comes to performance tuning / thread analysis etc. I guess this is why top-notch performance specialists charge such high fees for their services.

Certainly in the early days, the rule of thumb used to be max threads = 2 x number of CPU's on your server. Once you went past this number the overhead costs of time sharing /slicing between the threads was more than the gain you got by the larger number of threads.

Of course a lot also depends on what other loading is on your machine at payroll runtime. A well-known National Health Service tend to allocate processing to payroll runs out-of core hours (ie from 4pm through to 6am etc) in the assumption that there would be fewer people using the system then. This is a gross generalisation of the set-up there, but the basic premise is sound.

I would suspect you will need to experiment to see what number gives your a reasonable run time.

Hoe this helps smile

Regards

Barry
_________________________
HCM Aces is for sale! Please contact me if you are interested.
Also my random musings courtesy of Twitter

Top
#6363 - 10/02/11 11:56 AM Re: Multi-Threading [Re: delboy]
delboy Offline

veteran

Registered: 15/03/05
Posts: 597
Loc: Somewhere in Berkshire
Thanks Baz,

That is helpful.

Cheers,

Delboy

Top
#6364 - 10/02/11 04:57 PM Re: Multi-Threading [Re: delboy]
jmoyano Offline
hacker

Registered: 14/03/05
Posts: 97
Loc: Manchester
you also may need to considere additional RAM...
Regards,
Jairo

Top
#6365 - 11/02/11 12:22 AM Re: Multi-Threading [Re: jmoyano]
Gus Offline
nothin' better to do

Registered: 16/03/05
Posts: 146
Loc: Lapenne
Basically agree with Baz in terms of the max 2 Threads per CPU

You really need to identify what gains you want/need. The improvement is approximatley linear If 4 threads was 1 hr, 8 Threads would be 30 min..and so on although this is not absolute.

It is also highly likely you may have to carry out some other SQL tuning / Database tuning as well, as you may find you start to getting locking of records

The only way to find out is to try it and see.

Top
#6366 - 11/02/11 09:09 AM Re: Multi-Threading [Re: delboy]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1188
Loc: Bath
I seem to remember there was a big exercise around this at a well-known custodian of the nation's health up at Warwick about 8 or 9 years ago now...

I recall at the time there was a paper or similar, put together by Andy McGhee, which set out the things to consider when multi-threading payroll (and other processes). I am struggling to remember what I did yesterday, so you can guess how much of the content of that I retained. It might however be beneficial to have a root around in Metalink for it, or failing that try tapping the man up to see if he'll point you in its direction?

I have a somewhat sketchy image of having some pay action parameters to set, as well as ensuring that relevant tables are enabled for multi-threading *right from the outset*, e.g. PAY_ASSIGNMENT_ACTIONS, PAY_RUN_RESULTS, PAY_RUN_RESULT_VALUES etc - again, the details of that have escaped me all too easily.

Sorry, not a huge amount of use I admit.
_________________________
L&K
CT

Remember: A dog is for life, not just for Christmas... unless you're in Korea

Top
#6370 - 14/02/11 04:15 AM Re: Multi-Threading [Re: delboy]
Gus Offline
nothin' better to do

Registered: 16/03/05
Posts: 146
Loc: Lapenne
What's yesterday ??!!

Historically you did have to enable tables for mult-threading nowadays I am not sure you have to do it.

There are multitiude pay_actiona_parameters you can set

THREADS is the main one which tells apps how many threads you want to use.

Other paramters are used for error handling / tuning.

It can be worth setting LOW_VOLUME to 'Yes' irrespective of the size of the DB as it actually relates to the sql that is running I beleive is still 'Rule' for many of the main payroll processes

There a multitude of papers rolling around on the Parameters

Top
#6376 - 17/02/11 11:31 AM Re: Multi-Threading [Re: delboy]
bcooper Offline

Guru
*****

Registered: 11/03/05
Posts: 1112
Loc: Earth, Europe, England, here
Despite Oracle's best efforts to Deprecate RULE it is still used in a lot of the core payroll (and HR) processes smile
_________________________
HCM Aces is for sale! Please contact me if you are interested.
Also my random musings courtesy of Twitter

Top



Moderator:  CT, delboy 
Forum Stats
792 Members
48 Forums
1584 Topics
7663 Posts

Max Online: 67 @ 14/04/12 05:38 PM
Today's Birthdays
No Birthdays
Recent vacancies
Top Posters
CT 1188
bcooper 1112
delboy 597
Geoff Dixon 369
SBi 356
vkumar 223
kp_rapolu 213
cbrookes 197
Gavin Harris 163
Gus 146
May
Su M Tu W Th F Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31