25.01.2015 Views

Caché Monitoring Guide - InterSystems Documentation

Caché Monitoring Guide - InterSystems Documentation

Caché Monitoring Guide - InterSystems Documentation

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.

Considering Seizes, ASeizes, and NSeizes<br />

resource for other processes that may be waiting for it; this is an Aseize. If, at the end of the hold loop, the resource is still<br />

held by another process, the process continues to hibernate and wait to be woken up when the resource is released; this is<br />

an Nseize.<br />

Nseizes are a natural consequence of running multiple processes on a single-CPU system; Aseizes are a natural consequence<br />

of running multiple processes on a multi-CPU system. The difference is that Nseizes incur system, or privileged, CPU time<br />

because the operating system must change the context of the running process, whereas an Aseize incurs user time on the<br />

CPU because it continues to run until the resource is gained and released, or until it gives up and hibernates. In general, on<br />

multi-CPU systems it is more expensive for the operating system to do the context switch than to loop a few times to avoid<br />

this operation because there is both CPU overhead and memory latency associated with context switching on multi-CPU<br />

systems.<br />

<strong>Caché</strong> <strong>Monitoring</strong> <strong>Guide</strong> 91

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

Saved successfully!

Ooh no, something went wrong!