Thanks.. This explanation is very useful<div><br></div><div>Nipun<span></span><br><br>On Friday, November 28, 2014, Kevin Holly [Fusl] &lt;<a href="mailto:openvz@lists.dedilink.eu">openvz@lists.dedilink.eu</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
On 11/28/2014 03:47 PM, Nipun Arora wrote:<br>
&gt; Hi folks,<br>
Hi Nipun!<br>
<br>
&gt; 1. --cpu-limit puts a limit on the max percentage of cpu that can<br>
&gt; be used in the container.<br>
Exactly. 100% is a core, 200% is two cores and so on.<br>
&gt; Does this also limit the number of processors the container has<br>
&gt; access to?<br>
No, it does not. For that you need --cpus.<br>
For example: Defining --cpus 2 --cpulimit 100 results in processes<br>
being migrated around 2 cores with either a maximum of 50% for each<br>
core (if both cores are used at the same time) or 100% for one core<br>
(if only one core is used at the same time) or something in between.<br>
So, the resulting sum of both cores calculated does never exceed 100%<br>
(75%+25%=100%, or 10%+90%=100%, and so on...).<br>
<br>
&gt; 2. --io-limit is a way to limit the I/O - How is this measured?<br>
&gt; Both read+write combined?<br>
- --iolimit limits both, read and write. Read and write are combined.<br>
But(!), --iolimit never limits cached read/writes, only direct access<br>
or flushed data/access.<br>
<br>
- --<br>
Best regards<br>
<br>
Kevin Holly - <a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;root@hallowe.lt&#39;)">root@hallowe.lt</a> - <a href="http://hallowe.lt/" target="_blank">http://hallowe.lt/</a><br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.22 (GNU/Linux)<br>
<br>
iQEcBAEBAgAGBQJUeLDkAAoJELAaqP3QtzpMep0IALp2f76W7581rgkA7+7FDi7U<br>
afqrCbn1pSxHaz+sjwXvaRHncrqznEWSaendDXhA7aGT1kM3PuYpvxrEGNIkooiW<br>
VNSoU/QyQmuflYIlTRvfiLaGh8Ol6pJ+j6L5vZX0UIDht04x9Q2MsMSgYnKRNDjM<br>
NKzOM52zFc7zMxR4Hd9jETLITUTUjpQX3k5BLfeJRZJZc+B3KoKI7tYpY52RAJ4Z<br>
Drp364VUI0XX/KVVC3jexfq9V7BDJUKWT6sqUMiWBEzI46D7e+neLbITohc0V0TD<br>
8kHDeQT+Jna+l4rVIZxwUqV+DGyulz+HMdHAt8fjMe6XA1IWaEdJnF5X8cF34IQ=<br>
=kYhh<br>
-----END PGP SIGNATURE-----<br>
_______________________________________________<br>
Users mailing list<br>
<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;Users@openvz.org&#39;)">Users@openvz.org</a><br>
<a href="https://lists.openvz.org/mailman/listinfo/users" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
</blockquote></div>