/boot/rsrcs
Resources Alocation Menu
This feature is relevant only for Alteon VA.
Alteon VA can be configured to utilize multi-vCPUs to be used by multiple SPs (as compared to a single SP prior to version 30.5). This increases Alteon VA’s performance, especially regarding CPU-bound functionalities (such as Layer 7 dbind, SSL offload, and compression).
If FastView for Alteon or AppWall for Alteon are disabled, ADC capabilities are by default allocated for all the resources to use.
If FastView for Alteon or AppWall for Alteon are enabled, to optimize the computing power you can configure the number of resources assigned to each application.
This menu lets you allocate the virtual machine vCPU and vRAM resources for the following applications running on the Alteon VA: ADC capabilities with FastView, ADC capabilities with AppWall.
For each application, a wizard leads you through the options to allocate the relevant vCPU and vRAM resources.
Notes

Alteon is selected by default and must have a minimum one vCPU and 2.5 GB RAM. For extended throughput it should be assigned a minimum of 3 GB RAM.
For Alteon to be allocated with more than one vCPU, you need at least 2 GB RAM per vCPU.
When running under vSwitch/Linux bridge (not SR-IOV/PCI pass-through), you can allocate up to eight vCPUs for SP processing (in VMWare the number of vCPUs allocated for SPs is a power of 2).
If TDs are allocated, the remaining vCPUs (after the allocated vCPUs for TDs and MP) are allocated for SPs (up to 36 SPs).

If
FastView is selected, it automatically is allocated two vCPUs (which cannot be changed) and 4 GB RAM (minimum). Its disk size is automatically set as three times the RAM size.

If
AppWall is selected, it can be assigned from one to eight vCPUs. Its disk size is automatically set as 2 GB and its RAM size automatically set from 2 to 4 GB, depending on the number of vCPUs assigned (both cannot be changed).
TD (Traffic Distribution) can be enabled (it is disabled by default). TD is required on Alteon VA if more processing power (SPs) are required than the number of queues supported by the deployed environment (16 for Niantic NICs, 2 for SR-IOV, 1 for OpenStack).
When Alteon VA uses a Mellanox CX3 card, the system automatically allocates one TD. If more than 30 Gbps Layer 4 throughput is required, add another TD for every additional 30 Gbps throughput.
If TD is enabled, Alteon automatically configures one TD, which can be changed to any value to the power of 2 (2, 4, 8, or 16).
[Resources Allocation Menu] setrsrcs - Set resources allocation among the processes cur - Display resources allocation among the processes |
Note: After entering the command, for the resources allocation to take place you must reboot the system. Otherwise, the changes are ignored.
To allocate the VM resources
1. Enter the setrsrcs command. The following prompt displays:
>> Resources Allocation Menu# setrsrcs After completing the resource allocation process, You must restart the device. Do you want to proceed? [y/n]: |
2. Enter y to proceed. You are prompted if you want to allocate resources for AppWall:
Do you want to allocate VM resources for AppWall? [y/n]: |
3. Enter y to allocate AppWall resources. After each line, the wizard stops and waits for you to enter a value for the number of vCPUs for AppWall, vCPUs for Alteon, and vRAM for Alteon:
Enter number of vCPUs for AppWall (2-7) After the device restarts, you can enable AppWall. Enter Alteon vCPU allocation: (1-3) Enter Alteon vRAM allocation: (2-7) |
The allocation you entered displays. For example:
changes pending submission:. vCPUS: vRAM (GB): vDisk (GB): Total: 5 9 42 Alteon: 2 4 42 FV: 0 0 0 AW: 2 2 For the new vCPU allocation to take effect, please reboot the platform. Do you want to restart the system? [y/n]: |
4. Enter y to reboot Alteon. The new resource allocations take effect after the reboot.
Similarly, you can allocate resources for FastView. Enter n when prompted to allocate resources for AppWall.
Do you want to allocate VM resources for FastView? [y/n]: |
5. Enter y to allocate FastView resources. After each line, the wizard stops and waits for you to enter a value for the number of vCPUs for FastView, vCPUs for Alteon, and vRAM for Alteon:
Enter FastView RAM allocation (GB): (4-29) After the device restarts, you can enable FastView. Enter Alteon vCPU allocation: (1-3) Enter Alteon vRAM allocation: (2-4) |
The allocation you entered displays. For example:
changes pending submission:. vCPUS: vRAM (GB): vDisk (GB): Total: 5 9 42 Alteon: 2 3 27 FV: 2 5 15 AW: 0 0 For the new vCPU allocation to take effect, please reboot the platform. Do you want to restart the system? [y/n]: |
6. You can configure TD if needed, for example:
Do you want to allocate VM resources for TD ? [y/n]: y Enter number of vCPUs for ADC : (1-10) Do you want to enter advanced setting mode ? [y/n]: y Enter maximum number of TDs: (0,1,2,4) 2 System will allocate 2 TDs |
7. Enter y to reboot Alteon. The new resource allocations take effect after the reboot.
To view the allocated VM resources
> Enter cur to view the current resource allocation among the processes. For example:
>> Resources Allocation Menu# cur  vCPUS: vRAM (GB): vDisk (GB): Total: 16 31.4 50 Alteon: 10 (TD-2) 31 5 FV: 2 4 12 AW: 4 4 2 |