How to Fix Uneven HTTP Load Balancing in SAP PI


Starting from SAP NetWeaver 7.1, the Java stack does not have a dispatcher node as it was the case with earlier release. The job of the dispatcher--load balancing the incoming HTTP requests to J2EE server nodes--is now taken over by ICM. The ICM is designed to load balance http sessions (stateful http calls), which is not optimal for applications like PI which primarily uses stateless calls. The result is decreased message throughput.

In order to optimize load balancing on SAP PI (7.1 to 7.3) add the parameters below in the SAP instance profile:

j2ee/HTTP/request_strategy = STATELESS
j2ee/HTTP/request_STATELESS_0=0,7,2,0,1,0
j2ee/HTTP/request_STATELESS_1=0,3,3,0.9,0.01,1
j2ee/HTTP/request_STATELESS_2=0,2,6,1,1,0.01
j2ee/HTTP/request_STATELESS_3=0,5,2,0,0.01,1
j2ee/HTTP/request_STATELESS_4=1,1,0,0,2,0.5
j2ee/HTTP/request_STATELESS_5=1,3,1,0,1,0.01
j2ee/HTTP/request_STATELESS_6=1,6,1,0,20,0.5
j2ee/HTTP/request_STATELESS_7=1,4,3,0,0.0001,0.0001

Restart ABAP+Java instances to activate these changes.

Comments

Popular posts from this blog

OS/DB Migration - CMD. STR, TOC, EXT, R3load, DDLDBS.TPL and more

Fixing Inconsistent Table - Table activation fails due to inconsistency between DD and DB

301 Redirect Using SAP Web Dispatcher