<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>Dual T400P, SMP, performance issues</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2 FACE="Arial">Hi, </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">We are trying to validate Asterisk as a media gateway PRI <-> SIP with two T400P (8 T1s) per box. The first</FONT>
<BR><FONT SIZE=2 FACE="Arial">experience with BOX1 (Compaq, 2.53 GHz, 1 Gb RAM) and just one T400P was encouraging - on the load</FONT>
<BR><FONT SIZE=2 FACE="Arial">test with 3 T1s worth of calls we had on average 75% idle CPU.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Not so with BOX2 (Dell, single 2.6 GHz Xeon, 1 Gb RAM, 2 T400P) and BOX3 (Dell, dual 2.6 GHz Xeon,</FONT>
<BR><FONT SIZE=2 FACE="Arial">2 Gb RAM, 2 T400P, asterisk/zaptel is built with SMP support).</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">On the similar load test (as with the BOX1) BOX2 was showing 0% idle CPU 70% of the time. Just 3 T1s</FONT>
<BR><FONT SIZE=2 FACE="Arial">out of 8.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">On the load test with just 2 T1s BOX3 was very close to 0% idle on CPU0, CPU1 was at 95% idle.</FONT>
<BR><FONT SIZE=2 FACE="Arial">The process ksoftirqd_CPU0 was close to the top of the 'top', with /proc/interrupts showing tor2 related</FONT>
<BR><FONT SIZE=2 FACE="Arial">numbers growing very fast. We had 2 T1s plugged into the first T400P board, with nothing going into the second,</FONT>
<BR><FONT SIZE=2 FACE="Arial">but the number of interrupts for the both boards was growing at the same pace. Here are the interrupts</FONT>
<BR><FONT SIZE=2 FACE="Arial">(after the box reboot, so they are not that big as they were) - do they look OK?</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial"> CPU0 CPU1 CPU2 CPU3 </FONT>
<BR><FONT SIZE=2 FACE="Arial"> 0: 122556 0 0 0 IO-APIC-edge timer</FONT>
<BR><FONT SIZE=2 FACE="Arial"> 1: 4 0 0 0 IO-APIC-edge keyboard</FONT>
<BR><FONT SIZE=2 FACE="Arial"> 2: 0 0 0 0 XT-PIC cascade</FONT>
<BR><FONT SIZE=2 FACE="Arial"> 5: 0 0 0 0 IO-APIC-level usb-ohci</FONT>
<BR><FONT SIZE=2 FACE="Arial"> 8: 1 0 0 0 IO-APIC-edge rtc</FONT>
<BR><FONT SIZE=2 FACE="Arial"> 12: 20 0 0 0 IO-APIC-edge PS/2 Mouse</FONT>
<BR><FONT SIZE=2 FACE="Arial"> 14: 23 0 2 0 IO-APIC-edge ide0</FONT>
<BR><FONT SIZE=2 FACE="Arial"> 20: 516930 0 0 0 IO-APIC-level tor2</FONT>
<BR><FONT SIZE=2 FACE="Arial"> 24: 516524 0 0 0 IO-APIC-level tor2</FONT>
<BR><FONT SIZE=2 FACE="Arial"> 28: 10600 0 0 0 IO-APIC-level eth0</FONT>
<BR><FONT SIZE=2 FACE="Arial"> 29: 4837 0 0 0 IO-APIC-level eth1</FONT>
<BR><FONT SIZE=2 FACE="Arial"> 30: 24831 0 0 0 IO-APIC-level aacraid</FONT>
<BR><FONT SIZE=2 FACE="Arial">NMI: 0 0 0 0 </FONT>
<BR><FONT SIZE=2 FACE="Arial">LOC: 122430 122429 122429 122428 </FONT>
<BR><FONT SIZE=2 FACE="Arial">ERR: 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">MIS: 0</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Not sure what went wrong. Any suggestions on how to work with 2 T400P in a box (without hurting performance)</FONT>
<BR><FONT SIZE=2 FACE="Arial">and how to get advantage of SMP for Asterisk would be appreciated.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Any known Linux kernel related issues (2.4.20-13.7smp #1 SMP for BOX3 )?</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Thank you.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Alex Zarubin</FONT>
</P>
<BR>
</BODY>
</HTML>