Shannon A. Fiume via smartos-discuss wrote:
The list shows that
  "cpu_shares": 100,
Change the cpu_shares
to 200 or greater than as VCPUs are already set to 2.

That setting is currently caping the CPU at 1 CPU for SmartOS's guest.


I don't think it is. My understanding is cpu_shares is relative, not absolute. So if you have one VM with cpu_shares=100, it will get 100% of the available CPU shares on the system.


On Jun 5, 2014, at 2:11 AM, "Qian Wanpeng via smartos-discuss" <[email protected] <mailto:[email protected]>> wrote:

Hi guys.

I mention this before. I have to start a new thread.

I have a notebook, Thinkpad T420, intel i5 2540M CPU with 16GB ram. runing

[root@smartos60 ~]# uname -a
SunOS smartos60 5.11 joyent_20140418T031241Z i86pc i386 i86pc

I assign 2 vcpus to the guest. I just one see one CPU inside guest.


How did you check?

--
Ian.



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to