<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Hi, Ziehau</div><div><br></div><div> Yes, you are right. Not only netisr_cpu 2, and netisr_cpu 0-7 else.</div><div><br></div><div>And my box’s version</div><div><div># uname -a</div><div>DragonFly sq-l1-n2-df 3.4-RELEASE DragonFly v3.4.3.16.g5011f5-RELEASE #0: Wed Oct 23 16:44:28 CST 2013 root@sq-l1-n2-df:/usr/obj/usr/src/sys/MYKERNEL x86_64</div></div><div><br></div><div> As a high load for IO and network load system, can I tuning something for make it better?</div><div><br></div><div><br></div><div><br></div><div><div># cat /boot/loader.conf</div><div>kern.ipc.nmbclusters="262144"</div><div>kern.ipc.maxsockets="204800"</div><div>## tuning for tcp</div><div>net.inet.tcp.tcbhashsize="262144"</div><div>net.inet.tcp.reass.maxsegments="16384"</div><div>net.inet.tcp.syncache.hashsize=32768</div><div>net.inet.tcp.syncache.bucketlimit=32</div><div>net.inet.tcp.syncache.cachelimit=1048576</div></div><div><br></div><div><br></div><div><div># cat /etc/sysctl.conf</div><div>kern.maxfilesperproc=500058</div><div>kern.ipc.somaxconn=65532</div><div>net.inet.ip.portrange.first=10001</div><div>net.inet.ip.portrange.last=65535</div><div>net.inet.tcp.msl=5000</div><div>net.inet.tcp.syncookies=0</div><div>net.inet.tcp.sendspace=32768</div><div>net.inet.tcp.recvspace=32768</div><div>net.inet.tcp.recvbuf_auto=0</div><div>net.inet.tcp.sendbuf_auto=0</div><div>net.inet.tcp.tso=0</div><div>kern.metadelay=3</div><div>kern.dirdelay=4</div><div>kern.filedelay=5</div><div>vfs.write_behind=0</div><div>vfs.ufs.dirhash_maxmem=16777216</div></div><div><br></div><div><br></div><div><br></div><div>Regards</div><div>Simon</div><div><br></div><div><br></div><div><br></div><div><br></div><br><div><div>On 2013年10月24日, at 下午12:12, Sepherosa Ziehau <<a href="mailto:sepherosa@gmail.com">sepherosa@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 24, 2013 at 11:03 AM, k simon <span dir="ltr"><<a href="mailto:chio1990@gmail.com" target="_blank">chio1990@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex; position: static; z-index: auto;">HI,list:<br>
<br>
I noticed when I exec "top -S" ,some process's state display "waitport" or "waitmsg",<br>
eg:<br>
netisr_cpu 2 waitport<br>
netisr_cpu 2 waitport<br>
haproxy waitmsg<br>
squid waitmsg<br>
<br>
What's this mean? Does it work normally?<br>
<br></blockquote><div><br><div>2 "netisr_cpu 2"? I believe there should only be one "netisr_cpu
2". waitport is normal for netisr. If you are using 3.4 or if squid
uses blocking connect(2), waitmsg is normal then.<br><br></div><div>Best Regards,<br>sephe</div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Regards<br>
<span><font color="#888888">Simon<br>
<br>
<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Tomorrow Will Never Die
</div></div>
</blockquote></div><br></body></html>