CL_DMC_LOAD_DISTRIBUTION - Predefine batch processes using load numbers

Vendor Master (General Section)   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Functionality

This class has been developed in the Migration Workbench(MWB) with the aim of determining thenumber of batch processes to be started in an MWB computer for data transfer for a specific subproject.

Relationships

To calculate this number, the system divides the load numbers S for each of the processesRead, Write and Convert by the highest existing load number M. (The load numbers forthe Convert process get totaled if the given subproject has multiple MWB computers assigned. Afterwards, the system calculates the load factor Lby multiplying the smallest quotient Q by the load parameter P. Next,the load numbers for the individual MWBcomputers are multiplied by this load factor. The resulting product of load factor and load numbersequals exactly the number of batch processes to be scheduled for the data transfer in the participating MWB computers.

This approach ensures that the computer with the lowest performance defines the throughput for all applicationcomputers that participate in the data transfer. In addition, it ensures that this computer works atfull load, while all other computers request only the work processes they need in accordance with the defined lowest relationship Q for the load parameter P.

Example

You are planning to do the data transfer for a subproject using the computers R(4) for the Read process,the computer W(8) for the Write process and the computers C1(10) and C2(2) for the Convert process.The numbers in brackets indicate the corresponding load numbers. The load numbers for the computersfor the Convert procedure are totaled. The result M = 12 equals the highest load number for all processes.Min(S/M) -> { Q(R) =4/12, Q(C) = 12/12, Q(W) =8/12 } returns Q(R)=1/3 as smallest quotient and with P =1.5 a load factor of L = P * Q(R) =0.5 as the multiplier for the load numbersof the MWB computers. Consequently, thenumber of batch processes to be scheduled for the data transfer for the given subproject is = L * 10 = 5 for the computer C1 and = L * 2 = 1 for the computer C2.

Notes

  • The load parameter P is entered in the table DMC_RT_PARAMSunder the name of RT_SEMAPHORE_MULTIPLIER.If this entry is missing, the quotients are multiplied by the default value P = 1 .5.
  • If the product L * S is greater than the number of batch processes defined for the given MWB computer, the content of the profile parameter rdisp/wp_no_btc(RZ11) overwrites the calculated load value.
  • The methods of the class CL_DMC_LOAD_DISTRIBUTIONare called in the include DMC_MONITOR_JOBSof the program DMC_MONITOR, where theyalso process the functions triggered in dynpro 0600.





Addresses (Business Address Services)   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.


Length: 4678 Date: 20120526 Time: 135549     triton ( 198 ms )