If your
applications
synchronize over the
replication
payload protocol, tune your production environment after all components have been deployed and
started.
- 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.
- Disable all enabled monitoring profiles that currently exist.
Normally, monitoring in a cluster configuration occurs at two levels — the cluster and the domain. Sybase
recommends that you turn off monitoring when assessing performance.
- In navigation pane of Sybase Control Center, click Monitoring.
- In the administration pane, select the profile name and click Disable.
- Validate that all monitoring is disabled by opening <UnwiredPlatform_InstallDir>\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 Sybase Control Center for Sybase Unwired Platform online
help.
- In Sybase Control Center, stop all Unwired Servers in all clusters.
- Stop the cache service on the data tier node.
- 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.
- Set
new cache thread count, pool size, and initial cache
size
values.
See
Changing SQLAnywhere Database Server Thread Count and User Startup Options
and Managing Connection Pools for Unwired Server
Connections .
- Restart the cache service and all Unwired Servers.
- In Sybase Control Center, update the Unwired Server replication synchronization
properties on the
cluster.
- In the left navigation pane, click Configuration.
- In the right administration pane, click the General
tab.
- To configure replication ports and optional properties, select
Components from the menu bar, select
Replication, and click
Properties.
- To configure Synchronization Cache Size and
Thread Count, select
Performance from the menu bar, For production
recommendations on the values for these properties, see
Unwired Server Tuning Reference in System Administration.
- In Sybase Control Center, set thread stack size and JVM heap sizes for the server.
- In the left navigation pane, click Servers>SeverName>Server Configuration.
- In the right administration pane, click the General
tab.
- 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 Unwired 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 Unwired Server
Replication Tuning Reference in System Administration.
- User Options (in Show
optional properties) – other JVM options. For example, you can enable JVM
garbage collection logging by setting -XX:+PrintGCDetails. Or you can set the permanent space which
allocated outside of the Java heap with DJC_JVM_MAXPERM; the maximum perm size must be followed by K, M,
or G, for example, -XX:MaxPermSize=512M. Note
that DJC_JVM_MAXPERM is not visible to Sybase Control
Center.
- Repeat for all servers.
- Restart all Unwired Servers.