28.11.2014 Views

Performance Tuning Guide - EMC Community Network

Performance Tuning Guide - EMC Community Network

Performance Tuning Guide - EMC Community Network

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Maximizing Process Throughput<br />

Figure 7. Simple workflow<br />

Increasing workflow threads on the TaskSpace Content<br />

Server<br />

For systems consisting of multiple Content Servers, dedicate one Content Server to TaskSpace and the<br />

rest to processing activities (Dedicating a Content Server to TaskSpace, page 29). If TaskSpace must<br />

use a Content Server that also processes workflow activities, incrementally add additional workflow<br />

threads while monitoring TaskSpace performance. Use the highest number of workflow threads<br />

where acceptable TaskSpace performance can still to be achieved.<br />

When deciding between adding additional threads or Content Servers, choose additional Content<br />

Servers if the resources are available.<br />

Dedicating a Content Server to TaskSpace<br />

To remove Content Server resource contention between workflow threads and TaskSpace<br />

performance, provide dedicated Content Servers to handle the workflow threads and a different<br />

dedicated Content Server for TaskSpace. To prevent a Content Server from processing automatic<br />

tasks, make the following configuration setting in the Content Server dm_server_config object:<br />

wf_agent_worker_threads=0<br />

Configuring the workflow agent (polling)<br />

The workflow agent can be configured for polling or on-demand processing. When configured for<br />

polling, the workflow agent periodically polls (queries) the database work queue for batches of tasks<br />

(up to 30 per workflow thread) to be processed. When no activities exist in the queue, the workflow<br />

agent ’sleeps’ for a duration of time (seconds) set by the polling interval (the default polling interval is<br />

5 seconds). When the polling interval expires, the workflow agent polls the database.<br />

The workflow agent only sleeps when no activities exist in the queue to process. When activities exist,<br />

the polling interval has no effect because the workflow agent does not sleep.<br />

When configured for on-demand processing (Configuring for on-demand processing, page 31),<br />

Content Server notifies the workflow agent when new activities complete and new work items get<br />

created in the work queue. The workflow agent then queries the database for the new work item and<br />

the workflow agent picks up the new work queue item for processing.<br />

On-demand processing can result in many more queries to the database than when polling for<br />

batches of work items (especially for active work queues), which results in a common database<br />

<strong>EMC</strong> Documentum xCP 1.0 <strong>Performance</strong> <strong>Tuning</strong> <strong>Guide</strong> 29

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!