[cod] [COD] SMP Kernels

Carlo carlomoretto at gmail.com
Mon Jan 30 11:10:32 EST 2006


Actually, for taskset to work, will an smp kernel be needed? Im guessing it
will



On 30/01/06, Carlo <carlomoretto at gmail.com> wrote:
>
> Installed non smp kernel and tried using taskset but it doesnt seem to be
> working
>
> Here is what I did:
>
> Prompt>taskset -p 03 4368
> pid 4368's current affinity mask: 1
> pid 4368's new affinity mask: 1
>
> Prompt>taskset -p 02 4368
> pid 4368's current affinity mask: 1
> pid 4368's new affinity mask: 1
>
> You can see that it wont set it to anything but 1. Also, when I issue the
> following command:
>
> cat /proc/cpuinfo
>
> Only 1 processor is showing...what can I do to resolve this (apart from
> using an smp kernel!)
>
> Thanks
> On 30/01/06, Quint van Drosthagen <cod at se-easy.net> wrote:
> >
> >  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….
> >
> >
> >
> > Regards
> >
> > Quint
> >
> >
> >
> > -----Original Message-----
> > *From:* Quint van Drosthagen [mailto:cod at se-easy.net]
> > *Sent:* zondag 29 januari 2006 19:57
> > *To:* cod at icculus.org
> > *Subject:* RE: [cod] [COD] SMP Kernels
> >
> >
> >
> > 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…
> >
> >
> >
> > Regards
> >
> > Quint
> >
> >
> >
> > -----Original Message-----
> > *From:* Carlo [mailto:carlomoretto at gmail.com]
> > *Sent:* zondag 29 januari 2006 13:54
> > *To:* cod at icculus.org
> > *Subject:* [cod] [COD] SMP Kernels
> >
> >
> >
> > Im running a dual pentium mandrake 10.1 server with an smp kernel. The
> > server runs 2 cod servers and 1 cod2 server
> >
> > Would I notice a big difference in performance if I switched to a non
> > smp kernel?
> >
> > Thanks
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20060130/520f559b/attachment.htm>


More information about the Cod mailing list