WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Xen - strange memory managing issue

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen - strange memory managing issue
From: Marcin Kuk <marcin.kuk@xxxxxxxxx>
Date: Thu, 28 Oct 2010 20:17:14 +0200
Delivery-date: Thu, 28 Oct 2010 11:19:31 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=B/E2ktmJDrlmj5pPiwEXLsC7+UQNWzH1UUTPRHqCRT8=; b=QBygiUWAHVzXOqnuAaNU3qOugicLXPoGyunDdfz2niXiFfHtG03n5naB0BodcJjBNo F/cohW8ZHH0EI4YG36kjnzy5DRD3AGXJhIwzcpMZBuxW9iXrotKsXRuJ6jzD8UgB19ku YwCxf7xxpxWK3vUUd5HKqNrhyPga4/bxXWv1Q=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=oX+q92gij9FluZoLMj4ovL3UI6WEW9I1KGV2dDmOvFTnLj1/PAz6/EO8Nb9+k+noV0 ofCW8dMG3OVrwswuUbTKeVhMXDQJqne1mtiwo84Mt1Ujbgyr85pZNXKovH5atYgRbX2S KsJ0vCCYrVZdN+UgL/OY0lKzjQNfYyNIoyT4Y=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,

I have strange problem with memory allocation on my xen server.

My xen server:
- distro: Debian squeeze
- xen-hypervisor: xen-hypervisor-4.0-i386            4.0.1-1
- boot options: /xen-4.0-i386.gz placeholder  dom0_mem=256M

Dom0:
- kernel: 2.6.32-5-xen-686 #1 SMP
- /etc/xen/xend-config.sxp:
    (dom0-min-mem 256)
    (enable-dom0-ballooning no)

DomU:
- name: storage
- distro: Debian squeeze
- kernel: - kernel: 2.6.32-5-xen-686 #1 SMP (the same like Dom0)
memory      = '128'
maxmem      = '512'

DomU:
- name: alien
- distro: Debian lenny
- kernel: 2.6.26-2-xen-686 #1 SMP
memory      = '320'
maxmem      = '768'

The strange thing is when I try to set memory in DomU storage.

I try to set memory on DomU storage:

storage:~$ free
             total       used       free     shared    buffers     cached
Mem:        126604     123992       2612          0      29748      59028

xen# xm list storage
Name                                        ID   Mem VCPUs      State   Time(s)
storage                                      1   128     2     -b----   6224.8

xen# xm mem-set storage 196

xen# xm list storage
Name                                        ID   Mem VCPUs      State   Time(s)
storage                                      1   196     2     -b----   6225.2

storage:~$ free
             total       used       free     shared    buffers     cached
Mem:        126604     123732       2872          0      30044      60748

I can see on Dom0 that DomU 'storage' has 196MB, but on DomU 'storage'
I don't see it.
In other case if I set for example 90 - it is working. But I can't set
over 128 (startup setting)

But in another example all is ok:

alien:~$ free
             total       used       free     shared    buffers     cached
Mem:        327680     313544      14136          0       4232      33956

xen# xm list alien
Name                                        ID   Mem VCPUs      State   Time(s)
alien                                        2   320     2     -b----    993.7

xen# xm mem-set alien 400

xen# xm list alien
Name                                        ID   Mem VCPUs      State   Time(s)
alien                                        2   400     2     -b----    994.2

alien:~$ free
             total       used       free     shared    buffers     cached
Mem:        409600     313816      95784          0       4292      33960

I am trying to change balloonig settnigs, other memory setting,
rebooting a lot, but nothing helped.
I have several DomUs and I found that I can manage memory on kernels
2.6.26, but not above.

Any idea what is wrong?

Best regards,
Marcin Kuk

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Xen - strange memory managing issue, Marcin Kuk <=