NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Making Xen utilize all cores



On Aug 29,  9:02am, Mayuresh wrote:
}
} This is on NetBSD 6.1 i386 Dom0 and Linux DomU.
} 
} The CPU column shows only 2 CPUs. This is actually a quad core processor.
} 
} # xl vcpu-list
} Failed to read config file: /usr/pkg/etc/xen/xl.conf: No such file or
} directory
} Name                                ID  VCPU   CPU State   Time(s) CPU
} Affinity
} Domain-0                             0     0    0   r--     383.8  any cpu
} Domain-0                             0     1    -   --p       0.0  any cpu
} Domain-0                             0     2    -   --p       0.0  any cpu
} Domain-0                             0     3    -   --p       0.0  any cpu
} domu-linux                           1     0    3   -b-     121.2  any cpu
} 
} Shouldn't Xen be using all CPUs by default? What setting am I missing to

     Yes.

} make Xen do so?

     NetBSD dom0 isn't SMP capable at this time, so it can't use
more then core.  To make it do so, you would have to make the
backend drivers MPSAFE.  NetBSD domU can use up to 256 cores.  You
just have to specify "vcpus = <n>" in the domain configuration file
to allow any domU to use more then one core.

}-- End of excerpt from Mayuresh


Home | Main Index | Thread Index | Old Index