Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Brief

Code Block
| Name       |    RAM | Disk | 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      |   
+------------+--------+------+-----------+-------+-----------+

Normal flavors

m1.micro

Code Block
+----------------------------+-----------------------------------------------------------------+
| Field                      | Value                                                           |
+----------------------------+-----------------------------------------------------------------+
| OS-FLV-DISABLED:disabled   | False                                                           |
| OS-FLV-EXT-DATA:ephemeral  | 0                                                               |
| access_project_ids         | None                                                            |
| disk                       | 5                                                               |
| name                       | m1.micro                                                        |
| os-flavor-access:is_public | True                                                            |
| properties                 | quota:disk_read_iops_sec='150', quota:disk_write_iops_sec='150' |
| ram                        | 512                                                             |
| rxtx_factor                | 1.0                                                             |
| swap                       |                                                                 |
| vcpus                      | 1                                                               |
+----------------------------+-----------------------------------------------------------------+

m1.tiny

Code Block
 +----------------------------+-----------------------------------------------------------------+
| Field                      | Value                                                           |
+----------------------------+-----------------------------------------------------------------+
| OS-FLV-DISABLED:disabled   | False                                                           |
| OS-FLV-EXT-DATA:ephemeral  | 0                                                               |
| access_project_ids         | None                                                            |
| disk                       | 10                                                              |
| name                       | m1.tiny                                                         |
| os-flavor-access:is_public | True                                                            |
| properties                 | quota:disk_read_iops_sec='150', quota:disk_write_iops_sec='150' |
| ram                        | 1024                                                            |
| rxtx_factor                | 1.0                                                             |
| swap                       |                                                                 |
| vcpus                      | 1                                                               |
+----------------------------+-----------------------------------------------------------------+

m1.small

Code Block
 +----------------------------+-----------------------------------------------------------------+
| Field                      | Value                                                           |
+----------------------------+-----------------------------------------------------------------+
| OS-FLV-DISABLED:disabled   | False                                                           |
| OS-FLV-EXT-DATA:ephemeral  | 0                                                               |
| access_project_ids         | None                                                            |
| disk                       | 20                                                              |
| name                       | m1.small                                                        |
| os-flavor-access:is_public | True                                                            |
| properties                 | quota:disk_read_iops_sec='300', quota:disk_write_iops_sec='300' |
| ram                        | 2048                                                            |
| rxtx_factor                | 1.0                                                             |
| swap                       |                                                                 |
| vcpus                      | 1                                                               |
+----------------------------+-----------------------------------------------------------------+

m1.med

Code Block
 +----------------------------+-----------------------------------------------------------------+
| Field                      | Value                                                           |
+----------------------------+-----------------------------------------------------------------+
| OS-FLV-DISABLED:disabled   | False                                                           |
| OS-FLV-EXT-DATA:ephemeral  | 0                                                               |
| access_project_ids         | None                                                            |
| disk                       | 40                                                              |
| name                       | m1.medium                                                       |
| os-flavor-access:is_public | True                                                            |
| properties                 | quota:disk_read_iops_sec='300', quota:disk_write_iops_sec='300' |
| ram                        | 4096                                                            |
| rxtx_factor                | 1.0                                                             |
| swap                       |                                                                 |
| vcpus                      | 2                                                               |
+----------------------------+-----------------------------------------------------------------+

m1.large

Code Block
 +----------------------------+-------------------------------------------------------------------------------------------------------+
| Field                      | Value                                                                                                 |
+----------------------------+-------------------------------------------------------------------------------------------------------+
| OS-FLV-DISABLED:disabled   | False                                                                                                 |
| OS-FLV-EXT-DATA:ephemeral  | 0                                                                                                     |
| access_project_ids         | None                                                                                                  |
| disk                       | 60                                                                                                    |
| name                       | m1.large                                                                                              |
| os-flavor-access:is_public | True                                                                                                  |
| properties                 | hw:cpu_cores='4', hw:cpu_sockets='1', quota:disk_read_iops_sec='300', quota:disk_write_iops_sec='300' |
| ram                        | 8192                                                                                                  |
| rxtx_factor                | 1.0                                                                                                   |
| swap                       |                                                                                                       |
| vcpus                      | 4                                                                                                     |
+----------------------------+-------------------------------------------------------------------------------------------------------+

m1.xlarge

Code Block
 +----------------------------+-------------------------------------------------------------------------------------------------------+
| Field                      | Value                                                                                                 |
+----------------------------+-------------------------------------------------------------------------------------------------------+
| OS-FLV-DISABLED:disabled   | False                                                                                                 |
| OS-FLV-EXT-DATA:ephemeral  | 0                                                                                                     |
| access_project_ids         | None                                                                                                  |
| disk                       | 80                                                                                                    |
| name                       | m1.xlarge                                                                                             |
| os-flavor-access:is_public | True                                                                                                  |
| properties                 | hw:cpu_cores='8', hw:cpu_sockets='1', quota:disk_read_iops_sec='300', quota:disk_write_iops_sec='300' |
| ram                        | 16384                                                                                                 |
| rxtx_factor                | 1.0                                                                                                   |
| swap                       |                                                                                                       |
| vcpus                      | 8                                                                                                     |
+----------------------------+-------------------------------------------------------------------------------------------------------+

m1.2xlarge

Code Block
+----------------------------+-------------------------------------------------------------------------------------------------------+
| Field                      | Value                                                                                                 |
+----------------------------+-------------------------------------------------------------------------------------------------------+
| OS-FLV-DISABLED:disabled   | False                                                                                                 |
| OS-FLV-EXT-DATA:ephemeral  | 0                                                                                                     |
| access_project_ids         | None                                                                                                  |
| disk                       | 100                                                                                                   |
| name                       | m1.2xlarge                                                                                            |
| os-flavor-access:is_public | True                                                                                                  |
| properties                 | hw:cpu_cores='8', hw:cpu_sockets='2', quota:disk_read_iops_sec='300', quota:disk_write_iops_sec='300' |
| ram                        | 32768                                                                                                 |
| rxtx_factor                | 1.0                                                                                                   |
| swap                       |                                                                                                       |
| vcpus                      | 16                                                                                                    |
+----------------------------+-------------------------------------------------------------------------------------------------------+

Memory hungry flavors

r1.tiny

Code Block
 +----------------------------+-----------------------------------------------------------------------------------+
| Field                      | Value                                                                             |
+----------------------------+-----------------------------------------------------------------------------------+
| OS-FLV-DISABLED:disabled   | False                                                                             |
| OS-FLV-EXT-DATA:ephemeral  | 0                                                                                 |
| access_project_ids         | None                                                                              |
| disk                       | 40                                                                                |
| name                       | r1.tiny                                                                           |
| os-flavor-access:is_public | True                                                                              |
| properties                 | hw:cpu_cores='8', quota:disk_read_iops_sec='600', quota:disk_write_iops_sec='600' |
| ram                        | 65536                                                                             |
| rxtx_factor                | 1.0                                                                               |
| swap                       |                                                                                   |
| vcpus                      | 8                                                                                 |
+----------------------------+-----------------------------------------------------------------------------------+

r1.small

Code Block
 +----------------------------+------------------------------------------------------------------------------------+
| Field                      | Value                                                                              |
+----------------------------+------------------------------------------------------------------------------------+
| OS-FLV-DISABLED:disabled   | False                                                                              |
| OS-FLV-EXT-DATA:ephemeral  | 0                                                                                  |
| access_project_ids         | None                                                                               |
| disk                       | 40                                                                                 |
| name                       | r1.small                                                                           |
| os-flavor-access:is_public | True                                                                               |
| properties                 | hw:cpu_cores='12', quota:disk_read_iops_sec='600', quota:disk_write_iops_sec='600' |
| ram                        | 98304                                                                              |
| rxtx_factor                | 1.0                                                                                |
| swap                       |                                                                                    |
| vcpus                      | 12                                                                                 |
+----------------------------+------------------------------------------------------------------------------------+

r1.med

Code Block
 +----------------------------+------------------------------------------------------------------------------------+
| Field                      | Value                                                                              |
+----------------------------+------------------------------------------------------------------------------------+
| OS-FLV-DISABLED:disabled   | False                                                                              |
| OS-FLV-EXT-DATA:ephemeral  | 0                                                                                  |
| access_project_ids         | None                                                                               |
| disk                       | 40                                                                                 |
| name                       | r1.med                                                                             |
| os-flavor-access:is_public | True                                                                               |
| properties                 | hw:cpu_cores='16', quota:disk_read_iops_sec='600', quota:disk_write_iops_sec='600' |
| ram                        | 131072                                                                             |
| rxtx_factor                | 1.0                                                                                |
| swap                       |                                                                                    |
| vcpus                      | 16                                                                                 |
+----------------------------+------------------------------------------------------------------------------------+

r1.large

Code Block
 +----------------------------+------------------------------------------------------------------------------------+
| Field                      | Value                                                                              |
+----------------------------+------------------------------------------------------------------------------------+
| OS-FLV-DISABLED:disabled   | False                                                                              |
| OS-FLV-EXT-DATA:ephemeral  | 0                                                                                  |
| access_project_ids         | None                                                                               |
| disk                       | 40                                                                                 |
| name                       | r1.large                                                                           |
| os-flavor-access:is_public | True                                                                               |
| properties                 | hw:cpu_cores='24', quota:disk_read_iops_sec='600', quota:disk_write_iops_sec='600' |
| ram                        | 196608                                                                             |
| rxtx_factor                | 1.0                                                                                |
| swap                       |                                                                                    |
| vcpus                      | 24                                                                                 |
+----------------------------+------------------------------------------------------------------------------------+

r1.xlarge

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 flavor can also give access to special resources like GPU's. Our flavors are organized in various classes which are further described in this page.

Be aware that we in 2022 are in a transition-phase from an old naming-scheme to a new naming-scheme.

  • The old naming-scheme is documented here.
  • The old flavors will be removed during autumn 2022.
  • The recommended upgrade-path from old flavors to new flavors is listed here.

The flavor naming format

At its core the flavors in our openstack-platforms are named with the following format: "<prefix>.<basic-specs>". The prefix is used to define what kind of VM it is (is it a prioritized or a regular VM? Does it have support for special CPU functionality or not?), while the "basic-specs" describes how many virtual CPU's and how much memory the VM should have. This results in flavors like so:

  • gx1.2c4r: A 1st generation Intel Xeon based general-purpose (gx1) VM with 2 CPU cores and 4 GB RAM.
  • sx1.16c64r: A 1st generation Intel Xeon based low-priority (sx1) VM with 16 CPU cores and 64 GB RAM. The low-priority flavors are very suitable for compute-loads that is not time-sensitive. Typically flavors with many CPU-cores do long-running batch-jobs and are prioritized lower than smaller flavors which typically hosts interactive applications.
  • px1.4c8r: A 1st generation Intel Xeon based prioritized (px1) VM with 4 CPU cores and 8 GB RAM. The prioritized flavors are typically used for VM's hosting user-facing interactive applications to ensure that the application responds in a timely manner even when the same physical CPU's are heavily utilized by other long-term running jobs.

This should be enough for you to know what most of our generally available flavors mean. Please check in your platform what flavors are available, and if you need a configuration not currently present please contact us through NTNU Hjelp and we might be able to help you.

The rest of this article explores the naming-scheme more technically and detailed, in case you need to know the specifics of what we can provide to you.

Prefix

The prefix in the flavor-name indicates the capabilities of the CPU associated with the flavor. The prefix is divided into two parts:

  • class: 2 letters indication flavor-class
  • generation: a digit indicating the flavor generation.
  • storage-location: optionally a single letter indicating the default storage-location.

Flavor classes

In our openstack-platforms we currently have the following classes:

  • General purpose compute:
    • gx: based on Intel Xeon CPU's
  • Prioritized compute. Used for some applications where short response-times are crucial, and it is proven that the general purpose is not sufficient.
    • px: based on Intel Xeon CPU's
  • Scavenger compute. For compute-loads which is not time-sensitive, but it is nice with as much CPU as possible, the scavenger class allows us to allocate many CPU's that can be heavily utilized without affecting time-sensitive applications running on the same hardware.
    • sx: based on Intel Xeon CPU's
  • Dedicated compute. Some compute-loads need dedicated hardware for predictible performance. Flavors of this class get dedicated CPU's not shared with anyone. 
    • dx: based on Intel Xeon CPU's
    • de: based on AMD EPYC CPU's.

Flavor generations

The generation-number is used to different various CPU-generations from each other. We currently employ two numbering-schemes; one for Intel-based flavors and one for AMD EPYC based flavors.

Intel Xeon based flavors:

The Intel Xeon based flavors can currently exist in 5 different generations. The following table lists the generations, and some of the functionality the generations provides.

GenCPU architectureAES-aceclerationAVXAVX2AVX512 1.generation

AVX512 2.generation

1Westmere(tick)(error)(error)(error)(error)
2Sandy-Bridge(tick)(tick)(error)(error)(error)
3Haswell(tick)(tick)(tick)(error)(error)
4Sky-Lake(tick)(tick)(tick)(tick)(error)
5Cascade-Lake(tick)(tick)(tick)(tick)(tick)

AMD EPYC based flavors:

GenCPU architecture
2Rome
3Milan

Storage locations

The storage-location can optionally be described with a letter. The letter have the following meanings:

  • no letter: The default storage-location is on a centralized SAN.
  • h: The default storage-location is HDD's localized on the compute-node
  • s: The default storage-location is SSD's localized on the compute-node.

Extended specifications

Some flavors equips the VM with additional resources like locally mounted storage or GPUs. Such flavors have extension appended to the flavor name to signal what resources are available.

GPUs

The GPUs are defined with the extension "<GPU-Type>-<GPU-RAM>". This will for example result in the following flavor name:

  • dx5.12c96r.v100-8g: A flavor defining a VM with 12 dedicated Cascade-Lake CPU cores, 96GB RAM and a Nvidia Tesla v100 GPU with 8GB of memory

Local Storage

Some VM's would for performance reasons need storage which are locally attached to the compute-server, as that results in lower disk-latency than the regular case where storage is mounted over networks. Flavors providing local storage have the following extension in its name:

e<disk-size><size-suffix>

A flavor with local attached ssd's might be named like so:

  • gx3s.8c32r.e500g: A flavor with Intel Haswell cores (gx3), default storage at a local SSD (s), 8CPU+32GB RAM (8c32r), and an extra disk of 500GB backed by the default storage configuration (e500g).

NVMe

Flavors that have NVMe-disks are described with the extension "nvme<SIZE>".

  • For instance the flavor "x5.12c64r.nvme3t2" have 12 Cascade-Lake cores, 64GB RAM and a 3.2TB NVMe-disk attached.

Custom flavors

Some of our tenants have requirements not fitting the "general purpose" use-cases, and is investing in dedicated compute-nodes equipped with accellerators, local storage and similar. These tenants usually gets custom flavors (Identified by the keyword 'custom' in its name) providing access to these resources. The meaning behind each of the custom flavors is given to the personell needing access.

Flavor "Not available"

You might have VM's using flavors you do not hav access to anymore (for instance if a public flavor is set as private, or your access to a private flavor is revoked). In this case existing VM's would be listed with the flavor "Not Available". This does not really matter, as the quotas is counted correctly, and openstack knows which specs the machine is supposed to have, but if you would like to give the machine a new flavour you should simply resize it to a new flavor. If you resize to a flavor to small to support the machine nothing will happen, so you should not loose any data regardless of which flavor you decide to resize to.

...