Restrict common users from using more than one processor

Hello,
so my question is what is says in the header. I have quadro computer with OS11. It could be accessed by several users that could push some calculations on it.

I want to restrict users from using more than one processor per account. How could I do that?

Thanks!

On Wed, 20 Aug 2008 13:46:03 GMT
genesup <genesup@no-mx.forums.opensuse.org> wrote:

>
> Hello,
> so my question is what is says in the header. I have quadro computer
> with OS11. It could be accessed by several users that could push some
> calculations on it.
>
> I want to restrict users from using more than one processor per
> account. How could I do that?
>
> Thanks!
>
>

Get them their own single processor computers?

You could research the taskset command. it allows you to decide which
processors a command can run on.

if you enter:

taskset 1 bash

then bash and ANY commands it runs are limited to cpu 0

With four cores, you get:

taskset 1 …
taskset 2 …
taskset 4 …
taskset 8 …

You could restrict the use of the taskset command, and start each user under
one of the above taskset examples… I’ll leave implementation up to the
readers… it’s not hard.

Of course, anyone who can write code can call the underlying system and
enable the rest of the cores. But most people don’t even know that’s an
option.

Maybe you should just get some better users? Or not worry about it at all,
the cpus can handle all the loads handed to them.

Common users… so… do you need to be a land-owner to be able to use more
than one core? {sniff… riff-raff!} {let them eat cake!!}

Loni


L R Nix
lornix@lornix.com
Viva la Revolution!

:slight_smile:
Thanks for that reply.
I was just wondering could I make the system run line clusters do - that means users are restricted of using more that, say, 8 CPUs and administrator has the ability to disconnect some processors from the main machine for personal use at the same time maintaining some level of diplomacy).
SDA