Commits

Charles McLaughlin  committed 4233f93

more networking info

  • Participants
  • Parent commits ac58e11

Comments (0)

Files changed (1)

 </div>
 
 <div class="slide">
-  <h1>Stress Testing</h1>
+  <h1>Tuning and Stress Testing</h1>
   <h2>I/O</h2>
   <ul>
-    noatime, deadline I/O scheduler
+    <li>Small volumes</li>
+    <li>Mounted with noatime</li>
+    <li>Deadline I/O scheduler</li>
     <li><pre>bonnie++ -d /tmp -s 64g -u user:group -f -n 0 -r 7687 -b 2</li>
   </ul>
+</div>
+
+<div class="slide">
+  <h1>Tuning and Stress Testing</h1>
   <h2>Postgres</h2>
   <ul>
     <li>FIXME transactions and connection pooling [<a href="https://code.djangoproject.com/ticket/16047">1</a>]</li>
-    <li>max_connections, shared_mem, effective_cache_size, work_mem, kernel.shmmax</li>
+    <li>
+      Common tuning:
+      <ul>
+        <li>max_connections</li>
+        <li>shared_mem</li>
+        <li>effective_cache_size</li>
+        <li>work_mem</li>
+        <li>kernel.shmmax</li>
+      </ul>
+    </li>
     <li><pre>pgbench -T seconds -j threads -c clients dbname</li>
   </ul>
+</div>
+
+<div class="slide">
+  <h1>Tuning and Stress Testing</h1>
   <h2>Network</h2>
-  <ul><li>Beware of c-states and Broadcom NICs on recent kernels [<a href="http://lists.us.dell.com/pipermail/linux-poweredge/2011-June/044901.html">1</a>, <a href="http://support.citrix.com/article/CTX127395">2</a>]</li></ul>
+  <ul>
+    <li>Read <a href="http://datatag.web.cern.ch/datatag/howto/tcp.html">How to achieve Gigabit speeds with Linux</a></li>
+    <li>Read the HAProxy docs and mailing list</li>
+FIXME kernel tweaks</li>
+    <li>Beware of c-states and Broadcom NICs on recent kernels [<a href="http://lists.us.dell.com/pipermail/linux-poweredge/2011-June/044901.html">1</a>, <a href="http://support.citrix.com/article/CTX127395">2</a>]</li></ul>
 </div>
 
 <div class="slide">