Flavors

Version: 1.0
Last Modified: 9/8/2020

The term Flavor is used by the MobiledgeX Platform to define varying resource configurations. Flavors can also be referred to as compute substrates. Flavors include several different resource dimensions and are divided by regions, as listed below. Selected Flavors are specified when you create a cluster instance. To designate the Flavor, choose the best Flavor suited to run your application instances while delivering consistent processing performance; refer to the Sizing your Deployment document for guidelines.

  • Memory: Amount of memory allocated to the application
  • Disk: Amount of disk space allocated to the application
  • vCPU: Number of virtual CPUs provided to the application
  • GPU: Number of GPUs provided to the application

On the MobiledgeX Platform, application instances are hosted on cluster instances. The defined Flavor, which may be either the default Flavor for the application or the Flavor for the cluster instance, defines the resources available for use by the application instance. When additional application instances are deployed, additional cluster instances are created to host the new application instances. Since a cluster instance exists solely to support a deployed application instance, the resources provided to the cluster instance may be viewed as those resources being supplied to the application instance.

vCPU

The term vCPU is used to describe hardware virtualization and is a way to quantify the amount of performance you can expect from a virtual machine. For a developer, the assumption is, if you have a virtual machine that is defined with two vCPUs, you can expect approximately the same level of performance you would receive from a bare metal server with two CPU cores. Operators may use a vCPU as a way to divide the available virtual cores in a server among the tenants running on that server.
Although some vendors map physical cores to vCPU, the vCPU is more accurately described as a measure of processing time on the CPU.

Regarding deployments on the MobiledgeX Platform, you should expect a vCPU to equate approximately to the number of physical cores in a modern datacenter class server. However, there may be some variation that may depend on the type and age of the underlying hardware used.

GPU usage

MobiledgeX does not currently support vGPU access. However, pass-through GPUs are supported for cloudlets that have GPU availability. These cloudlets will have the GPU as a dimension of the available Flavors.

VM Deployments

Flavors are also used in virtual machine deployments. Flavors within virtual machine deployment provide resources to the virtual machine directly, as opposed to container-based workloads where a host cluster receives the provided resources.

Guidelines for specifying Flavor

When denoting the Flavor for your application instance, the Flavor assigned to the application instance is dependent on the following scenarios. For information on how to size your deployment and select the most appropriate Flavor for your application instance, refer to the Sizing your Deployment document.

Case 1. Manual. When a cluster instance is designated as Manual (created manually), the Flavor that is selected for the cluster instance is the default Flavor for all application instances without an app-specified Flavor. Please see (3.) for further details of the app-specific Flavor.

Case 2. Automatic. When an auto-cluster instance is created, the Flavor that is automatically applied to all application instances associated with that auto-cluster will be the Flavor identified as the most optimum resource for the application instance within the auto-cluster. Please note that application instances with a manually designated app-specific Flavor will default to use the Flavor automatically selected by the auto-cluster. Additionally, if an app-specific Flavor is not designated for the application instance, the default Flavor specified for the auto-cluster will be applied as the Flavor for the application instance.

Case 3. App-specific Flavor. When an application is associated with an app instance, a Flavor may be designated to be used explicitly by that application within the app instance. The App-specific Flavor can be used by applications associated with a manual cluster instance only. The App-specific Flavor serves as that specific application's default Flavor. When designating a Flavor, if an app-specific Flavor for the application instance is not selected, the default Flavor applied for that application will be the Flavor designated for the manual cluster instance.

The following actions may be performed on this page:

  • Filter Flavors by region
  • Type in a few letters to auto-populate your search results

Flavors screen

Where to go from here