<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en-us" xml:lang="en-us"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="security" content="public" /> <meta name="Robots" content="index,follow" /> <meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' /> <meta name="DC.Type" content="concept" /> <meta name="DC.Title" content="Memory pool activity level" /> <meta name="abstract" content="The activity level of a memory pool is the number of threads that can actively use the CPU at the same time in a memory pool. This allows for efficient use of system resources. The system manages the control of the activity level." /> <meta name="description" content="The activity level of a memory pool is the number of threads that can actively use the CPU at the same time in a memory pool. This allows for efficient use of system resources. The system manages the control of the activity level." /> <meta name="DC.Relation" scheme="URI" content="rzaksaboutmempools.htm" /> <meta name="DC.Relation" scheme="URI" content="rzaksdispmempool.htm" /> <meta name="DC.Relation" scheme="URI" content="../rzahx/rzahxmngparent.htm" /> <meta name="DC.Relation" scheme="URI" content="../rzahx/rzahxtune.htm" /> <meta name="DC.Relation" scheme="URI" content="../rzahx/rzahxapsparent.htm" /> <meta name="DC.Relation" scheme="URI" content="../experience/work3abstract.htm" /> <meta name="copyright" content="(C) Copyright IBM Corporation 2004-2006" /> <meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004-2006" /> <meta name="DC.Format" content="XHTML" /> <meta name="DC.Identifier" content="rzaksmempoolactlevel" /> <meta name="DC.Language" content="en-us" /> <!-- All rights reserved. Licensed Materials Property of IBM --> <!-- US Government Users Restricted Rights --> <!-- Use, duplication or disclosure restricted by --> <!-- GSA ADP Schedule Contract with IBM Corp. --> <link rel="stylesheet" type="text/css" href="./ibmdita.css" /> <link rel="stylesheet" type="text/css" href="./ic.css" /> <title>Memory pool activity level</title> </head> <body id="rzaksmempoolactlevel"><a name="rzaksmempoolactlevel"><!-- --></a> <!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script> <h1 class="topictitle1">Memory pool activity level</h1> <div><p>The activity level of a memory pool is the number of threads that can actively use the CPU at the same time in a memory pool. This allows for efficient use of system resources. The system manages the control of the activity level. </p> <p> Often during processing in a thread, a program waits for a system resource or a response from a workstation user. During such waits, a thread gives up its use of the memory pool activity level so that another thread that is ready to be processed can take its place.</p> <p>When more threads are started than can run at the same time the excess threads must wait to use the processing unit (normally this wait is short). The memory pool activity level lets you limit the amount of main memory contention in the various memory pools in your subsystems.</p> <p>The number of threads running (or active threads) refers to the number of threads that are eligible to compete for the processor and that count against the activity level for a memory pool. In this sense, active threads do not include threads that are waiting for input, for a message, for a device to be allocated, or for a file to be opened. Active threads do not include threads that are ineligible (threads that are ready to run but the memory pool activity level is at its maximum).</p> <div class="section"><h4 class="sectiontitle">How activity levels work</h4><p>More than one thread can be active at the same time in a memory pool because the processing for a thread can be briefly interrupted while needed data is retrieved from auxiliary storage. During this delay, which is typically short, another thread can run. Using the activity level, the machine can process a large number of threads in a memory pool and at the same time hold the level of contention to the limit that you specify.</p> <dl><dt class="dlterm">Maximum activity level</dt> <dd>After the maximum activity level for a memory pool has been reached, additional threads needing the memory pool are placed in the ineligible state to wait for the number of active threads in the memory pool to fall below the maximum activity level or for a thread to reach the end of its time slice. As soon as a thread gives up its use of the memory pool, the other threads that are not active become eligible to run by their priority. For example, if a running thread is waiting for a response from a workstation, it gives up its activity level and the activity level is no longer at its maximum.<p> </p> </dd> <dt class="dlterm">Defining memory pool activity levels</dt> <dd>Defining memory pools and activity levels correctly is generally dependent on size of the memory pool, the number of CPUs, the number of disk unit arms, and the characteristics of the application.</dd> </dl> </div> </div> <div> <div class="familylinks"> <div class="parentlink"><strong>Parent topic:</strong> <a href="rzaksaboutmempools.htm" title="A memory pool is a logical division of main memory or storage that is reserved for processing a job or group of jobs. On the iSeries server, all main storage can be divided into logical allocations called memory pools. By default, the system manages the transfer of data and programs into memory pools.">Memory pools</a></div> </div> <div class="reltasks"><strong>Related tasks</strong><br /> <div><a href="rzaksdispmempool.htm" title="You can view information about the memory pools that are on your system by using iSeries Navigator or the character-based interface.">View memory pool information</a></div> </div> <div class="relinfo"><strong>Related information</strong><br /> <div><a href="../rzahx/rzahxmngparent.htm">Manage iSeries performance</a></div> <div><a href="../rzahx/rzahxtune.htm">Basic performance tuning</a></div> <div><a href="../rzahx/rzahxapsparent.htm">Applications for performance management</a></div> <div><a href="../experience/work3abstract.htm">Experience report: The Performance Adjuster</a></div> </div> </div> </body> </html>