Installed non smp kernel and tried using taskset but it doesnt seem to be working<br><br>Here is what I did:<br><br>Prompt&gt;taskset -p 03 4368<br>pid 4368's current affinity mask: 1<br>pid 4368's new affinity mask: 1<br>
<br>Prompt&gt;taskset -p 02 4368<br>
pid 4368's current affinity mask: 1<br>
pid 4368's new affinity mask: 1<br><br>You can see that it wont set it to anything but 1. Also, when I issue the following command:<br><br>cat /proc/cpuinfo<br><br>Only 1 processor is showing...what can I do to resolve this (apart from using an smp kernel!)
<br><br>Thanks<br><div><span class="gmail_quote">On 30/01/06, <b class="gmail_sendername">Quint van Drosthagen</b> &lt;<a href="mailto:cod@se-easy.net">cod@se-easy.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">














<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Ok didn't know that but still I think
the load on the machine will be high because you still have the problem that
each process has to wait until he gets processor time.. I'm curious what
your vmstat is saying in this cause.. Can you run a vmstat 5 for my for about 5
minutes and let me know what the procs/b is saying… This line indicates
how many procs are waiting until they are getting cpu time….</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Regards</span></font></p><span class="sg">

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Quint</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

</span><p style="margin-left: 36pt;"><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"><span class="q">-----Original Message-----<br>
<b><span style="font-weight: bold;">From:</span></b> Quint van Drosthagen
[mailto:<a href="mailto:cod@se-easy.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">cod@se-easy.net</a>] <br>
<b><span style="font-weight: bold;">Sent:</span></b> zondag 29 januari 2006 19:57<br>
<b><span style="font-weight: bold;">To:</span></b> <a href="mailto:cod@icculus.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">cod@icculus.org</a><br></span><div><span class="e" id="q_1091b14fdee8f984_4">

<b><span style="font-weight: bold;">Subject:</span></b> RE: [cod] [COD] SMP
Kernels</span></div></span></font></p><div><span class="e" id="q_1091b14fdee8f984_6">

<p style="margin-left: 36pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<p style="margin-left: 36pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Yes
verry… I run a dual amd cpu system, and made a while back to start the
wrong kernel… At that moment everything was separated on one cpu per
process. That isn't the problem, what the problem is is that you
can't say wich process is going to wich cpu, and that means in my case
that one cpu was overloaded and one was doing nothing. Because of this there
was a high load on my machine because everything had to wait until it can get
cpu power… So for a short story… Keep using smp…</span></font></p>

<p style="margin-left: 36pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p style="margin-left: 36pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Regards</span></font></p>

<p style="margin-left: 36pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Quint</span></font></p>

<p style="margin-left: 36pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p style="margin-left: 72pt;"><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">-----Original Message-----<br>
<b><span style="font-weight: bold;">From:</span></b> Carlo
[mailto:<a href="mailto:carlomoretto@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">carlomoretto@gmail.com</a>] <br>
<b><span style="font-weight: bold;">Sent:</span></b> zondag 29 januari 2006 13:54<br>
<b><span style="font-weight: bold;">To:</span></b> <a href="mailto:cod@icculus.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">cod@icculus.org</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> [cod] [COD] SMP Kernels</span></font></p>

<p style="margin-left: 72pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<p style="margin-left: 72pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Im running a dual pentium
mandrake 10.1 server with an smp kernel. The server runs 2 cod servers and 1
cod2 server<br>
<br>
Would I notice a big difference in performance if I switched to a non smp
kernel?<br>
<br>
Thanks</span></font></p>

</span></div></div>





</blockquote></div><br>