Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
sushantjoshi
Contributor

Virtual System Core Allocation

Just trying to understand how CPU instance is allocated to individual Virtual System in VSX (LS Mode)

 

Let say if I have 48 core in my checkpoint box which is in VSX mode along with VSLS enabled.

I plan to allocate 3 cores to one of my Virtual System named as VS-A and 3 to the other Virtual System named as VS-B.

 

Since , I have used 6 cores in total does that mean I am now have left with 42 cores in total out of 48 cores. Lets also assume out of those 42 cores left SND are using 4 cores . Does that mean I can still utilize 38 cores for other Virtual System ? 

0 Kudos
1 Reply
emmap
Employee
Employee

If you have a 48 core box and 4 cores are allocated to SND, you have 44 cores in the 'CoreXL pool' that the fwk process for VSs can use. Each VS will spawn X fwk threads, where X is your CXL/VS configuration. These are user mode threads, so the OS process scheduler will grant them CPU time on any one of the 44 cores in the CoreXL pool when they need some, they will dance around and utilise whichever core is available at the moment they need CPU time, they are not affined to any specific CPU core [yes you can manually affine them, no you shouldn't as it's overcomplicating things unnecessarily]. This system works well, a VS can be loaded to destruction using 100% of X cores with its fwk threads with the other VSs happily dancing on the other cores while the loaded VS crashes and restarts itself, with no impact to other VSs. 

As such it is safe to 'oversubscribe' somewhat, as the threads will coexist nicely on the available CPU cores. HCP will start giving you warnings when you have 2x CXL/VS than available cores, so that's a good limit to stay under - and consider high availability when you are sharing the VSs across two cluster members. You need a single member to be able to service the full load of all VSs at peak time if you have a 2-node cluster. 

Also, use R81.20 and dynamic balancing if this is on CP appliances. This will dynamically adjust your  allocation between SND and CXL pool, but does not dynamically adjust CXL/VS. 

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events