cgroups - gear size of more than one CPU / core in OpenShift Enterprise 2? -


i'm setting openshift enterprise 2 , i'd create district larger gear size. changing

/etc/openshift/resource_limits.conf

on nodes straightforward increasing memory , disk available gear, cpu resource management less intuitive (from resource_limits.conf):

# cpu cpu_rt_period_us=100000 cpu_rt_runtime_us=950000 cpu_shares=128 cpu_cfs_quota_us=100000 

by default, gear can consume maximum of 100% of single processor core. if want allow bigger gear size allow full utilization of 2 processor cores, how that, or not possible @ in openshift?

since gears same, , since 'cpu_shares' compared on relative basis when restricting group, i'm not sure makes sense change 'cpu_shares'.

however, 'cpu_cfs_quota_us' looks might right knob turn. page:

https://access.redhat.com/site/documentation/en-us/red_hat_enterprise_linux/6/html/resource_management_guide/sec-cpu.html

it appears should able double quota full 2 cores. however, it's not clear whether openshift respect this, since 'cpu_cfs_period_us' parameter not found in resource_limits.conf.

i performed experiment using 'stress'. first confirmed load 2 cores under normal ssh login (using 'stress --cpu 2'). logged in gear on host , ran same thing. cpu_cfs_quota_us=100000, can consume max of 50% cpu each stress process. when change cpu_cfs_quota_us=200000, can consume on 99% each process, appears successful. nice if called out in openshift docs...


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -