|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-users
RE: [Xen-users] pin cpu 0 to dom0.
 
Maybe things are different in Debian but the following does correctly pin the 
first 2 cores to Dom0 for me:
Grub.conf:
title CentOS (2.6.18-92.1.6.el5xen331)
        root (hd0,0)
        kernel /xen.gz-3.3.1 apic_verbosity=debug dom0_mem=4096M 
dom0_max_vcpus=2 acpi=on numa=on cpufreq=dom0-kernel
        module /vmlinuz-2.6.18-92.1.6.el5xen ro root=/dev/VolGroup00/LogVol00
        module /initrd-2.6.18-92.1.6.el5xen.img
xend-config.sxp:
(dom0-min-mem 0)
(dom0-cpus 2)
xm vcpu-list:
Name                                ID  VCPU   CPU State   Time(s) CPU Affinity
Domain-0                             0     0     0   -b-  3035828.2 0
Domain-0                             0     1     1   r--  1384542.3 1
The min-mem setting disables dom0 memory ballooning, its definitely recommended 
in NUMA type configs.
Rob
-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Mauro
Sent: 04 June 2010 12:28
To: J. Roeleveld
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] pin cpu 0 to dom0.
On 4 June 2010 13:23, J. Roeleveld <joost@xxxxxxxxxxxx> wrote:
> On Friday 04 June 2010 13:12:40 Robert Dunkley wrote:
>> Hi,
>>
>> First try setting the option in xend-config:
>> vi /etc/xen/xend-config.sxp  -  set “(dom0-min-mem 0)” and set “(dom0-cpus
>>  1)”
>
> NOTE: Please ignore this advice.
>
> The setting in the "xend-config.sxp" is ignored. (Tried it and it doesn't 
> work)
> Setting “(dom0-min-mem 0)” is not a good idea, this allows the dom0 to loose
> ALL memory.
I've (dom0-min-mem 196)
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
The SAQ Group
Registered Office: 18 Chapel Street, Petersfield, Hampshire GU32 3DZ
SAQ is the trading name of SEMTEC Limited. Registered in England & Wales
Company Number: 06481952
http://www.saqnet.co.uk AS29219
SAQ Group Delivers high quality, honestly priced communication and I.T. 
services to UK Business.
Broadband : Domains : Email : Hosting : CoLo : Servers : Racks : Transit : 
Backups : Managed Networks : Remote Support.
ISPA Member
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
 |   
 
 | 
    | 
  
  
    |   | 
    |