You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Andreas Huser <ah...@7five-edv.de> on 2013/07/17 11:57:09 UTC
Memory Overcommit + KVM
Hello at all,
i have two KVM Hypervisors with equal RAM à 16GB
In the Cloudstack zone resource tab can i read "Allocated: 15.30 GB / 31.13 GB".
When i configure memory overcommit *2 and restart the Cloud Manager. I see the same "Allocated: 15.30 GB / 31.13 GB"
Must this not now like e.g "Allocated: 15.30 GB / 62.26GB" to be?
many thanks
Regards Andreas
Mit freundlichen Grüßen
Andreas Huser
Geschäftsführer
System Engineer / Consultant
(Cisco Certified Solaris, Linux)
---------------------------------------
Zellerstraße 28 - 77654 Offenburg
Tel: +49(781) 1278689 0
Mobil: +49(176) 10308549
ahuser@7five-edv.de
Re: Memory Overcommit + KVM
Posted by Bryan Whitehead <dr...@megahappy.net>.
Jump into your mysql cloud db. Run this:
select op.id, name, total_capacity from op_host_capacity op, host h
where op.capacity_type=0 and op.host_id=h.id;
(my example output from a test cloud)
+----+-------------+----------------+
| id | name | total_capacity |
+----+-------------+----------------+
| 8 | node0.cloud | 50373124096 |
| 10 | node1.cloud | 50373124096 |
+----+-------------+----------------+
2 rows in set (0.00 sec)
After, just run an update to double up the capacity for each host you
want to over-commit.
Example:
update op_host_capacity set total_capacity=50373124096 where id=8;
update op_host_capacity set total_capacity=50373124096 where id=10;
Note: I've already doubled up the capacity on these boxes.
On Wed, Jul 17, 2013 at 3:32 AM, Arnaud Gaillard
<ar...@xtendsys.net> wrote:
> Currently, if you really want to overcommit RAM, there is a workaround with
> KVM, but it involves to modify the value reported by the host directly in
> the database.
>
>
>
>
>
> On Wed, Jul 17, 2013 at 12:14 PM, Tao Lin <li...@gmail.com> wrote:
>
>> Hi,Andreas,
>> Memory over-committing has not been support yet.Take a look at the
>> following links:
>>
>>
>> [1] http://markmail.org/message/u6i5mdwyf42icsff
>> [2] https://cwiki.apache.org/CLOUDSTACK/cpu-and-ram-overcommit.html
>>
>>
>> 2013/7/17 Andreas Huser <ah...@7five-edv.de>
>>
>> > Hello at all,
>> >
>> > i have two KVM Hypervisors with equal RAM à 16GB
>> > In the Cloudstack zone resource tab can i read "Allocated: 15.30 GB /
>> > 31.13 GB".
>> >
>> > When i configure memory overcommit *2 and restart the Cloud Manager. I
>> see
>> > the same "Allocated: 15.30 GB / 31.13 GB"
>> > Must this not now like e.g "Allocated: 15.30 GB / 62.26GB" to be?
>> >
>> > many thanks
>> > Regards Andreas
>> >
>> >
>> >
>> >
>> >
>> > Mit freundlichen Grüßen
>> >
>> > Andreas Huser
>> > Geschäftsführer
>> > System Engineer / Consultant
>> > (Cisco Certified Solaris, Linux)
>> >
>> > ---------------------------------------
>> > Zellerstraße 28 - 77654 Offenburg
>> > Tel: +49(781) 1278689 0
>> > Mobil: +49(176) 10308549
>> > ahuser@7five-edv.de
>> >
>> >
>> >
>> >
>> >
>>
>
>
>
> --
> *Arnaud Gaillard*
> CTO
> Mobile : +41 78 674 58 95
>
> <https://docs.google.com/file/d/0B2iGziD9SUPURU0yRjhSX1JhU0k/edit?usp=sharing>
Re: Memory Overcommit + KVM
Posted by Arnaud Gaillard <ar...@xtendsys.net>.
Currently, if you really want to overcommit RAM, there is a workaround with
KVM, but it involves to modify the value reported by the host directly in
the database.
On Wed, Jul 17, 2013 at 12:14 PM, Tao Lin <li...@gmail.com> wrote:
> Hi,Andreas,
> Memory over-committing has not been support yet.Take a look at the
> following links:
>
>
> [1] http://markmail.org/message/u6i5mdwyf42icsff
> [2] https://cwiki.apache.org/CLOUDSTACK/cpu-and-ram-overcommit.html
>
>
> 2013/7/17 Andreas Huser <ah...@7five-edv.de>
>
> > Hello at all,
> >
> > i have two KVM Hypervisors with equal RAM à 16GB
> > In the Cloudstack zone resource tab can i read "Allocated: 15.30 GB /
> > 31.13 GB".
> >
> > When i configure memory overcommit *2 and restart the Cloud Manager. I
> see
> > the same "Allocated: 15.30 GB / 31.13 GB"
> > Must this not now like e.g "Allocated: 15.30 GB / 62.26GB" to be?
> >
> > many thanks
> > Regards Andreas
> >
> >
> >
> >
> >
> > Mit freundlichen Grüßen
> >
> > Andreas Huser
> > Geschäftsführer
> > System Engineer / Consultant
> > (Cisco Certified Solaris, Linux)
> >
> > ---------------------------------------
> > Zellerstraße 28 - 77654 Offenburg
> > Tel: +49(781) 1278689 0
> > Mobil: +49(176) 10308549
> > ahuser@7five-edv.de
> >
> >
> >
> >
> >
>
--
*Arnaud Gaillard*
CTO
Mobile : +41 78 674 58 95
<https://docs.google.com/file/d/0B2iGziD9SUPURU0yRjhSX1JhU0k/edit?usp=sharing>
Re: Memory Overcommit + KVM
Posted by Andreas Huser <ah...@7five-edv.de>.
ahh... I've probably overlooked
Many Thanks!
Mit freundlichen Grüßen
Andreas Huser
Geschäftsführer
System Engineer / Consultant
(Cisco Certified Solaris, Linux)
---------------------------------------
Zellerstraße 28 - 77654 Offenburg
Tel: +49(781) 1278689 0
Mobil: +49(176) 10308549
ahuser@7five-edv.de
----- Ursprüngliche Mail -----
Von: "Tao Lin" <li...@gmail.com>
An: users@cloudstack.apache.org
Gesendet: Mittwoch, 17. Juli 2013 12:14:10
Betreff: Re: Memory Overcommit + KVM
Hi,Andreas,
Memory over-committing has not been support yet.Take a look at the
following links:
[1] http://markmail.org/message/u6i5mdwyf42icsff
[2] https://cwiki.apache.org/CLOUDSTACK/cpu-and-ram-overcommit.html
2013/7/17 Andreas Huser <ah...@7five-edv.de>
> Hello at all,
>
> i have two KVM Hypervisors with equal RAM à 16GB
> In the Cloudstack zone resource tab can i read "Allocated: 15.30 GB /
> 31.13 GB".
>
> When i configure memory overcommit *2 and restart the Cloud Manager. I see
> the same "Allocated: 15.30 GB / 31.13 GB"
> Must this not now like e.g "Allocated: 15.30 GB / 62.26GB" to be?
>
> many thanks
> Regards Andreas
>
>
>
>
>
> Mit freundlichen Grüßen
>
> Andreas Huser
> Geschäftsführer
> System Engineer / Consultant
> (Cisco Certified Solaris, Linux)
>
> ---------------------------------------
> Zellerstraße 28 - 77654 Offenburg
> Tel: +49(781) 1278689 0
> Mobil: +49(176) 10308549
> ahuser@7five-edv.de
>
>
>
>
>
Re: Memory Overcommit + KVM
Posted by Tao Lin <li...@gmail.com>.
Hi,Andreas,
Memory over-committing has not been support yet.Take a look at the
following links:
[1] http://markmail.org/message/u6i5mdwyf42icsff
[2] https://cwiki.apache.org/CLOUDSTACK/cpu-and-ram-overcommit.html
2013/7/17 Andreas Huser <ah...@7five-edv.de>
> Hello at all,
>
> i have two KVM Hypervisors with equal RAM à 16GB
> In the Cloudstack zone resource tab can i read "Allocated: 15.30 GB /
> 31.13 GB".
>
> When i configure memory overcommit *2 and restart the Cloud Manager. I see
> the same "Allocated: 15.30 GB / 31.13 GB"
> Must this not now like e.g "Allocated: 15.30 GB / 62.26GB" to be?
>
> many thanks
> Regards Andreas
>
>
>
>
>
> Mit freundlichen Grüßen
>
> Andreas Huser
> Geschäftsführer
> System Engineer / Consultant
> (Cisco Certified Solaris, Linux)
>
> ---------------------------------------
> Zellerstraße 28 - 77654 Offenburg
> Tel: +49(781) 1278689 0
> Mobil: +49(176) 10308549
> ahuser@7five-edv.de
>
>
>
>
>