|
|
|
|
|
|
|
|
|
|
xen-users
RE: [Xen-users] how to pin to spefiic cpu
> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> Peter Peltonen
> Sent: 28 February 2007 17:08
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] how to pin to spefiic cpu
>
> In Xen's 3.0 documentation is stated:
>
> "f you are running IO intensive tasks, its typically better to
> dedicate either a hyperthread or whole core to running domain 0, and
> hence pin other domains so that they can't use CPU 0."
> http://tx.downloads.xensource.com/downloads/docs/user/#SECTION
> 03400000000000000000
>
> I am mostly running web servers, so it's IO intensive.
>
> But I cannot find from the documentation how to actually
> accomplish this?
If you use a line like this in the config file:
"CPUS=[^0]" or "CPUS="[^0,1]" would give one core/hyperthread or two
cores/hyperthreads that only run Dom0.
You may also want to configure /etc/xen/xend-cofnig.sxp to set
"(dom0-cpus 2)" so that it uses the first two CPU's in the system (or
similar).
--
Mats
>
> >From RHEL5-beta documentation I found xm commands how to accomplish
> this in running domains, but this should be set in the config file so
> we can do the pinning everytime the guest boots, right?
>
> Regards,
> Peter
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>
>
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|