just one

Net Llama! netllama
Wed Nov 22 10:31:11 PST 2006


On Wed, 22 Nov 2006, Vu Pham wrote:
> For a system with more than one CPU, is it possible, under Linux booting
> with smp kernel, to limit some specific applications to run under just
> one CPU ?

Depends on the app.  Not all apps are even SMP aware, so in that case, 
they would only use one CPU regardless.

>
> My problem is my server has 4 CPUs. Besides other apps, this server has
> a small tool that requires very little cpu power and does not run very
> often and this tool is licensed by the number of CPUs.

I think you're screwed here, as the app would primarily decide how many 
CPUs it could use.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman                        netllama at linux-sxs.org
LlamaLand				http://netllama.linux-sxs.org



More information about the Linux-users mailing list