accessing processor sets from non-priv userids

From: Steve Howie (showie@uoguelph.ca)
Date: Thu Mar 25 2004 - 16:56:46 EST


Howdy,

We've been looking at ways to permit a group of non-privileged users to
bind programs they submit to a processor set under Solaris. We want to
do this to effectively guarantee this group 50% of the processing power
- processor set 1 has CPU 0 and 1 (of 4) attached to it.

Since you can only bind a process to a processor set as root, what is
the easiest way to do this without having to resort to setuid programs?
Are there *any* other ways? We got it working using pset_bind(), but
would like to avoid the pitfalls of setuid programs in general.

We'd like the user to be able to issue something like the following
using 'psrprog' to launch 'program args' attached to a processor set.

       psrprog program args

where they would just run

       program args

under normal circumstances.

Any ideas?

Thanks

Scotty
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:21 EDT