Is this also the case for the recommended CentOS / RHEL? Do you still have to resort to having your own UDP implementation to max out Eth Card limitation?<div><br></div><div>In the past, I have found a limitation on Linux, that the eth driver is single-threaded. So, I couldn't push beyond 50K pps on a Intel Quad E5504 HP machine through 1 ethernet card.</div>
<div><br></div><div>Regards</div><div>HASSAN</div><div><br></div><div><br><div class="gmail_quote">On Mon, Aug 23, 2010 at 09:34, Woody Dickson <span dir="ltr"><<a href="mailto:woodydickson@gmail.com">woodydickson@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Vince,<br>
<br>
I have played with running Freeswitch on BSD too but the result is not<br>
great. The reason seems to be because BSD's threading is not as<br>
efficient as the one in Linux or there may be some other ways to tune<br>
it. BSD does give a better pure UDP throughput performance by the<br>
way.<br>
<br>
So what I ended up doing is developing my own UDP implementation which<br>
enable media to move through the ethernet at raw wire speed. I am<br>
able to max out the ethernet card limitation on Linux platform as a<br>
result of that.<br>
<font color="#888888"><br>
Woody<br>
</font><div><div></div><div class="h5"><br>
<br>
On Mon, Aug 23, 2010 at 1:53 AM, Vincent Stemen<br>
<<a href="mailto:vince.freeswitch@hightek.org">vince.freeswitch@hightek.org</a>> wrote:<br>
> On Fri, Aug 20, 2010 at 05:29:31PM +0800, Woody Dickson wrote:<br>
>> Hi,<br>
>><br>
>> I am doing some experiments with Freeswitch by torturing it to see how<br>
>> the machine's CPU response to heavy loaded situation.<br>
>> The test is done on a 16 core 5550 dual quad core server running<br>
>> fedora 2.6.30.10-105.2.23.fc11.x86_64 OS.<br>
>><br>
>> What I found so strange was that while CPU usage remains pretty low<br>
>> and distributed among all cores at 190 - 200 calls per second. Then,<br>
>> after added a few more calls per second, all CPU becomes fully<br>
>> utilized.<br>
>><br>
>> Is this due to some wrong setting? Any idea how I can tweak the<br>
>> configuration and continue my test?<br>
>><br>
>> Thanks,<br>
>> Woody<br>
><br>
> Hi Woody.<br>
><br>
> I would hazard to guess that this could be a Linux resource management<br>
> issue. I don't have any experience with SMP on Linux, but Linux has<br>
> a long history of memory management (among other) problems. We ran<br>
> Linux exclusively on all our servers and workstations for over 10 years<br>
> before finally switching to BSD several years ago. We had continuous<br>
> problems ranging from minor strange unexplained behaviours, as you<br>
> describe, to what appeared to be bugs in applications, to outright<br>
> crashes and freezes of the whole OS every day. When we switched to BSD<br>
> nearly all the problems went away. Even some of the (what appeared to<br>
> be) bugs in Linux binary applications went way, going from Linux to BSD<br>
> running under Linux emulation (without re-compiling), using the same<br>
> Linux libraries on the same hardware.<br>
><br>
> An interesting test would be to try the same load test with BSD on the<br>
> same machine and see if you get a similar result.<br>
><br>
> Regards,<br>
> Vince<br>
><br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>