Tuning Synchronization for Replication Payloads

If your applications synchronize over the replication payload protocol, tune your production environment after all components have been deployed and started.

  1. Isolate the monitoring and domain logging databases from the cache server.
    This isolation only needed if you are using monitoring and domain logging in the production system, and want to reduce any database or storage contention. See Isolating the Monitoring and Domain Logging Databases from Cache and Messaging Databases.
  2. Disable all enabled monitoring profiles that currently exist.
    Normally, monitoring in a cluster configuration occurs at two levels — the cluster and the domain. SAP recommends that you turn off monitoring when assessing performance.
    1. In navigation pane of SAP Control Center, click Monitoring.
    2. In the administration pane, select the profile name and click Disable.
    3. Validate that all monitoring is disabled by opening SMP_HOME\Servers\UnwiredServer\Repository\Instance\com\sybase\sup\server\monitoring\ MonitoringConfiguration\domainLogging.properties, and verifying that “status”, “enabled”, and “autoStart” are set to false.
    See Monitoring Profiles in the SAP Control Center for SAP Mobile Platform online help.
  3. In SAP Control Center, stop all SAP Mobile Servers in all clusters.
  4. Stop the cache service on the data tier node.
  5. Use the dblog utility to isolate the cache disk and log on to fast storage.
    For details, see Using a Different Database and Log Path.
  6. Set new cache thread count, pool size, and initial cache size values.
    See Changing SQLAnywhere Database Server Startup Options and Managing Connection Pools for SAP Mobile Server Connections .
  7. Restart the cache service and all SAP Mobile Servers.
  8. In SAP Control Center, update the SAP Mobile Server replication synchronization properties on the cluster.
    1. In the left navigation pane, click Configuration.
    2. In the right administration pane, click the General tab.
    3. To configure replication ports and optional properties, select Components from the menu bar, select Replication, and click Properties.
    4. To configure Synchronization Cache Size and Thread Count, select Performance from the menu bar, For production recommendations on the values for these properties, see SAP Mobile Server Tuning Reference in System Administration.
  9. In SAP Control Center, set thread stack size and JVM heap sizes for the server.
    1. In the left navigation pane, click Servers>SeverName>Server Configuration.
    2. In the right administration pane, click the General tab.
    3. Adjust the thread stack size and JVM heap sizes to the new values.
      • Thread Stack Size – the JVM -Xss option.
      • Minimum Heap Size – the minimum size of the JVM memory allocation pool, in megabytes. For production recommendations on this value, see SAP Mobile Server Replication Tuning Reference in System Administration.
      • Maximum Heap Size – the maximum size of the JVM memory allocation pool. Use K to indicate kilobytes, M to indicate megabytes, or G to indicate gigabytes. For production recommendations on this value, see SAP Mobile Server Replication Tuning Reference in System Administration.
      • User Options (in Show optional properties) – other JVM options.
    4. Repeat for all servers.
  10. Restart all SAP Mobile Servers.