To create an OpenStack flavor:
Create an OpenStack flavor that suits your needs using the Dashboard GUI.
Log on to OpenStack GUI dashboard as admin user.
On the navigation pane, click Admin > Flavors. Click Create Flavor to define a new flavor.
By default, the RX/TX Factor is 1. Change the value if necessary.
Click Create Flavor to create the flavor.
After the flavor is created with specified configuration, the following screen is displayed:
Execute the following steps for creating D-SBC flavors:
Log on to OpenStack CLI as admin
user and execute the following command to enable CPU Pinning for Signaling-SBC:
nova flavor-create S-SBC-PT auto 61404 80 20 nova flavor-key S-SBC-PT set hw:mem_page_size=2048 nova flavor-key S-SBC-PT set hw:numa_nodes=2 nova flavor-key S-SBC-PT set hw:numa_cpus.0=0-9 hw:numa_mem.0=30702 nova flavor-key S-SBC-PT set hw:numa_cpus.1=10-19 hw:numa_mem.1=30702 nova flavor-key S-SBC-PT set hw:cpu_policy=dedicated hw:cpu_thread_policy=isolate nova flavor-key S-SBC-PT set hw:cpu-socket=2 hw:cpu_cores=10 hw:cpu_threads=1 hw:cpu_max_sockets=2 hw:cpu_max_cores=10 hw:cpu_max_threads=1
Log on to OpenStack CLI as admin
user and execute the following command to enable CPU Pinning for Media-SBC:
nova flavor-create M-SBC-PT auto 26624 80 10 nova flavor-key M-SBC-PT set hw:mem_page_size=2048 nova flavor-key M-SBC-PT set hw:numa_nodes=1 nova flavor-key M-SBC-PT set hw:numa_cpus.0=0-9 hw:numa_mem.0=26624 nova flavor-key M-SBC-PT set hw:cpu_policy=dedicated hw:cpu_thread_policy=isolate nova flavor-key M-SBC-PT set hw:cpu-socket=1 hw:cpu_cores=10 hw:cpu_threads=1 hw:cpu_max_sockets=1 hw:cpu_max_cores=10 hw:cpu_max_threads=1