accessing processor sets from non-priv userids

2007-12-25 3:07:00

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

Comments

Got something to say?

You must be logged in to post a comment.