Restricting CPU Core Access

Hi all.

I've had a quick look around but cant see anything exactly matching my requirements.

I have a new T2000 running S10. Im looking to restrict the no. cores that a S10 non-global zone can use to 1 only. The box is single CPU but 8core.

I want to do this to save on some software licensing.

Any help much appreciated

Cheers

This should work:

# zonecfg -z myzone
zonecfg:myzone> add dedicated-cpu
zonecfg:myzone:dedicated-cpu> set ncpus=4
zonecfg:myzone:dedicated-cpu> end

Alternatively, create a processor set, a resource pool and bind your zone to it.

Thanks for the reply.

Does this on relate to actual CPU access though? I'm actually wanting to restrict the number of cores that a zone can access as there's only a single CPU?

Cheers

With a 8 core T2000, each core supporting 4 threads, you have 32 virtual CPUs.

Have a look at

psrinfo -v

output.

Right, i get you. You cant limit core's as such, you limit the number of virual CPU's ie 4CPU's = 1core.

Excellent stuff, i get it....took a while though eh :slight_smile:

Thanks again, thats great

Cheers