SlideShare a Scribd company logo
IP PBX Asterisk ® cloud installation
load testing
Evgeny Anvaer, Vladimir Dudchenko, Dmitry
Komov
SoftBCom, Ltd. (www.softbcom.ru)
12.04.2014
IP PBX Asterisk ® cloud installation
load testing: the task and results
• Is it real to get an IP PBX installation for as little as 8 Euro a
month? Yes, when using cloud platform. But surprising
result we’ve got in out testing is that Asterisk installed on
smallest virtual server VQ7 of Hetzner (1 virtual CPU, 512
MB RAM, 20GB HDD), 8 Euro/ month, can stand the load of
70 concurrent users.
• We successfully use such an installation for a few months.
But our load test outlined below confirms the fantastic
throughput level of such an installation.
Testing methodology
Below is the usual scheme of IP PBX load creation:
Definitely, it is an embarrassing to generate more than 20 concurrent calls
in such a way, using manual dialing.
Real load testing approach
For load generation the Wombat Dialer™ system (http://wombatdialer.com/) was
used. It was kindly presented us by Swiss company Loway.
Wombat Dialer is designed for automated ringing round big number of customers.
The load generation and measurements
The calls from local Asterisk on the scheme above were forwarded to the tested
Asterisk server, which was making connections, and then playing back music into
the line. Tested server recorded all the calls. The number of concurrent test calls
was set in Wombat Dialer.
The number of concurrent calls Peak CPU usage in tested
asterisk
Peak RAM usage in tested
asterisk
Quality of hearing
10 10% 4,3% Excellent
20 19% 4,6% Excellent
30 26,9% 4,7% Excellent
40 35,2% 5% Excellent
50 43,2% 5,3% Excellent
70 59,1% 5,8% Excellent
90 76,7% 6,5% Excellent
100 76,7% 9,9% Good
105 79,4% 9,4% Noticeable distortions
126 81,4% 9,5% Hard distortions
CPU load dependency
from the concurrent calls number
0%
10%
20%
30%
40%
50%
60%
70%
80%
90%
0 20 40 60 80 100 120 140
As the CPU load level was permanently varying, only maximum values achieved
in the 2 minutes interval (duration of testing session) were included into the
measurements results. In repeated testing sessions the deviation of the values
was in the range of 5% – 10%
The conclusion: the cloud Asterisk installation
can stand about 70 concurrent calls
• In direct measurements cloud installation of IP PBX Asterisk
demonstrated capability to serve up to 90 -100 concurrent calls.
• Considering influence of systematic errors (in our case the tested
Asterisk didn’t make outbound calls) and accidental dispersion of
registered values it is necessary to apply margin level of approximately
25%-30%.
• The result: the load limit in reality should be set at the level of
somewhat 70 concurrent calls.
• Definitely this result is only a kind of estimation, and shouldn’t be
treated as a “firm” recommendation.
• For the cases when the planned load level of production system
exceeds half of upper limit outlined above we would propose setting a
CPU load monitoring with alerting for threshold of 60 -70% or so - for
real load control.

More Related Content

Recently uploaded

Recently uploaded (20)

The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
НАДІЯ ФЕДЮШКО БАЦ «Професійне зростання QA спеціаліста»
НАДІЯ ФЕДЮШКО БАЦ  «Професійне зростання QA спеціаліста»НАДІЯ ФЕДЮШКО БАЦ  «Професійне зростання QA спеціаліста»
НАДІЯ ФЕДЮШКО БАЦ «Професійне зростання QA спеціаліста»
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Asterisk cloud installation load testing eng

  • 1. IP PBX Asterisk ® cloud installation load testing Evgeny Anvaer, Vladimir Dudchenko, Dmitry Komov SoftBCom, Ltd. (www.softbcom.ru) 12.04.2014
  • 2. IP PBX Asterisk ® cloud installation load testing: the task and results • Is it real to get an IP PBX installation for as little as 8 Euro a month? Yes, when using cloud platform. But surprising result we’ve got in out testing is that Asterisk installed on smallest virtual server VQ7 of Hetzner (1 virtual CPU, 512 MB RAM, 20GB HDD), 8 Euro/ month, can stand the load of 70 concurrent users. • We successfully use such an installation for a few months. But our load test outlined below confirms the fantastic throughput level of such an installation.
  • 3. Testing methodology Below is the usual scheme of IP PBX load creation: Definitely, it is an embarrassing to generate more than 20 concurrent calls in such a way, using manual dialing.
  • 4. Real load testing approach For load generation the Wombat Dialer™ system (http://wombatdialer.com/) was used. It was kindly presented us by Swiss company Loway. Wombat Dialer is designed for automated ringing round big number of customers.
  • 5. The load generation and measurements The calls from local Asterisk on the scheme above were forwarded to the tested Asterisk server, which was making connections, and then playing back music into the line. Tested server recorded all the calls. The number of concurrent test calls was set in Wombat Dialer. The number of concurrent calls Peak CPU usage in tested asterisk Peak RAM usage in tested asterisk Quality of hearing 10 10% 4,3% Excellent 20 19% 4,6% Excellent 30 26,9% 4,7% Excellent 40 35,2% 5% Excellent 50 43,2% 5,3% Excellent 70 59,1% 5,8% Excellent 90 76,7% 6,5% Excellent 100 76,7% 9,9% Good 105 79,4% 9,4% Noticeable distortions 126 81,4% 9,5% Hard distortions
  • 6. CPU load dependency from the concurrent calls number 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 0 20 40 60 80 100 120 140 As the CPU load level was permanently varying, only maximum values achieved in the 2 minutes interval (duration of testing session) were included into the measurements results. In repeated testing sessions the deviation of the values was in the range of 5% – 10%
  • 7. The conclusion: the cloud Asterisk installation can stand about 70 concurrent calls • In direct measurements cloud installation of IP PBX Asterisk demonstrated capability to serve up to 90 -100 concurrent calls. • Considering influence of systematic errors (in our case the tested Asterisk didn’t make outbound calls) and accidental dispersion of registered values it is necessary to apply margin level of approximately 25%-30%. • The result: the load limit in reality should be set at the level of somewhat 70 concurrent calls. • Definitely this result is only a kind of estimation, and shouldn’t be treated as a “firm” recommendation. • For the cases when the planned load level of production system exceeds half of upper limit outlined above we would propose setting a CPU load monitoring with alerting for threshold of 60 -70% or so - for real load control.