<div><br></div><div>UPDATE.</div><div><br></div><div>Looks like we found a regression.</div><div><br></div><div>We used to have /etc/sysctl.conf:</div><div>vm.min_free_kbytes = 12288</div><div><br></div><div><br></div><div>
We used to set this in our build script, but it might not have transitioned to the new image creation tools.</div><div><br></div><div>So I take everything back, leave the turbo_mode alone, and put back the minimum free memory.</div>
<div><br></div><div>Also, systemD ate my sysctl.conf  :(</div><div><br></div>Sorry for the noise.<br><br>-Jon Disnard<br><br><br><div class="gmail_quote">On Mon, Dec 10, 2012 at 1:30 PM, Jon <span dir="ltr">&lt;<a href="mailto:jdisnard@gmail.com" target="_blank">jdisnard@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hello team :)</div><div><br></div><div>Panda-es, f18 beta </div><div><br></div><div>Sometimes the board spews out lots and lots of these kevent 2 lines:</div>
<div><br></div><div>[root@panda-f18-v7hl ~]# dmesg | tail</div>
<div><a href="tel:%5B%204325.019653" value="+14325019653" target="_blank">[ 4325.019653</a>] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped</div><div><a href="tel:%5B%204325.026367" value="+14325026367" target="_blank">[ 4325.026367</a>] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped</div>
<div><a href="tel:%5B%204325.033081" value="+14325033081" target="_blank">[ 4325.033081</a>] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped</div>
<div><a href="tel:%5B%204325.039764" value="+14325039764" target="_blank">[ 4325.039764</a>] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped</div><div>...</div><div><br></div><div><br></div><div>Problem statement:</div>
<div>Those kernel logs look unhappy.</div><div><br></div><div>Impact statement:</div>
<div>AFAIK this might result in some dropped packets.</div><div><br></div><div>Steps to reproduce:</div><div>Every time, just use wget to fetch a large file. </div><div>I grab an f17 iso from my local file server.</div><div>

The console will start flooding the kevent, and the wget gets very unhappy.</div><div><br></div><div><br></div><div><br></div><div><br></div><div>Supposedly disabling turbo mode on the cmdline (uEnv.txt) would help:</div>

<div><span style="color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13px;line-height:20px;background-color:rgb(251,251,251)"><br></span></div><div><span style="color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13px;line-height:20px;background-color:rgb(251,251,251)">smsc95xx.turbo_mode=N</span></div>

<div><br></div><div><br></div><div>I suppose turbo mode is some kind of interrupt throttling scheme? </div><div>It might reduce throughput while increasing resiliency?</div><div><br></div><div><br></div><div>Tested with turbo disabled, and I did not see a significant reduction in throughput, or increased latency, but a dramatic increase in resiliency.</div>

<div>aka disabling turbo_mod stopped the kevent 2 problem.</div><div><br></div><div>I propose we make this default for panda and beagle.</div><div><br></div><div>Your thoughts?</div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div><br></div>-- <br><br>
-Jon Disnard<br>
<div>irc: masta</div><div>fas: parasense</div>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><br>-Jon<br>