Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > General Support > Topic : Real cores or not!?



Threaded Mode | Print  

 Real cores or not!? (6 Replies, Read 3955 times)
AboYousef
Group: Member
Post Group: Newbie
Posts: 8
Status:

Hello, I an new to Virtualizor and I have some urgent questions regarding CPUs
And the way Virtualizor count/assign them:

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?

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?

3- I've red the documentation regarding the CPU options in the plan creation
section but still. I have some questions,

Board Image

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?

Thanks a lot and waiting for your answers




IP: --   

Real cores or not!?
AboYousef
Group: Member
Post Group: Newbie
Posts: 8
Status:
Sorry, I forgot to say that I am using KVM of course
Thanks
IP: --   

Real cores or not!?
asim_shaikh
Group: Member
Post Group: Elite Member
Posts: 381
Status:
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
IP: --   

Real cores or not!?
AboYousef
Group: Member
Post Group: Newbie
Posts: 8
Status:
First thanks for your response, but in my server under /proc/cpuinfo I have 32cores!
and under Virtualizor Server >> Create VPS >> Advance options >> CPU Affinity its 32 too
Board Image

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 ?

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 ?
Thanks
IP: --   

Real cores or not!?
asim_shaikh
Group: Member
Post Group: Elite Member
Posts: 381
Status:
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
IP: --   

Real cores or not!?
AboYousef
Group: Member
Post Group: Newbie
Posts: 8
Status:
So its better if I leave 2 cores for example free, not assigned to
Any VPS ?
IP: --   

Real cores or not!?
asim_shaikh
Group: Member
Post Group: Elite Member
Posts: 381
Status:
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
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 25, 2024, 10:51 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.025