<br><font size=2 face="sans-serif">Wad,</font>
<br><font size=2 face="sans-serif">Based on recommendations here:</font>
<br><font size=2 face="sans-serif">http://www.ibm.com/developerworks/linux/library/l-tune-lamp-1/index.html?S_TACT=105AGX03&S_CMP=EDU</font>
<br>
<br><font size=2 face="sans-serif">I suggest the following change to XS-150:</font>
<br>
<br><font size=2 face="Courier New">[root@schoolserver1 html]# cat /etc/sysctl.conf</font>
<br><font size=2 face="Courier New"># OLPC School server Kernel sysctl
configuration file</font>
<br><font size=2 face="Courier New">#</font>
<br><font size=2 face="Courier New"># Forward packets</font>
<br><font size=2 face="Courier New">net.ipv4.ip_forward = 1</font>
<br>
<br><font size=2 face="Courier New"># Perform source route verification</font>
<br><font size=2 face="Courier New">net.ipv4.conf.default.rp_filter = 1</font>
<br>
<br><font size=2 face="Courier New"># Do not accept source routing</font>
<br><font size=2 face="Courier New">net.ipv4.conf.default.accept_source_route
= 0</font>
<br>
<br><font size=2 face="Courier New"># Controls the System Request debugging
functionality of the kernel</font>
<br><font size=2 face="Courier New">kernel.sysrq = 1</font>
<br>
<br><font size=2 face="Courier New"># Controls whether core dumps will
append the PID to the core filename.</font>
<br><font size=2 face="Courier New"># Useful for debugging multi-threaded
applications.</font>
<br><font size=2 face="Courier New">kernel.core_uses_pid = 1</font>
<br>
<br><font size=2 face="Courier New"># Controls the use of TCP syncookies</font>
<br><font size=2 face="Courier New">net.ipv4.tcp_syncookies = 1</font>
<br>
<br><font size=2 face="Courier New"># New parameters</font>
<br><font size=2 face="Courier New">net.ipv4.tcp_window_scaling = 1</font>
<br><font size=2 face="Courier New">net.core.rmem_max = 16777216</font>
<br><font size=2 face="Courier New">net.core.wmem_max = 16777216</font>
<br><font size=2 face="Courier New">net.ipv4.tcp_rmem = 4096 87380 16777216</font>
<br><font size=2 face="Courier New">net.ipv4.tcp_wmem = 4096 65536 16777216</font>
<br>
<br><font size=2 face="Courier New">(this could be done during startup
with "cat last-six-lines.txt >> /etc/sysctl.conf", we could
fine-tune</font>
<br><font size=2 face="Courier New">these values later)</font>
<br>
<br><font size=2 face="Courier New">[root@schoolserver1 html]# cat /etc/fstab</font>
<br><font size=2 face="Courier New">LABEL=/1
/
ext3 defaults,noatime 1
1</font>
<br><font size=2 face="Courier New">LABEL=/boot
/boot
ext3 defaults,noatime 1 2</font>
<br><font size=2 face="Courier New">tmpfs
/dev/shm
tmpfs defaults 0
0</font>
<br><font size=2 face="Courier New">devpts
/dev/pts
devpts gid=5,mode=620 0 0</font>
<br><font size=2 face="Courier New">sysfs
/sys
sysfs defaults 0
0</font>
<br><font size=2 face="Courier New">proc
/proc
proc defaults
0 0</font>
<br><font size=2 face="Courier New">/dev/VolGroup00/LogVol00 /library
ext3 defaults,noatime
1 2</font>
<br><font size=2 face="Courier New">/dev/VolGroup00/LogVol01 swap
swap
defaults 0 0</font>
<br>
<br><font size=2 face="Courier New">(I added ",noatime" to first,
second and seventh lines. We might be able to use "sed"
to make these changes, or just hard-code them. Basically, if it has
an "ext3" on it, add ",noatime" to the defaults. "atime"
is access time, so every time you read a file, it writes back the access
time. This is time consuming and probably not needed for our purposes.
Specifying ",noatime" reduces the write load in a read-intensive
configuration)</font>
<br>
<br><font size=2 face="Courier New">Thanks</font>
<br>
<table>
<tr>
<td><img src=cid:_1_07B3EE7C07B3EA9400066DC2072573EA>
<tr>
<td><font size=1><br>
</font>
<table>
<tr>
<td><img src=cid:_2_07B3FDE807B3FA2C00066DC2072573EA>
<td><font size=1 color=#0060a0 face="Microsoft Sans Serif"><b>Tony Pearson</b></font><font size=1 face="Microsoft Sans Serif"><br>
Senior Storage Consultant, IBM System Storage™<br>
Telephone: +1 520-799-4309 | tie 321-4309 | Cell: +1 520 990-8669<br>
email: tpearson@us.ibm.com | GSA: http://tucgsa.ibm.com/~tpearson<br>
Blog: http://www.ibm.com/developerworks/blogs/page/InsideSystemStorage
AKA: 990tony Paravane, eightbar specialist </font></table>
<br>
<tr>
<td><img src=cid:_1_07B4085407B4049800066DC2072573EA></table>
<br>