Posted By: AboYousef on July 17, 2016, 3:54 pm | Post: 1 |
Sorry, I forgot to say that I am using KVM of course
Thanks |
Posted By: asim_shaikh on July 19, 2016, 6:37 am | Post: 2 |
Hi,
Quote 1- First and most importantly how does Virtualizor count CPUs? I mean
In my case, ,my server has 2× E-5 2670 processors each has 8 physical cores and 16 threads making the total 16 physical cores and 32 threads When Virtualizor assign say 4 cores for a VPS are those physical or threads? In virtualizor the number of CPUs on a dedicated server is detected from /proc/cpuinfo , so in your case Virtualizor will detect all 16 physical cores on your server. Quote 2- Is there a way to check how many cores Virtualizor counts on my system? Of course I can get CPU info using many Linux command but is there any way to get this inf from within Virtualizor? The number of physical cores available on your server is listed under Virtualizor Server >> Create VPS >> Advance options >> CPU Affinity option when the default checkbox is unchecked. Quote 3- I've red the documentation regarding the CPU options in the plan creation section but still. I have some questions,
CPU % is the maximum percentage the VPS can use of the physical core, depending on the number of cores assigned. Lets say your Physical CPU is having 4 cores. If you assign 4 cores to a VPS and set a CPU % of 400% then the VPS will be allowed to use all cores to its 100%. Note : Each CPU core represents 100% of one physical core. This behaviour may be different as per the base OS as well Quote If I want to assign 2 (Real physical cores) 100% to a VPS, and by 100% I mean dedicate
Them fully, all the time without limits, what should I edit in these sittings in the image above? is there anything else I need to do somewhere else in Virtualizor? Yes, that is correct. ----------------------- Regards, Virtualizor Team http://www.virtualizor.com |
Posted By: asim_shaikh on July 19, 2016, 9:56 am | Post: 4 |
Hi,
Quote So virtualizor counts the threads or logical cores not the physical cores
No if I want to assign 1 physical core I should assign 2 of the cores I have under Virtualizor Server >> Create VPS >> Advance options >> CPU Affinity ? Yes, Virtualizor counts the vCPUs and assign vCPUs to the VPS and not the actual physical CPU core. You can assign two CPU cores which is equivalent to your one physical core. If you choose two vCPUs from the CPU Affinity option you will be pinning those two vCPUs to the VPS, so the VPS can use only those two vCPUs. If you want KVM to select/assign the vCPU randomly by itself then select default CPU Affinity and specify the number of vCPU cores to be assigned in the CPU cores text box. Quote Also can I assign all the 32 cores to let's say 8 VPSs at 100% ? what happen when I
Log to Virtualizor? which cores will I use as admin to run Virtualizor? will this destabilize the system ? It totally depends on the VMs usage, if all your VPSs are utilizing the CPU allocated to its fullest then it will affect your servers performance and virtualizor as well. ----------------------- Regards, Virtualizor Team http://www.virtualizor.com |
Posted By: AboYousef on July 19, 2016, 9:59 am | Post: 5 |
So its better if I leave 2 cores for example free, not assigned to
Any VPS ? |
Posted By: asim_shaikh on July 20, 2016, 1:54 pm | Post: 6 |
Quote So its better if I leave 2 cores for example free, not assigned to
Any VPS ? Yes. ----------------------- Regards, Virtualizor Team http://www.virtualizor.com |