[asterisk-users] 400 calls at g711 how much cpu power

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Jun 3 13:16:53 CDT 2009


On Tue, Jun 02, 2009 at 04:40:53PM -0500, Erick Perez wrote:
> I totally agree with you Jeff, however some of us do not actually sell
> viagra over the phone.
> This is a campaign to spread a message to the population about the health
> prevention steps that should be taken in order to prevent diseases that are
> affecting our population.
> 
> I do understand all of you to be reluctant to help with this post. However
> "judging before listening" has been the most devastating problem humans
> have. We simply do not trust each other.
> 
> However, just for the sake of posterity:
> 
> Hardware/Software
> just one server Dell 2950 / 4GB RAM / four 72Gb ultra320 SCSI hard disks
> built as RAID-0

Does the disk actually need to work hard? Why?

For Asterisk?

If you look at syslog.conf(5) you'll see:

       You may prefix each entry with the minus ‘‘-’’ sign to omit syncing the
       file  after every logging.  Note that you might lose information if the
       system crashes right behind a write attempt.
       Nevertheless  this  might give you back some performance, especially
       if you run programs that use logging in a very verbose manner.

On ext3 syncing the file can have practically the same impact as syncing
the filesystem.


> Debian as the OS (in 32 bit mode)
> Asterisk 32 bit 1.4 compiled manually (codecs removed, modules removed,etc,
> a ton of pure CRAP out!)

Sanity check: what does it give you over simply unloading all the CRAP
modules?

Or not lopading everything by default and explicitly loading what you
need?

> Only g711/SIP was used
> 20 second clip was served from ramdisk
> Dialer: SmoothTorque (those guys simply ROCK!)( setup outbound mode ONLY!)
> 
> Network:
> 50 Mbit fiber link to telco provider. Pure IP, no QoS.
> 
> We were pumping 3k calls-setup/second to the session controller at telco's
> side. Until we reached controller's max of 10k calls.
> Server load was NEVER above 3.2

For stress-testing, use several strong Asterisk "clients" and have the
server "bombard" them.
your Asterisk server. I think it should be simple enough to write a
dislplan that will emulate a random callee.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list