loadavg

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

loadavg

Postby ruben23 » Mon Oct 19, 2009 5:49 pm

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. :)
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby mflorell » Mon Oct 19, 2009 5:58 pm

2 CPU cores means you shouldn't run over 2.0 loadavg in general
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ruben23 » Mon Oct 19, 2009 6:20 pm

so mflorell im running on overload...? now what would i do to correct this..? :(
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby okli » Mon Oct 19, 2009 7:15 pm

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.
okli
 
Posts: 671
Joined: Mon Oct 01, 2007 5:09 pm

Postby ruben23 » Mon Oct 19, 2009 8:56 pm

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
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

thanks

Postby brett05 » Mon Oct 19, 2009 9:03 pm

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 ?
Jasperreports & Queuemetrics & SugarCRM integration - Customization and Add-ons
Freepbx||Billing||Centos||Opensuse||Debian||Centos||Fedora||Sangoma||Diguim
brett05
 
Posts: 571
Joined: Sun May 24, 2009 5:48 pm
Location: tunisia

Postby williamconley » Mon Oct 19, 2009 9:34 pm

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.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20427
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby ruben23 » Tue Oct 20, 2009 12:10 pm

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.
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby williamconley » Tue Oct 20, 2009 1:44 pm

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.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20427
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby ruben23 » Wed Oct 21, 2009 10:54 am

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. :(
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby williamconley » Wed Oct 21, 2009 6:40 pm

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.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20427
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)


Return to Support

Who is online

Users browsing this forum: No registered users and 81 guests