[Rdo-list] RDO at the CentOS Dojo in Brussels, pre-FOSDEM

Kashyap Chamarthy kchamart at redhat.com
Tue Jan 13 16:13:05 UTC 2015


On Tue, Jan 13, 2015 at 10:12:05AM -0500, Rich Bowen wrote:

[. . .]

> In order to run the tutorial on your machine, we recommend a VM on your
> laptop that has 20GB+ of disk space, 2GB of ram 

Rich, 2GB of memory won't suffice, I'm afraid. Why? In a DevStack
environment (a more restricted developer setup) with a single Nova
instance (running CirrOS), here's the memory profile of services that
consume more than 70MB, namely:

(Note, I removed out other serivces like systemd, libvirt, etc below,
they're noted here[1]).

    $ sudo ps_mem 
    Private  +   Shared  =  RAM used   Program 
    [. . .]
    Nova, Python process, MariaDB, Glance:
     69.1 MiB + 990.5 KiB =  70.1 MiB   nova-cert
     71.4 MiB + 990.0 KiB =  72.4 MiB   nova-scheduler
     76.7 MiB + 820.0 KiB =  77.5 MiB   ovs-vswitchd
     90.4 MiB +   2.6 MiB =  93.0 MiB   qemu-system-x86_64
     64.1 MiB +  57.3 MiB = 121.3 MiB   glance-api (5)
    116.6 MiB +  59.6 MiB = 176.2 MiB   glance-registry (9)
    180.6 MiB + 385.0 KiB = 181.0 MiB   mysqld
    373.2 MiB + 108.1 MiB = 481.3 MiB   nova-api (13)
    407.5 MiB +  78.5 MiB = 486.0 MiB   python2.7 (22)
    571.3 MiB +  17.2 MiB = 588.5 MiB   nova-conductor (9)
    ---------------------------------
                              2.3 GiB
    =================================

So, given the above, I'd suggest the virtual machine has at-least 4 GB
or above memory to have a reasonably smooth experience of bringing up a
Nova instance.


[1] https://kashyapc.fedorapeople.org/virt/openstack/DevStack-memory-profile.txt


> and atleast 1 dedicated cpu
> core. If your laptop has the ability to run nested-virt, please enable that
> and use it. It will make a large difference to performance of the overall
> setup.

Yep, that's correct.

-- 
/kashyap




More information about the dev mailing list