I change cpu_share to 400, didnot solve my problem. 2014-06-05 18:58 GMT+09:00 Ian Collins via smartos-discuss < [email protected]>:
> 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:smartos-discuss@lists. >> smartos.org>> 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? > > I use Windows task manager. only one cpu appears. as I said before. just add another ESXi layer. (Nested VM), the zpool is the same, so the vm config. after windwos boots, it show two cpus. -- > Ian. > > > > ------------------------------------------- > smartos-discuss > Archives: https://www.listbox.com/member/archive/184463/=now > RSS Feed: https://www.listbox.com/member/archive/rss/184463/ > 25691541-596702ff > Modify Your Subscription: https://www.listbox.com/ > member/?& > Powered by Listbox: http://www.listbox.com > ------------------------------------------- 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
