On 24/10/16 6:00 AM, Robert Mustacchi wrote:
On 10/22/16 15:54 , David Preece wrote:
I have a hosting provider that's just swapped from (apparently)
emulating 4 cpu's to emulating 1 cpu with 4 cores. I remember something
about --boot-ncpus not working because SmartOS only "sees" the cpu's
themselves. Is there a workaround? No biggie if not but if there is some
quick workaround, I'd like to know what it is.
I'm not familiar with this failure mode? Are you only seeing a single
processor show up in psrinfo? If the emulation's using 1 core with 4
threads or 4 cores, both should be detected.
It *found* it (http://imgur.com/a/Onsc6)

In psrinfo:

[root@56-00-00-3c-f4-89 ~]# psrinfo -v
Status of virtual processor 0 as of: 10/23/2016 20:32:59
  on-line since 10/23/2016 20:29:54.
  The i386 processor operates at 2400 MHz,
        and has an i387 compatible floating point processor.


prtpicl (http://pastebin.com/RQ7SG3wj) does see the cores:

                 socket (acpicontainer, ae4000002a8)
                     cpu (cpu, ae4000002bf)
                     cpu (acpicpu, ae4000002e9)
                     cpu (acpicpu, ae4000002fb)
                     cpu (acpicpu, ae40000030d)

And dmesg

2016-10-23T20:30:26.605720+00:00 56-00-00-3c-f4-89 unix: [ID 950921 kern.info] cpu0: x86 (chipid 0x0 GenuineIntel 306D2 family 6 model 61 step 2 clock 2400 MHz) 2016-10-23T20:30:26.605723+00:00 56-00-00-3c-f4-89 unix: [ID 950921 kern.info] cpu0: Virtual CPU a7769a6388d5 2016-10-23T20:30:26.605726+00:00 56-00-00-3c-f4-89 unix: [ID 608849 kern.notice] NOTICE: System detected 4 cpus, but only 1 cpu(s) were enabled during boot. 2016-10-23T20:30:26.605728+00:00 56-00-00-3c-f4-89 unix: [ID 458440 kern.notice] NOTICE: Use "boot-ncpus" parameter to enable more CPU(s). See eeprom(1M).

-Dave


-------------------------------------------
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