cancel
Showing results for 
Search instead for 
Did you mean: 

Work Process

Former Member
0 Kudos

Hi,

How can I found out if I need to add more dialog WP and Background WP?

For Background WP, is the delay column in SM37 give you indication?

/regards,

Eida

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Eida,

There is a simple way of calculating for default/intial startup value of dia and background

workprocess.

Number of Dia wp = 4* No. of CPUs(physical) present

Btc wp= 2* No. of CPUs

That means if there are 4 the Dia wp= 20, Batch wp= 8, rdisp/wp_no_vb =5 ,

rdisp/wp_no_vb2= 2, rdisp/wp_no_spo=1.

One more thing you can do to resize the above values is:

Check ST03N transaction and see wether the Wait time for Dialog and Batch Process is high. It means if its contributing more than 40% of the total response time then we could

think about increasing the number of Workprocess.

It all depends on how the system behave generally and wether the endusers are complaining about it.

Hope you could work it out!!

Please provide your input!!

Thank you,

Tilak

Former Member
0 Kudos

the 4xCPU thing was only for Windows and went out a while ago, it was based on Context switches but I believe CPU's are way fast enough to cope with these now.

For Batch - go to RZ20 - SAP CCMS Monitor Templates - Background processing (double click) - System Wide - Background - Background Service - System Wide free B Wp's....Select this node and click on the button that looks like two pieces of jigsaw, in here you will see values for the last 24 hours, single click on any hourly value and click the button that looks like a bar chart to get a graphical result.

This will show you how many Batch have been free in the last 24 hours. If you want to start keeping this data for longer analysis you can add MTE class R3BPSystemWideFreeBPWP into RZ23N..... if you need help with this then let me know but as it will take additional work I would like some points, I'm about to give up on this performance column because people just are not rewarding good advice.

For DIA you should always have 1 WP with hardly any CPU shown against it in SM50 (click the CPU clock button) and also you must have as many DIA as all the other WP's on the instance added together. There is a note on this aspect, let me know if you want it dragged out

Former Member
0 Kudos

Hi,

You you can refer SAP Notes:

39412 How many work processes to configure

108799 How many spool work processes for each instance

One more thing to be considered:

Operation mode switch can be recommended only if we know how your business works.

Info on *Operation Modes😘

Operation modes actually gives the flexibly to adapt the system

configuration to varying requirements,maximizing the use of available

system resources.We can define operation modes to suit specific system

requirements, for example,to provide additional dialog or background

processing resources during a particular period of time without having

to restart the system.

Operation modes define:

·The number of work processes used for each service in the instance

·The times that the services are available

Operation modes support:

·24 hour uninterrupted system operation

·Automatic switching of work process types

We can define separate operation modes for day and night operation.So

we can have two modes,Day and Night mode.This means we can guarantee

response times for important data entry transactions during the day,

and use more work processes at night for job processing.

Between 6:00 and 20:00, the system will be predominantly used for the

dialog processing(Day Mode).Outside that time,system resources are

primarily required for background jobs(Night mode).Hence we can

reconfigure the system dynamically at set times by switching operation

modes and thus avoid the disadvantages of a system restart.But

currently we need not provide any recommendation regarding the

operation mode. can refer SAP Note:

Please let me know if i replied your query!!!

Thank you,

Tilak

Former Member
0 Kudos

When you say the system must have at least 1 Dialog WP free. Is this true for all the time?

There is an instance where everyone is doing things at the same time which resulted all the WP are occupied. So, is the conclusion is to add an extra WP eventhough it just happen not that often?

Edited by: Eida Hanafiah on Jun 18, 2008 2:53 PM

Former Member
0 Kudos

1 dialog work process should ideally have little access is a fair assumption. Of course there may be times when all WP's are filled for very short periods of time but this should not cause long wait times to show in STAD/ST03.... Long wait times are also an indication of a performance problem so you need to identify performance issues before upping the number of WP's.

Performance is unfortunately sometimes a little complex and it is easy to assume symptoms are causes

Answers (0)