<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Isavcic</id>
	<title>OpenVZ Virtuozzo Containers Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Isavcic"/>
	<link rel="alternate" type="text/html" href="https://wiki.openvz.org/Special:Contributions/Isavcic"/>
	<updated>2026-06-13T23:41:56Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=UBC_derived_configuration_examples&amp;diff=4206</id>
		<title>UBC derived configuration examples</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=UBC_derived_configuration_examples&amp;diff=4206"/>
		<updated>2008-03-01T21:54:25Z</updated>

		<summary type="html">&lt;p&gt;Isavcic: Fixed a typo: MB -&amp;gt; KB&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{UBC toc}}&lt;br /&gt;
&lt;br /&gt;
This table shows examples of configurations derived from the [[UBC configuration examples|basic examples]].&lt;br /&gt;
&lt;br /&gt;
== Derived UBC configurations ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Name       !!           A !!        B !!       2A  !!   0.5A+0.5B&lt;br /&gt;
|-&lt;br /&gt;
! Power      ||  1GB/200  || 1GB/60 || 1GB/100  ||      1GB/92&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;5&amp;quot; | Helper values&lt;br /&gt;
|-&lt;br /&gt;
|total mem   || 4986KB || 16000KB    || 9972KB   ||  10493KB&lt;br /&gt;
|-&lt;br /&gt;
|total kmem  ||   1536KB  || 3712KB  ||  3072KB   ||   2624KB&lt;br /&gt;
|-&lt;br /&gt;
|total umem   ||  3450KB || 12288KB || 6900KB   ||       7869KB&lt;br /&gt;
|-&lt;br /&gt;
|avnumproc    ||     15   ||     40    ||    30    ||      27&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;5&amp;quot; | Primary parameters&lt;br /&gt;
|-&lt;br /&gt;
|numproc      ||       40     ||   65       ||   80    ||      52&lt;br /&gt;
|-&lt;br /&gt;
|numtcpsock   ||       40     ||   80       || 80       ||   60&lt;br /&gt;
|-&lt;br /&gt;
|numothersock ||       40     ||   80       || 80      ||    60&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;5&amp;quot; | Secondary parameters&lt;br /&gt;
|-&lt;br /&gt;
|kmemsize     ||  851,968 || 2,359,296 || 1,703,936  || 1,605,632&lt;br /&gt;
|-&lt;br /&gt;
|tcpsndbuf    ||  262,144 ||  524,288 ||  524,288  ||   393,216&lt;br /&gt;
|-&lt;br /&gt;
|tcprcvbuf    ||  262,144 ||  524,288 ||  524,288   ||  393,216&lt;br /&gt;
|-&lt;br /&gt;
|othersockbuf ||  163,840 ||  327,680 ||  327,680  ||   245,760&lt;br /&gt;
|-&lt;br /&gt;
|dgramrcvbuf  ||   32,768 ||   65,536 ||   65,536   ||   49,152&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;5&amp;quot; | Auxiliary parameters&lt;br /&gt;
|-&lt;br /&gt;
|shmpages     ||      512 ||    1,024 ||    1,024 ||        768&lt;br /&gt;
|-&lt;br /&gt;
|privvmpages  ||    3,450 ||    9,216 ||    6,900 ||      6,333&lt;br /&gt;
|-&lt;br /&gt;
|numfile      ||      512 ||    1,280 ||    1,024 ||        896&lt;br /&gt;
|-&lt;br /&gt;
|dcachesize   ||  196,608 ||  524,288 ||  393,216 ||    360,448&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Explanation ==&lt;br /&gt;
&lt;br /&gt;
The columns A and B are exactly the already considered [[UBC configuration examples|examples A and B]].&lt;br /&gt;
&lt;br /&gt;
=== 2A ===&lt;br /&gt;
The next column labelled “2A” was produced by multiplying all the numbers&lt;br /&gt;
from [[UBC configuration examples#Example A|example A]] by 2. This configuration is good for half the number of&lt;br /&gt;
Virtual Environments plan A was created for, that is, this new configuration&lt;br /&gt;
is for 100 Virtual Environments on a system with 1GB of RAM.&lt;br /&gt;
&lt;br /&gt;
=== 0.5A+0.5B ===&lt;br /&gt;
The next column “0.5A+0.5B” was produced by multiplying the numbers&lt;br /&gt;
from [[UBC configuration examples#Example A|example A]] by 0.5 and adding the numbers from [[UBC configuration examples#Example B|example B]] multiplied&lt;br /&gt;
by 0.5. The resulting confguration is a mean confguration between A and&lt;br /&gt;
B, being computed as (A + B)/2. It is good for&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{1}{0.5/200+0.5/60} \approx 92&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Virtual Environments on a system with 1GB of RAM.&lt;br /&gt;
&lt;br /&gt;
== Other configurations ==&lt;br /&gt;
A lot of other configurations can be produced the same way, by multiplying&lt;br /&gt;
by a constant (and summing, if necessary) the values from existing configurations.&lt;br /&gt;
&lt;br /&gt;
Configurations produced by multiplying existing configurations&lt;br /&gt;
by a number greater than 1 will be consistent if the original configurations&lt;br /&gt;
were consistent. Configurations produced by multiplying by a number less&lt;br /&gt;
than 1 may or may not be consistent. See [[Intermediate UBC configurations]] for more details&lt;br /&gt;
about producing new configurations basing on the existing ones.&lt;br /&gt;
&lt;br /&gt;
'''Caution''': do not subtract the values of one configuration from others.&lt;/div&gt;</summary>
		<author><name>Isavcic</name></author>
		
	</entry>
</feed>