[CentOS] Re: Not seeing all memory in CentOS 5.1 x86_64

2008-06-11 Thread henry ritzlmayr
Am Dienstag, den 10.06.2008, 22:54 -0700 schrieb John R Pierce:
 Ruslan Sivak wrote:
  John R Pierce wrote:
 
  whats cat /proc/meminfo   say?
 
  # cat /proc/meminfo
  MemTotal:  6104064 kB
  ...
  HighTotal:   0 kB
  HighFree:0 kB
  LowTotal:  6104064 kB
  LowFree:   1992580 kB
  ...
 
  Linux version 2.6.18-53.1.21.el5xen ([EMAIL PROTECTED]) 
  (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Tue May 20 
  10:03:27 EDT 2008
  BIOS-provided physical RAM map:
  Xen:  - 0001ef8fb000 (usable)
 that range is about 7.9 GiBytes, so the rest is getting lost somewhere. 
 
 I'm unfamiliar with Xens innards..

How many VMs are running and how much memory do they consume?

This memory is not shown in DOM0 any more. 

The total memory should be visible within xentop.

wkr
Henry


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Not seeing all memory in CentOS 5.1 x86_64

2008-06-11 Thread Tim Verhoeven
On Wed, Jun 11, 2008 at 9:04 AM, henry ritzlmayr [EMAIL PROTECTED] wrote:

 How many VMs are running and how much memory do they consume?

 This memory is not shown in DOM0 any more.

 The total memory should be visible within xentop.

Or with :

# virsh nodeinfo
CPU model:   x86_64
CPU(s):  4
CPU frequency:   2333 MHz
CPU socket(s):   2
Core(s) per socket:  2
Thread(s) per core:  1
NUMA cell(s):1
Memory size: 10484736 kB

Regards,
Tim

-- 
Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83

Hoping the problem magically goes away by ignoring it is the
microsoft approach to programming and should never be allowed.
(Linus Torvalds)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Not seeing all memory in CentOS 5.1 x86_64

2008-06-11 Thread Ruslan Sivak

Tim Verhoeven wrote:

On Wed, Jun 11, 2008 at 9:04 AM, henry ritzlmayr [EMAIL PROTECTED] wrote:
  

How many VMs are running and how much memory do they consume?

This memory is not shown in DOM0 any more.

The total memory should be visible within xentop.



Or with :

# virsh nodeinfo
CPU model:   x86_64
CPU(s):  4
CPU frequency:   2333 MHz
CPU socket(s):   2
Core(s) per socket:  2
Thread(s) per core:  1
NUMA cell(s):1
Memory size: 10484736 kB

Regards,
Tim

  
While it seems to make sense (and both xentop and virsh nodeinfo) show 
the right amount of memory, even when I shut down one of the VM's, free 
and top still think I only have 6GB of ram.


Russ

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Not seeing all memory in CentOS 5.1 x86_64

2008-06-11 Thread Tim Verhoeven
On Wed, Jun 11, 2008 at 4:46 PM, Ruslan Sivak [EMAIL PROTECTED] wrote:

 While it seems to make sense (and both xentop and virsh nodeinfo) show the
 right amount of memory, even when I shut down one of the VM's, free and top
 still think I only have 6GB of ram.

That is normal, the memory that was used by VM's is not automatically
returned to the dom0 and therefore won't show when running free and
top.

Regards,
Tim

-- 
Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83

Hoping the problem magically goes away by ignoring it is the
microsoft approach to programming and should never be allowed.
(Linus Torvalds)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Not seeing all memory in CentOS 5.1 x86_64

2008-06-11 Thread Ruslan Sivak

Tim Verhoeven wrote:

On Wed, Jun 11, 2008 at 4:46 PM, Ruslan Sivak [EMAIL PROTECTED] wrote:
  

While it seems to make sense (and both xentop and virsh nodeinfo) show the
right amount of memory, even when I shut down one of the VM's, free and top
still think I only have 6GB of ram.



That is normal, the memory that was used by VM's is not automatically
returned to the dom0 and therefore won't show when running free and
top.

Regards,
Tim

  
I guess it has something to do with the ballooning driver for Dom0.  It 
looks like I just tried to allocation too much memory to DomU and the 
box went down hard.  I think there's a setting in xen to the min amount 
of memory to go down to, but I'm not sure why Dom0 is using 600mb of 
RAM.  Is there a mini installation of CentOS that I can do that would 
use less RAM?  I've already unchecked all the boxes when installing 
CentOS. I would like Dom0 to be as small as possible, both due to RAM 
usage and from a security perspective. 


Russ
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Not seeing all memory in CentOS 5.1 x86_64

2008-06-11 Thread Ruslan Sivak

MHR wrote:

On Wed, Jun 11, 2008 at 8:36 AM, Ruslan Sivak [EMAIL PROTECTED] wrote:
  

I guess it has something to do with the ballooning driver for Dom0.  It
looks like I just tried to allocation too much memory to DomU and the box
went down hard.  I think there's a setting in xen to the min amount of
memory to go down to, but I'm not sure why Dom0 is using 600mb of RAM.  Is
there a mini installation of CentOS that I can do that would use less RAM?
 I've already unchecked all the boxes when installing CentOS. I would like
Dom0 to be as small as possible, both due to RAM usage and from a security
perspective.



I've not familiarized myself with xen yet, but have you considered
VMware Server?  I haven't had any serious problems with it, and none
at all since v1.0.5 came out (1.0.6 is the current one).  Works
nicely, stays within its memory allocation, and top et al work as
you'd expect them to.

HTH

mhr
___
  
Are you talking about VMware Server 1?  Isn't there an issue with only 
being able to allocate 3.4GB of ram or something to that point?  I guess 
it wouldn't be an issue since I only have 8GB of ram on this box, unless 
I wanted to allocate a lot of ram to a single process.


I, too, like VMWare Server 1 and have been using it in production under 
windows.  Does it support paravirtualization at all? 

I treid, VMWare server 2 beta, and they made it pretty much unusable.  
The web interface isn't that great, and there is no way to tell it to 
use an LVM volume.  Hopefully they will improve it in the future. 

It's too bad that you can't use Xen and VMWare on the same box.  I 
could've ran Windows stuff in VMWare and Linux stuff paravirtualized in 
Xen. 


Russ
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Not seeing all memory in CentOS 5.1 x86_64

2008-06-11 Thread MHR
On Wed, Jun 11, 2008 at 10:29 AM, Ruslan Sivak [EMAIL PROTECTED] wrote:

 Are you talking about VMware Server 1?

Yes.

 Isn't there an issue with only being
 able to allocate 3.4GB of ram or something to that point?  I guess it
 wouldn't be an issue since I only have 8GB of ram on this box, unless I
 wanted to allocate a lot of ram to a single process.

Yes, VMS1 only supports up to 3.6GB or memory.

 I, too, like VMWare Server 1 and have been using it in production under
 windows.  Does it support paravirtualization at all?

Not according to VMWare - that's up for v2, whenever that comes out.

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos