On-hook agent and system load

All installation and configuration problems and questions

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

On-hook agent and system load

Postby rahat651 » Wed Jun 24, 2020 5:32 am

Hi,
We have a group of remote agents on PSTN phone. For the call queue to dial the next number if the previous number is busy we had to set the On-Hook to 'Y'.
Question is since all the agents are on mobile phone and not using web login will it create serious load on the system?
i.e. on a 16GB RAM and 2Ghz core i3 machine will it be able to handle 15 concurrent calls if there are 5000 remote agents in the queue?
Vicibox 9.0.2
Vicidial 2.14-761a, Build 200708-1033
SVN 3265, DB Schema 1600
Asterisk 13.29.2-vici
mysql Ver 15.1 Distrib 10.2.32-MariaDB, for Linux (x86_64), No Extra Software
Virtual Machine, 16GB RAM, Duel Intel Xeon Processor (Skylake, IBRS) 2.0 Ghz
rahat651
 
Posts: 41
Joined: Mon Jun 22, 2020 4:07 am

Re: On-hook agent and system load

Postby mflorell » Wed Jun 24, 2020 5:18 pm

5000 remote agents will probably cause load issues. We have seen this issue before, but I don't really have a detailed scaling recommendation, it depends on how everything is configured.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: On-hook agent and system load

Postby williamconley » Wed Jun 24, 2020 5:47 pm

5000 doesn't sound like "remote agents", it sounds more like "prospects" ... these should be leads not agents!
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: On-hook agent and system load

Postby rahat651 » Wed Jun 24, 2020 6:55 pm

5000 agents but not active at the same time on the same inbound group. They are divided into 20/30 groups and not all of them will be active at the same time. But yes, 5000 of them will be there as remote agents. Considering that what will the system be enough or we have to scale it up?
Vicibox 9.0.2
Vicidial 2.14-761a, Build 200708-1033
SVN 3265, DB Schema 1600
Asterisk 13.29.2-vici
mysql Ver 15.1 Distrib 10.2.32-MariaDB, for Linux (x86_64), No Extra Software
Virtual Machine, 16GB RAM, Duel Intel Xeon Processor (Skylake, IBRS) 2.0 Ghz
rahat651
 
Posts: 41
Joined: Mon Jun 22, 2020 4:07 am

Re: On-hook agent and system load

Postby carpenox » Wed Jun 24, 2020 7:23 pm

def not enough on the specs....
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2423
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: On-hook agent and system load

Postby williamconley » Wed Jun 24, 2020 8:09 pm

The Vicidial system isn't really aware of inactive remote agents. Inactive SIP phones? Yes, because they appear in the sip-vicidial.conf file even when not registered, which would take an inordinate amount of time to load at any point asterisk has to interact with the file, in addition to the berkeley (live, loaded into memory) table representing all those sip accounts.

But 5000 entries in the remote agent table all being ignored except 20-30? Not a problem except during the loading of the web page to display them all. I might advise creating a tool to activate/deactive them outside that interface (activate/deactivate is a simple mysql query for individuals or groups). In fact, remote agents have a special login so they can "activate" their own remote agent entry by logging in.

Of course, you'll need 5000 users to go with those 5000 remote agents, and that will cause issues with the showing of the Users listing page. Simple enough to test, load up 5000 fake entries and check it out. While loading the "List Users" page (and sections in other modules, such as Ingroups) and the "Remote Agents" page will be slow, however, it shouldn't be a problem for functionality. Just be patient when those pages load.

I will note, however, that "i3" means nothing. Sorta like saying "would it be better to drive a Red or a White car on the freeway?" Irrelevant: How Many Cores? Two? Not likely to be happy with the result. Four? Perhaps ... test it. Ordinarily for our standard server we like to suggest four cores at 2.3+Ghz with 2G RAM as kind of the bare minimum. But two cores? MAY work, but I'd be surprised.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: On-hook agent and system load

Postby carpenox » Wed Jun 24, 2020 9:01 pm

either way an i3 has 4 threads.....if its dual core then hyper threading is active already and if its 4 core such as the 8th gen 8300 then you would have 8 threads which would run A LOT smoother if you have 16gb of ram.
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2423
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: On-hook agent and system load

Postby williamconley » Wed Jun 24, 2020 9:42 pm

Not all Core i3 CPUs have hyperthreading (being the cheapest offering) and if they do, it may (or may not) provide a slight advantage or disadvantage. We have not yet found an advantage to use of hyperthreading on a server from 2 cores to 40 cores. We have clients that leave it on, and clients that insist it be off. Everyone's experience is of course personal, but load testing has not (to date) proven that the microsoft-windows-advantage-designed hyperthreading system will "fool" perl hi-res timing.

Put it under severe load, and watch it disintigrate. Not as bad as vSphere or a truly virtualized CPU, but not anywhere near perfection, either. So far, we have not proven an advantage to hyperthreading except in 40 core systems with slower processors being able to keep ALL Eighty Cores busy and pushing out processes fast enough to not overload.

When the core count dwindles that advantage tends to die off quickly since they tend to become unstable too quickly ... defeating the purpose of hyperthreading: calls routing incorrectly (and unpredictably so) under heavy load is simply not viable from a "Customer Service" standpoint.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: On-hook agent and system load

Postby rahat651 » Thu Jun 25, 2020 5:24 am

William, thanks for the very insightful information.
Vicibox 9.0.2
Vicidial 2.14-761a, Build 200708-1033
SVN 3265, DB Schema 1600
Asterisk 13.29.2-vici
mysql Ver 15.1 Distrib 10.2.32-MariaDB, for Linux (x86_64), No Extra Software
Virtual Machine, 16GB RAM, Duel Intel Xeon Processor (Skylake, IBRS) 2.0 Ghz
rahat651
 
Posts: 41
Joined: Mon Jun 22, 2020 4:07 am


Return to Support

Who is online

Users browsing this forum: No registered users and 84 guests