<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
tt
        {font-family:"Courier New";}
span.E-MailFormatvorlage19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=DE link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Hi list,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>perhaps there is a
misunderstanding because of my english knowlede.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Perhaps it is also a
difference between MoH and CoD.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>I run vmstats and do only
see si and so (perhaps the s for suse!?), but I think it&#8217;s the same as pi
and po.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>I have got a zero in
there, so I am not swapping, right?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>&#8220;</span></font><span
lang=EN-GB>doesnt take up any more RAM<br>
to run multiple installations&#8221;<font color=purple><span style='color:purple'>-&gt;</span></font><font
color=navy><span style='color:navy'> does not seems to work within MoH.<o:p></o:p></span></font></span></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt;color:navy'>I run multiple installations
with all their pathes, etc.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt;color:navy'>e.g. every server takes 10% of
RAM.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt;color:navy'>When I run one installation
multiple times, I do also have multiple processess &aacute; 10% of RAM,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt;color:navy'>So it seems they are not &#8220;sharing&#8221;
the same code of RAM.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt;color:navy'>Is it an issue from MoH?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt;color:navy'>Sorry for a MoH issue at this
list.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt;color:navy'>Michael<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>Von:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Orr, Roland
Cadet [mailto:orr@cadetmail.uscga.edu] <br>
<b><span style='font-weight:bold'>Gesendet:</span></b> Freitag, 14. Mai 2004
06:17<br>
<b><span style='font-weight:bold'>An:</span></b> <st1:PersonName w:st="on">cod@icculus.org</st1:PersonName><br>
<b><span style='font-weight:bold'>Betreff:</span></b> RE: [cod] Multiple
Servers on one box and PB</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>fascinating!!! thank you for that helpful insight!!!
(feel free to send more emails on the intricate innerworkings of linux)</span></font><o:p></o:p></p>

</div>

<blockquote style='margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Mark J. DeFilippis
[mailto:defilm@acm.org]<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, May 13, 2004 10:45
PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">cod@icculus.org</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [cod] Multiple
Servers on one box and PB</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>At 03:03 PM 5/10/2004, Andrew Urm wrote:<br>
<br>
<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Additional server instances don't take up more RAM? Really? Or were
you&nbsp; saying something else?<br>
<br>
Andrew<br>
<br>
luke@techfreak.org wrote:<br>
<br>
<br>
<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Of course, there is a more 'elegant' way, but the guy is trying to<br>
get his feet wet here. So, I suggested an easy method.<br>
Also, I have run test after test and it doesnt take up any more RAM<br>
to run multiple installations, as opposed to using base_path. Or are<br>
you taking about using disk space?<br>
Luke<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br>
Additional instances do not take up more ram because the first instance<br>
pulls the executable page code in to swap space in Unix/Linux. If you<br>
have enough RAM, (and that is critical, or it Unix/Linux will need to page<br>
swap, and there goes the lag game.. This falls on basic design theory for<br>
Unix... You can never have enough ram. You always want to have enough RAM<br>
to run your programs in ram, or you will page swap. Page swap = slow,<br>
without getting in to the nasty details).&nbsp; How can I tell if I am page
swapping?<br>
<br>
run &quot; vmstat&quot;.&nbsp; Check the man page for vmstat.&nbsp; You will
see a PI and PO,<br>
these should be zero. If not, you are swapping in pages of code to execute.<br>
Add more ram, and you may have to relink the kernel, but most Unix/Linux<br>
version support up to 4GB or more for 32 bit.<br>
<br>
The way it works is this.... Code for each game will execute in ram, and<br>
share the page, but each will get their OWN data area's for Heap and<br>
Stack.<br>
<br>
However, if one process (Game running) attempts to write to a code<br>
page, Linux will do a &quot;Copy on Fork()&quot;. This is viewable in vmstat<br>
as well.&nbsp; Basically it means that &quot;A copy using the shared code
attempted<br>
to modify it, so it make a separate copy for the process that attempted to<br>
write to the code base&quot;.<br>
<br>
Since this does not happen in COD, or most processes for that matter,<br>
they all share the same single image in Swap to load to ram, and the<br>
same single image of code in RAM.&nbsp; If you were to put the processes<br>
in debug, and look at the registers, you would see the code segment<br>
registers are all the same, but the data pointer registers are all different.<br>
<br>
Check out vmstat, and read the man page. It is worth your time.<br>
It will give you some good insight on how the resources are allocated...<br>
<br>
Nice huh?&nbsp; Someday Windows will really work like that, or maybe<br>
it will replace windows?&nbsp; {;-))<br>
<br>
MFrag<br>
{TRv}Team-Ravage<br>
aka. Mark J. DeFilippis, Ph. D EE<br>
<br>
<br>
<br>
<o:p></o:p></span></font></p>

<X-SIGSEP>

<p style='margin-bottom:12.0pt'></X-SIGSEP><tt><font size=2 face="Courier New"><span
style='font-size:10.0pt'>-------------------------------------------------------------------------------</span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">Mark J.
DeFilippis&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
defilm@acm.org</font></tt><br>
<tt><font face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
defilm@ieee.org</font></tt><br>
<br>
</span></font><o:p></o:p></p>

</blockquote>

</div>

</body>

</html>