Page 1 of 1

loadavg

PostPosted: Mon Oct 19, 2009 5:49 pm
by ruben23
hi what woul be the appropriate load average of my:

Asterisk/vicidial server and mysql/apache server:

currently on my production im running on:

Asterisk/vicidial server --> 3.4
mysql/apache server --> 2.5

what should be the desired..? Im using IBM x3200 with Xeon dual core, 4Gb Ram and 250 SATA disk. bith server are the same. :)

PostPosted: Mon Oct 19, 2009 5:58 pm
by mflorell
2 CPU cores means you shouldn't run over 2.0 loadavg in general

PostPosted: Mon Oct 19, 2009 6:20 pm
by ruben23
so mflorell im running on overload...? now what would i do to correct this..? :(

PostPosted: Mon Oct 19, 2009 7:15 pm
by okli
How many agents are logged?
What's dial ratio?
What codec are you using?
Do you do full recording?

Here is something to compare with:
http://www.vicidial.org/VICIDIALforum/v ... hp?p=26067
http://www.vicidial.org/VICIDIALforum/v ... 9000#29000

I wish more people post their setup and results, it would be quite informative for a quick comparison or planning the hardware.

PostPosted: Mon Oct 19, 2009 8:56 pm
by ruben23
This is all the data i have.

Asterisk 1.2
vicidial 2.0.5
Multi server setup

Agents logged = 24 seats
dial ratio = 4.0
codec used = g729
full recording

Hope this make clearer..Thanks

thanks

PostPosted: Mon Oct 19, 2009 9:03 pm
by brett05
as i know asterisk 1.2 is not supported by diguim codec g729 either you use a intel codec compiled or a free codec g729 but i have try the free codec and the buyed codec in voice quality the codec come from diguim is more stable or you will transcoding from asterisk gsm-->ulaw or alaw.
but if you have a provider with only g729 so here you will buffer your bandwith ?
if i'am wrong so correct me ?

PostPosted: Mon Oct 19, 2009 9:34 pm
by williamconley
ruben23 wrote:This is all the data i have.

Asterisk 1.2
vicidial 2.0.5
Multi server setup

Agents logged = 24 seats
dial ratio = 4.0
codec used = g729
full recording

Hope this make clearer..Thanks
define "multi server setup", also note total number of simultaneous calls (at max), number of processors listed in htop if you can, and call quality during max load.

PostPosted: Tue Oct 20, 2009 12:10 pm
by ruben23
Multi Server: is composes of Asterisk/vicidial server and Apache/Mysql server.

Total of simultaneous call 48 maximum channels active at ratio of 4.0
with 12 Agents calling.

Voice quality are at above average level.

PostPosted: Tue Oct 20, 2009 1:44 pm
by williamconley
for each box: can you run htop and tell me how many cpus it says you have (it will list cpu usage for each cpu instead of all at once), and the load when you have all 48 lines in use

... and you said that the call quality when all 48 lines are in use is good? so you are looking for how far you can push it, basically?

ordinarily the appropriate load level for a server is how much it will handle without becoming unstable or suffering reduced call quality. if neither of these has occurred, you have not yet exceeded your load.

PostPosted: Wed Oct 21, 2009 10:54 am
by ruben23
Hi for each BOx when i run Htop i got 2 CPU in used.

and during 48 lines are utilized my loadavg for

Asterisk/vicidial---> is 2.57

Apache/mysql-----> is 2.14

but on the process ill be getting an intermittent error liked my agent will be automatically kicked off form conference or automatically log out. thats ive observed. :(

PostPosted: Wed Oct 21, 2009 6:40 pm
by williamconley
Yep, you are likely pretty much "At Capacity" if not over it. g729 and recording are the culprits.

Although, you really should not be anywhere near your load on the apache/mysql server with that load, honestly.

The recommended server load for good stability and call quality is 50% (.5 if one CPU 1.0 if two ... etc).

If as you say you are getting good call quality, I would experiment with added load during moments when the Tech is there and you dont mind a reboot and/or mysql repair. Pushing it too hard when you reach capacity can be somewhat disruptive.