<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how to set a processor in Operating System - Tru64 Unix</title>
    <link>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436902#M11587</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;have you done it in the sequence I posted?&lt;BR /&gt;Can you post pset_info?&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
    <pubDate>Thu, 09 Dec 2004 02:20:42 GMT</pubDate>
    <dc:creator>Michael Schulte zur Sur</dc:creator>
    <dc:date>2004-12-09T02:20:42Z</dc:date>
    <item>
      <title>how to set a processor</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436896#M11581</link>
      <description>i have two processors running in an alpha server. both are running but i cannot assign one of the processor to a processor set.&lt;BR /&gt;so if we check with 'pset_info', only one processor is running. what are the ways to set these processors.</description>
      <pubDate>Sun, 05 Dec 2004 23:12:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436896#M11581</guid>
      <dc:creator>Wahyono_1</dc:creator>
      <dc:date>2004-12-05T23:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to set a processor</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436897#M11582</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Look into man pages of 'psradmin' or 'psradm'. It explains well</description>
      <pubDate>Mon, 06 Dec 2004 02:23:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436897#M11582</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2004-12-06T02:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to set a processor</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436898#M11583</link>
      <description>Hi,&lt;BR /&gt;you can do it in this sequence:&lt;BR /&gt;pset_create&lt;BR /&gt;pset_assign_cpu 2 1&lt;BR /&gt;2 is the new processor set, 1 the cpu you assign to it.&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Dec 2004 08:11:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436898#M11583</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-12-06T08:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to set a processor</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436899#M11584</link>
      <description>&amp;gt;&amp;gt;  i cannot assign one of the processor to a processor set.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Why not? Do you not know how to do it, or does it give an error? Which commands used?&lt;BR /&gt;What does 'pset_info -v' show?&lt;BR /&gt;&lt;BR /&gt;More importantly... what real problem are you trying to solve.&lt;BR /&gt;I suspect that dividing a 2-cpu box into 2-psets makes it inflexible and poorly performaning for some tasks.&lt;BR /&gt;That would be because psets are exclusive, non-overlapping.&lt;BR /&gt;&lt;BR /&gt;You may want to consider runon to force a select process/command on a selected processor. Maybe toss some renice (nasty) in the mix to enforce near exclusive usage... if the process needs it. This will hopefully reduce context switches just about as much, and give you some extra performance through affinity while keeping the system flexible to do say backups without having to change those psets again.&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Dec 2004 15:44:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436899#M11584</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2004-12-06T15:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to set a processor</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436900#M11585</link>
      <description>&lt;BR /&gt;I second the previous post.&lt;BR /&gt;&lt;BR /&gt;Also check cpu_mask (or something like that) SRM variable at the &amp;gt;&amp;gt;&amp;gt; prompt. Make sure it enables all the CPUs.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ross</description>
      <pubDate>Wed, 08 Dec 2004 08:09:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436900#M11585</guid>
      <dc:creator>Ross Minkov</dc:creator>
      <dc:date>2004-12-08T08:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to set a processor</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436901#M11586</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;thanks for your help.&lt;BR /&gt;i have tried some of your suggestions.&lt;BR /&gt;if i use 'assign_cpu_to_pset', nothing happens.&lt;BR /&gt;if i use 'psradm', it says 'permission denied (login using root).&lt;BR /&gt;i haven't tried other options, cause it's in the running system...i have to consider the impact</description>
      <pubDate>Thu, 09 Dec 2004 02:16:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436901#M11586</guid>
      <dc:creator>Wahyono_1</dc:creator>
      <dc:date>2004-12-09T02:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to set a processor</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436902#M11587</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;have you done it in the sequence I posted?&lt;BR /&gt;Can you post pset_info?&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Dec 2004 02:20:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436902#M11587</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-12-09T02:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to set a processor</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436903#M11588</link>
      <description>Dear Michael,&lt;BR /&gt;&lt;BR /&gt;yes i have already tried that.&lt;BR /&gt;it says 'too many processors requested'&lt;BR /&gt;&lt;BR /&gt;rgrds&lt;BR /&gt;wahyono</description>
      <pubDate>Thu, 09 Dec 2004 03:00:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436903#M11588</guid>
      <dc:creator>Wahyono_1</dc:creator>
      <dc:date>2004-12-09T03:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to set a processor</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436904#M11589</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;please post the pset_info output. I suspect as Ross that you are not running all cpus. Does monitor show all cpus?&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Dec 2004 07:36:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436904#M11589</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-12-09T07:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to set a processor</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436905#M11590</link>
      <description>You don't need to shutdown the system to check the value of a SRN variable. Do this from the OS:&lt;BR /&gt;&lt;BR /&gt;/sbin/consvar -g cpu_enabled&lt;BR /&gt;&lt;BR /&gt;Let us know what the value was.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ross</description>
      <pubDate>Thu, 09 Dec 2004 10:02:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436905#M11590</guid>
      <dc:creator>Ross Minkov</dc:creator>
      <dc:date>2004-12-09T10:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to set a processor</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436906#M11591</link>
      <description>Sorry I meant to say SRM (not SRN) in my prev post....&lt;BR /&gt;&lt;BR /&gt;Here is what this cpu_enabled SRM variable is all about...&lt;BR /&gt;&lt;BR /&gt;To disable one or more cpus at the console level, you change the setting of the&lt;BR /&gt;"cpu_enabled" console environment variable.  The variable is essentially a bit&lt;BR /&gt;vector with one bit for each cpu.  The default value is to have all cpus enabled&lt;BR /&gt;(that is, all the bits of the bit vector are set to "1").  To disable a cpu, you&lt;BR /&gt;need to set the corresponding bit to zero and then execute the "init" command or&lt;BR /&gt;power cycle the system.&lt;BR /&gt;&lt;BR /&gt;A bit of explanation about the "cpu_enabled" variable:&lt;BR /&gt;&lt;BR /&gt;For a system that can be configured with up to 4 cpus, the corresponding bit&lt;BR /&gt;vector of that system's "cpu_enabled" variable has 4 bits:&lt;BR /&gt;&lt;BR /&gt;                    1 1 1 1&lt;BR /&gt;                cpu 3 2 1 0&lt;BR /&gt;&lt;BR /&gt;and they are all set to 1s therefore the corresponding value of the&lt;BR /&gt;"cpu_enabled" variable is F (hexadecimal).&lt;BR /&gt;&lt;BR /&gt;If you wanted to disable CPU 2 for instance, you would change the bit vector&lt;BR /&gt;thus:&lt;BR /&gt;&lt;BR /&gt;                    1 0 1 1&lt;BR /&gt;                cpu 3 2 1 0&lt;BR /&gt;&lt;BR /&gt;by setting the "cpu_enabled" console variable to A (hexadecimal).  This you do&lt;BR /&gt;by entering the command "set cpu_enabled A"  at the console ("&amp;gt;&amp;gt;&amp;gt;") prompt.&lt;BR /&gt;&lt;BR /&gt;CPU0 is always enabled. Even if you set cpu_enabled to 0 CPU0 is still enabled.&lt;BR /&gt;If you set cpu_enabled to 2 -- both CPU0 &amp;amp; CPU1 are enabled (as if it was set to 3).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Ross</description>
      <pubDate>Thu, 09 Dec 2004 10:04:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436906#M11591</guid>
      <dc:creator>Ross Minkov</dc:creator>
      <dc:date>2004-12-09T10:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to set a processor</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436907#M11592</link>
      <description>&lt;BR /&gt;Wahyono,&lt;BR /&gt;&lt;BR /&gt;Please help us help you by giving us concrete and exact data to work with.&lt;BR /&gt;&lt;BR /&gt;- pset_info output&lt;BR /&gt;- psrinfo output&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; if i use 'psradm', it says 'permission denied (login using root).&lt;BR /&gt;&lt;BR /&gt;What are you asking psradm to do? Is the processor actually there? (psrinfo!)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; i haven't tried other options, cause it's in the running system...i have to consider the impact  &lt;BR /&gt;&lt;BR /&gt;Well... making pset's effectively takes the assigned cpu completely away from the running systems. That's about the niggest impact you can make!&lt;BR /&gt;&lt;BR /&gt;The 'runon' + renice suggestion has just about no side impact.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Dec 2004 10:59:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436907#M11592</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2004-12-09T10:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to set a processor</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436908#M11593</link>
      <description>Guys,&lt;BR /&gt;&lt;BR /&gt;these are the outputs of some commands.&lt;BR /&gt;i really appreciate your help&lt;BR /&gt;&lt;BR /&gt;rgrds&lt;BR /&gt;Wahyono</description>
      <pubDate>Thu, 09 Dec 2004 20:23:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436908#M11593</guid>
      <dc:creator>Wahyono_1</dc:creator>
      <dc:date>2004-12-09T20:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to set a processor</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436909#M11594</link>
      <description>Thanks for that listing.&lt;BR /&gt;It shows somethign 'odd'&lt;BR /&gt;&lt;BR /&gt;There is a line missing for cpu# 1 in:&lt;BR /&gt;-----------&lt;BR /&gt;cpu #    running  primary_cpu  pset_id  assigned_to_pset&lt;BR /&gt; 0          1         1           0     11/26/2004 11:07:58&lt;BR /&gt;------------&lt;BR /&gt;&lt;BR /&gt;It is my understanding that if cpu# 1 was not in any pset, it would be reported as pset -1&lt;BR /&gt;&lt;BR /&gt;Here is how it works on my test system:&lt;BR /&gt;# uname -a OSF1 kelrin V5.1 2650 alpha&lt;BR /&gt;# pset_create&lt;BR /&gt;pset_id = 2&lt;BR /&gt;# pset_assign_cpu 2 2&lt;BR /&gt;# pset_info&lt;BR /&gt;number of processor sets on system = 2&lt;BR /&gt;pset_id  # cpus   # pids   # threads  load_av    created&lt;BR /&gt;  0         3        69       277       0.00     11/18/2004 13:42:28&lt;BR /&gt;  2         1        0        0         0.00     12/10/2004 00:55:22&lt;BR /&gt;&lt;BR /&gt;total number of processors on system = 4&lt;BR /&gt;&lt;BR /&gt;cpu #    running  primary_cpu  pset_id  assigned_to_pset&lt;BR /&gt; 0          1         1           0     11/18/2004 13:42:28&lt;BR /&gt; 1          1         0           0     11/18/2004 13:42:28&lt;BR /&gt; 2          1         0           2     12/10/2004 00:55:40&lt;BR /&gt; 3          1         0           0     11/18/2004 13:42:28&lt;BR /&gt;&lt;BR /&gt;# pset_destroy 2&lt;BR /&gt;processor set 2 has active processors/tasks/threads assigned to it.&lt;BR /&gt;destroy anyway? (y/n): y&lt;BR /&gt;# pset_info&lt;BR /&gt;&lt;BR /&gt;number of processor sets on system = 1&lt;BR /&gt;&lt;BR /&gt;pset_id  # cpus   # pids   # threads  load_av    created&lt;BR /&gt;  0         4        69       277       0.00     11/18/2004 13:42:28&lt;BR /&gt;&lt;BR /&gt;total number of processors on system = 4&lt;BR /&gt;&lt;BR /&gt;cpu #    running  primary_cpu  pset_id  assigned_to_pset&lt;BR /&gt; 0          1         1           0     11/18/2004 13:42:28&lt;BR /&gt; 1          1         0           0     11/18/2004 13:42:28&lt;BR /&gt; 2          1         0           0     12/10/2004 00:56:32&lt;BR /&gt; 3          1         0           0     11/18/2004 13:42:28&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You may have found a bug,&lt;BR /&gt;Or just an unfortunate series of trail.&lt;BR /&gt;&lt;BR /&gt;Hate to say this, but I would try again after a reboot at your earliest convenience.&lt;BR /&gt;&lt;BR /&gt;In the mean time, assuming CPU #1 is actively used and not wasted (top or monitor?) I woudl continue on and see if runon/renice can address your needs without psets&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Dec 2004 01:01:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/how-to-set-a-processor/m-p/3436909#M11594</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2004-12-10T01:01:29Z</dc:date>
    </item>
  </channel>
</rss>

