<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
carlopmart wrote:
<blockquote cite="mid:4B9FAEE8.9050806@gmail.com" type="cite">
<pre wrap="">Hi all,
I order to reach maximum performance on my centos kvm hosts I have use these params:
- On /etc/grub.conf:
kernel /vmlinuz-2.6.18-164.11.1.el5 ro root=LABEL=/ elevator=deadline quiet
- On sysctl.conf
# Special network params
net.core.rmem_default = 8388608
net.core.wmem_default = 8388608
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.ipv4.tcp_rmem = 1048576 4194304 16777216
net.ipv4.tcp_wmem = 1048576 4194304 16777216
# Disable netfilter on bridges.
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0
# Virtual machines special kernel params
vm.swappiness = 0
</pre>
</blockquote>
Care to explain some of your choices. <br>
<br>
In particular why <br>
<pre wrap="">vm.swappiness = 0</pre>
and why elevator=deadline over noop.<br>
<br>
Steve<br>
<br>
<div class="moz-signature">-- <br>
<a href="http://www.bulletin.net/">
<img
style="border: 0px solid ; width: 250px; height: 69px; float: left;"
alt="Bulletin.net" src="cid:part1.06010601.00040106@bulletin.net"></a><font
face="Verdana, Helvetica, Arial"><font size="2"><span
style="font-size: 10pt;">
<b>Steven Ellis - Director of Worldwide Engineering,</b><br>
<b>Bulletin.Net Inc</b> - <a href="http://www.bulletin.net/">http://www.bulletin.net/</a>
<br>
<b>Ph</b> +64 9 307 1146 <b>Fax</b> +64 9 307 1148
<br>
<b>Mo</b> +64 21 321 673</span></font></font>
</div>
</body>
</html>