[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1450
  • Last Modified:

Setting CPU CAP in XEN

Hi,

From XEN manual:
"The cap optionally fixes the maximum amount of CPU a guest will be able to consume,
even if the host system has idle CPU cycles. The cap is expressed in percentage of one
physical CPU: 100 is 1 physical CPU, 50 is half a CPU, 400 is 4 CPUs, etc... The
default, 0, means there is no upper cap"

Im using server with Intel Core i7-975 Quadcore CPU. While it has 4 cores, the Linux shows 8 CPU's, since this processor utilizes Hyper Threading Technology.

I want to set the cap to 1 CPU (1 core) for  my Xen domU's.
What value should I use?

Thank You in advance.
0
zlygis
Asked:
zlygis
1 Solution
 
ajay_mhasalCommented:
Hi,

You need to set CPU: 200 cap to set the cap to 1 CPU (1 core) for  your Xen domU's
0
 
zlygisAuthor Commented:
Could not give an A, since the answer wasnt  reasoned :)
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now