Page 1 of 1

How many agents with this settings?

PostPosted: Fri Feb 23, 2007 10:10 am
by eijal
Hi,
May be you can give me some idea of how many agents I can have, with this settings:

CPU:
Procesor: 64 bits Intel Dual Xeon 1.6 Ghz
Bus speed: 1.066 Ghz
RAM: 2.0 GB 533Mhz
Hard Disk: Two SATA of 160 GB with RAID 1 (With card, not software RAID)

ASTERISK
TRUNK: IAX2
TIMER: X100P or ztdummy (is there some difference?)
CODEC: GSM or iLBC (From the softphones to my VoIP Provider, It means that Asterisk doesn't need to make any TRANSCODING. isn't it? Or maybe for the conference rooms Asterisk needs to make TRANSCODING?)

VICIDIAL
Record: Always recording

PostPosted: Fri Feb 23, 2007 11:20 am
by mflorell
Will your Database and Web server be located on this server too?

How many lines-per-agent will you be dialing up to?

PostPosted: Fri Feb 23, 2007 11:23 am
by eijal
mflorell wrote:Will your Database and Web server be located on this server too?

How many lines-per-agent will you be dialing up to?


Yes, they will. The Database and Web server will be located on this server too.
Vicidial will be dialing 2 lines per agent

Thanks

PostPosted: Fri Feb 23, 2007 12:09 pm
by mflorell
You might be able to have 10-15 agents on this server.

The bottlenecks are the GSM transcoding, the recording of all calls, the use of ztdummy and having the DB/Webserver on the same machine

If you move the DB/webserver to another machine and use an X100P card you might be able to get upto 20 agents cleanly on this server.

TRANSCODING GSM

PostPosted: Sat Feb 24, 2007 12:53 pm
by eijal
Does Asterisk need to make some TRANSCODING? Because:

- The softphones from the Agents send the packet voice in GSM format to Asterisk and receive in GSM format too.

- Asterisk sends and receives the packet voice in GSM format to/from the VoIP provider

With this scenario, I think Asterisk doesn't need to make any TRANSCODING. But may be for the conferences rooms Asterisk needs to make TRANSCODING. I'm not really sure

PostPosted: Sun Feb 25, 2007 8:24 am
by mflorell
VICIDIAL will do transcoding because meetme transcodes everything.

Recomendation

PostPosted: Thu Mar 01, 2007 12:53 pm
by eijal
OK,
If everything and everybody is using the same codec (GSM) and meetme is always making TRANSCODING (GSM <--> uLaw <--> GSM). May be for a little better performance of my SERVER, it's better that the softphones from the Agents use the CODEC uLaw and my IAX2 TRUNK is still using GSM, for less bandwidth consumption,(uLaw <--> uLaw <--> GSM).

Is it correct? or it's better that everything and everybody is using the same codec (GSM).

PD.
I always need to use the GSM CODEC for the IAX2 TRUNKS

PostPosted: Thu Mar 01, 2007 10:15 pm
by mflorell
Yes, if you use ULAW for the agents it will be better than GSM in terms of load.

load average question

PostPosted: Mon Mar 12, 2007 4:00 pm
by eijal
With these settings:
CPU:
Procesor: 64 bits Intel Dual Xeon 1.6 Ghz
Bus speed: 1.066 Ghz
RAM: 2.0 GB 533Mhz
Hard Disk: Two SATA of 160 GB with RAID 1 (With card, not software RAID)

ASTERISK:
TRUNK: IAX2
TIMER: ztdummy
CODEC: GSM for IAX2 TRUNKS and uLaw for Agents

VICIDIAL:
RECORD: Always recording only for three agents
DIAL LEVEL: 1.2
WEB SERVER, DATABASE IN THE SAME MACHINE WITH ASTERISK AND VICIDIAL

I have this with the load of the server
Code: Select all
top - 16:47:53 up  7:42,  3 users,  load average: 2.24, 2.42, 2.43
Tasks: 113 total,   1 running, 112 sleeping,   0 stopped,   0 zombie
Cpu(s): 19.6% us,  5.5% sy,  0.0% ni, 73.6% id,  0.2% wa,  0.0% hi,  1.2% si
Mem:   2055356k total,  1967292k used,    88064k free,    36936k buffers
Swap:  2031608k total,        0k used,  2031608k free,  1603224k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 4313 root      16   0  203m  20m 4952 S    9  1.0  29:54.20 asterisk
 3690 mysql     15   0  155m  30m 4280 S    5  1.5  16:59.40 mysqld
 5151 root      16   0 40508 9.8m 2768 S    4  0.5  13:24.35 AST_update.pl
 3040 apache    16   0  112m 9872 2708 S    3  0.5   0:24.91 httpd
 8813 apache    15   0  114m  12m 3064 S    3  0.6   0:22.73 httpd
18405 apache    16   0  116m  14m 3112 S    3  0.7   0:34.79 httpd
18208 apache    16   0  113m  10m 2716 S    2  0.5   0:32.78 httpd
 8065 root      18   0 20912 6484 1800 S    2  0.3   0:00.07 AST_send_action
18404 apache    15   0  113m  10m 2620 S    2  0.5   0:33.55 httpd
21403 apache    15   0  113m  10m 2608 S    2  0.5   0:31.80 httpd
 8049 root      18   0 20912 6484 1800 S    2  0.3   0:00.07 AST_send_action
13995 apache    16   0  110m 8088 2596 S    2  0.4   0:20.33 httpd
14308 apache    15   0  110m 8104 2600 S    2  0.4   0:20.74 httpd
18678 apache    16   0  110m 8180 2604 S    2  0.4   0:07.17 httpd
19925 apache    15   0  110m 8180 2604 S    2  0.4   0:07.23 httpd
 1078 apache    16   0  116m  14m 3120 S    1  0.7   0:27.00 httpd
14575 apache    16   0  113m  10m 2716 S    1  0.5   0:19.78 httpd
 5168 root      16   0 38520 9.8m 2680 S    1  0.5   1:20.59 AST_VDauto_dial
18327 apache    16   0  116m  14m 3144 S    1  0.7   0:42.07 httpd
 4278 root      15   0 41108  10m 2812 S    0  0.5   0:10.60 FastAGI_log.pl
 5157 root      15   0 41004  10m 2768 S    0  0.5   0:53.29 AST_manager_lis
 5159 root      16   0 12004  864  488 S    0  0.0   0:03.83 screen
31434 root      16   0 41208 9540 1632 S    0  0.5   0:02.39 FastAGI_log.pl
  754 root      16   0 41204 9540 1632 S    0  0.5   0:02.32 FastAGI_log.pl
 7304 root      16   0  6148 1032  776 R    0  0.1   0:00.04 top
    1 root      15   0  4752  552  460 S    0  0.0   0:02.11 init
    2 root      RT   0     0    0    0 S    0  0.0   0:00.06 migration/0
    3 root      34  19     0    0    0 S    0  0.0   0:00.05 ksoftirqd/0
    4 root      RT   0     0    0    0 S    0  0.0   0:00.07 migration/1
    5 root      34  19     0    0    0 S    0  0.0   0:00.05 ksoftirqd/1
    6 root       5 -10     0    0    0 S    0  0.0   0:00.00 events/0
    7 root       5 -10     0    0    0 S    0  0.0   0:00.00 events/1
    8 root       7 -10     0    0    0 S    0  0.0   0:00.00 khelper
    9 root      15 -10     0    0    0 S    0  0.0   0:00.00 kacpid
   57 root       5 -10     0    0    0 S    0  0.0   0:00.00 kblockd/0
   58 root       5 -10     0    0    0 S    0  0.0   0:00.00 kblockd/1
   59 root      15   0     0    0    0 S    0  0.0   0:00.11 khubd
   82 root      20   0     0    0    0 S    0  0.0   0:00.00 pdflush

And my System Load Average is from 1.x to 4.x

I am having issues with delay and specially that the voices comunication are chooppy

My questions are:
What should be the most high value for the System Load Average?
What is the best way to reduce the System Load Average? Timer with a DIGIUM card? and/or Another dual XEON procesor? and/or another machine where can I have the WEB SERVER AND DATABASE?

PostPosted: Mon Mar 12, 2007 11:10 pm
by mflorell
Are these Xeon processors single core, dual core or quad core each?

What kind of internet connection are you using?

recording all calls can artificially inflate your system load.

using a hardware zaptel timer can help some of your audio issues when you have a high load.

PostPosted: Tue Mar 13, 2007 10:07 am
by ramindia
Hi

just to clarify myself on the same config

Xeon Dual core 2 CPU
with 4GB RAM
10000RPM SCSI HDD
1MB Internet
X100P Timer card

3 calls per agent ( autodial method)

all in one server

VICI
Asterisk
Apache
Recording


how many agents can achive this setup

ram

PostPosted: Tue Mar 13, 2007 3:16 pm
by mflorell
I don't really know. I would guess that 15 agents should work just fine with GSM VOIP calls and ALLCALLS recording on that hardware.