ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakz_5.4.0.1/rzakzqthdrscafn.htm

127 lines
8.0 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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="Performance system values: Thread affinity" />
<meta name="abstract" content="Specifies whether or not secondary threads will have affinity to the same group of processors and memory as the initial thread. (QTHDRSCAFN)" />
<meta name="description" content="Specifies whether or not secondary threads will have affinity to the same group of processors and memory as the initial thread. (QTHDRSCAFN)" />
<meta name="DC.Relation" scheme="URI" content="rzakzperformanceoverview.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakzqthdrscadj.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakzfinder.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzakzqthdrscafn" />
<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>Performance system values: Thread affinity</title>
</head>
<body id="rzakzqthdrscafn"><a name="rzakzqthdrscafn"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Performance system values: Thread affinity</h1>
<div><p>Specifies whether or not secondary threads will have affinity to
the same group of processors and memory as the initial thread. (QTHDRSCAFN)</p>
<p><span class="uicontrol">Thread affinity</span>, also known as <span class="uicontrol">QTHDRSCAFN</span>,
is a member of the performance category of i5/OS™ system values. You can use this system
value to specify whether secondary threads are grouped with the initial thread
(thread level) or not. It also specifies the degree to which the system tries
to maintain the affinity between threads and the subset of resources they
are assigned to (level of affinity). To learn more, keep reading.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><thead align="left"><tr><th colspan="2" valign="top" class="firstcol" id="d0e31">Quick reference</th>
</tr>
</thead>
<tbody><tr><th valign="top" class="firstcol" id="d0e35" headers="d0e31 ">Location</th>
<td valign="top" headers="d0e35 d0e31 ">In iSeries™ Navigator,
select your system, <span class="menucascade"><span class="uicontrol"></span> &gt; <span class="uicontrol">Configuration
and Service</span> &gt; <span class="uicontrol">System Values</span> &gt; <span class="uicontrol">Performance</span> &gt; <span class="uicontrol">Affinity</span></span></td>
</tr>
<tr><th valign="top" class="firstcol" id="d0e53" headers="d0e31 ">Special authority</th>
<td valign="top" headers="d0e53 d0e31 ">All object (*ALLOBJ) and security administrator (*SECADM).</td>
</tr>
<tr><th valign="top" class="firstcol" id="d0e58" headers="d0e31 ">Default value</th>
<td valign="top" headers="d0e58 d0e31 ">Thread affinity: <span class="uicontrol">Secondary threads do not use same processors
and memory as initial thread.</span> Level of affinity: <span class="uicontrol">Threads
use any resource.</span></td>
</tr>
<tr><th valign="top" class="firstcol" id="d0e68" headers="d0e31 ">Changes take effect</th>
<td valign="top" headers="d0e68 d0e31 ">Immediately, but not for jobs already started.</td>
</tr>
<tr><th valign="top" class="firstcol" id="d0e73" headers="d0e31 ">Lockable</th>
<td valign="top" headers="d0e73 d0e31 ">No</td>
</tr>
</tbody>
</table>
</div>
<div class="section"><h4 class="sectiontitle">What can I do with this system value?</h4><p>Specifies
whether secondary threads will have affinity to the same group of processors
and memory as the initial thread or not. It also specifies the degree to which
the system tries to maintain the affinity between threads and the subset of
system resources they are assigned to.</p>
<p>A change to this system value
takes effect immediately for all jobs that become active after the change,
but only if they retrieve their affinity values from the system value. Jobs
and threads that are currently active will continue to run with the affinity
values they were started with. New jobs and threads that get their affinity
values from jobs that are currently active, (for example, batch immediate
jobs or secondary threads that inherit attributes from the initial thread),
will continue to use the values stored in the initiating job or thread, rather
than the current system value.</p>
<p>In addition, use the automatically adjust
thread resources (QTHDRSCADJ) system value to distribute the use of system
resources.</p>
</div>
<div class="section"><h4 class="sectiontitle">Thread affinity</h4><p>Specifies whether or not secondary
threads are grouped with the initial thread. Select one of the following:</p>
<dl><dt class="dlterm">Secondary threads use same processors and memory as initiating thread
(*GROUP)</dt>
<dd>Indicates that secondary threads have a preference for the same group
of processors and memory as the initial thread. Multi-threaded workloads that
share data between the threads within a job may perform better when using
this option.</dd>
<dt class="dlterm">Secondary threads do not use same processors and memory as initiating
thread (*NOGROUP)</dt>
<dd>Indicates that secondary threads do not have a preference for the same
group of processors and memory as the initial thread. Workloads that use the
full processing power of a system may perform better when using this option.</dd>
</dl>
</div>
<div class="section"><h4 class="sectiontitle">Level of affinity</h4><p>Specifies the degree to which
the threads try to use the subset of system resources that they have a preference
for. Select one of the following:</p>
<dl><dt class="dlterm">Threads only use resources they have affinity to (*HIGH)</dt>
<dd>Threads will only use the subset of system resources they have affinity
to, and will wait until they become available.</dd>
<dt class="dlterm">Threads use any resource (*NORMAL)</dt>
<dd>Threads will use any processor or memory in the system if the resources
they have affinity to are not readily available.</dd>
</dl>
</div>
<div class="section"><h4 class="sectiontitle">Where can I get more information about this system value?</h4><p>To
learn more, go to the performance system values overview topic. If you are
looking for a specific system value or category of system values, try using
the i5/OS system
value finder.</p>
</div>
</div>
<div><div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rzakzperformanceoverview.htm" title="Use i5/OS performance system values to view and change priority, performance adjustments, and processing values for the system.">System values: Performance overview</a></div>
<div><a href="rzakzqthdrscadj.htm" title="Specifies whether or not the system should dynamically make adjustments to the affinity of threads currently running on the system. (QTHDRSCADJ)">Performance system values: Automatically adjust thread resources</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="rzakzfinder.htm">System value finder</a></div>
</div>
</div>
</body>
</html>