You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Introduction to flavors

When creating a virtual machine, this machine needs to have some specifications. It is for example important to know how many CPU's and how much memory the VM should have access to. In openstack the specifications of a VM is configured by selecting a flavor when the VM is created. The flavor contains information about how many CPU's and how much RAM the VM should have, in addition to how large (and fast) the default disk should be.

The flavors is organized into classes to help you select the correct flavor for your needs. Each of the classes have 5 flavors of various sizes (tiny, small, medium, large, xlarge). Currently the following classes exist:

  • t1 - Tiny VM's
    • This class is intended for testing, or for VM's which does not really need much resources.
    • The disk are shaped to 150 IOPS, which is similar to a regular hard-drive.
  • m1 - General purpose
    • This class is for the general purpose VM's. These flavors have 4 GB RAM for each CPU (except for tiny, which have 1CPU/2GB RAM).
    • The disk are shaped to 300 IOPS, which is faster than an enterprise grade hard-drive.
  • c1 - CPU intensive VM's
    • This class is for VM's needing a lot of CPU, while not needing too much memory. These flavors have 2GB RAM for each CPU.
    • The disk are shaped to 300 IOPS, which is faster than an enterprise grade hard-drive.
  • r1 - RAM intensive VM's
    • This class is for VM's needing a lot of RAM. These flavors have 4GB RAM for each CPU.
    • The disk are shaped to 300 IOPS, which is faster than an enterprise grade hard-drive.

Overview

The following classes exists in SkyHiGh:

Openstack flavors
+-----------+-------+--------+------+
| Name      | VCPUs |    RAM | Disk |
+-----------+-------+--------+------+
| t1.tiny   |     1 |    256 |    5 |
| t1.small  |     1 |    512 |    5 |
| t1.medium |     1 |    768 |   10 |
| t1.large  |     2 |   1024 |   10 |
| t1.xlarge |     2 |   1536 |   10 |
| m1.tiny   |     1 |   2048 |   20 |
| m1.small  |     1 |   4096 |   30 |
| m1.medium |     2 |   8192 |   40 |
| m1.large  |     4 |  16384 |   50 |
| m1.xlarge |     8 |  32768 |   50 |
| c1.tiny   |     8 |  16384 |   40 |
| c1.small  |    12 |  24576 |   40 |
| c1.medium |    16 |  32768 |   40 |
| c1.large  |    24 |  49152 |   40 |
| c1.xlarge |    32 |  65536 |   40 |
| r1.tiny   |     8 |  65536 |   40 |
| r1.small  |    12 |  98304 |   40 |
| r1.medium |    16 | 131072 |   40 |
| r1.large  |    24 | 196608 |   40 |
| r1.xlarge |    32 | 262144 |   40 |
+-----------+-------+--------+------+

The Trondheim-cloud currently utilizes a slightly different scheme, with the following flavors available:

| Name       |  RAM MB|Disk GB| Ephemeral | VCPUs | Is Public | 
+------------+--------+-------+-----------+-------+-----------+
| m1.micro   |    512 |    5  |         0 |     1 | True      |    
| m1.tiny    |   1024 |   10  |         0 |     1 | True      |   
| m1.small   |   2048 |   20  |         0 |     1 | True      |   
| m1.medium  |   4096 |   40  |         0 |     2 | True      |   
| m1.large   |   8192 |   60  |         0 |     4 | True      |   
| m1.xlarge  |  16384 |   80  |         0 |     8 | True      |   
| m1.2xlarge |  32768 |  100  |         0 |    16 | True      |  
| r1.tiny    |  65536 |   40  |         0 |     8 | True      |   
| r1.small   |  98304 |   40  |         0 |    12 | True      |   
| r1.med     | 131072 |   40  |         0 |    16 | True      |   
| r1.large   | 196608 |   40  |         0 |    24 | True      |   
| r1.xlarge  | 262144 |   40  |         0 |    32 | True      |   
+------------+--------+-------+-----------+-------+-----------+


  • No labels