The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Restricting FTP access for a particular directory Vijayakumarpc SUN Solaris 1 10-14-2009 01:52 PM
restricting access to a server melanie_pfefer SUN Solaris 1 02-25-2008 02:55 PM
restricting access max_min SUN Solaris 4 08-12-2004 03:20 AM
Restricting access ngagne UNIX for Dummies Questions & Answers 4 07-21-2001 10:44 AM
restricting access... alwayslearningunix Security 9 05-09-2001 08:13 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-21-2009
boneyard boneyard is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 16
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
  #2 (permalink)  
Old 10-21-2009
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,496
This should work:

Code:
# 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.
  #3 (permalink)  
Old 10-21-2009
boneyard boneyard is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 16
Quote:
Originally Posted by jlliagre View Post
This should work:

Code:
# 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
  #4 (permalink)  
Old 10-21-2009
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,496
With a 8 core T2000, each core supporting 4 threads, you have 32 virtual CPUs.

Have a look at
Code:
psrinfo -v

output.
  #5 (permalink)  
Old 10-21-2009
boneyard boneyard is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 16
Quote:
Originally Posted by jlliagre View Post
With a 8 core T2000, each core supporting 4 threads, you have 32 virtual CPUs.

Have a look at
Code:
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

Thanks again, thats great

Cheers
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:27 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0