SlideShare a Scribd company logo
1 of 20
RADVISION Developer Solutions
 Technology Business Unit Overview




Name Sagi Subocki      Title Products Manager




                              Developer Community
Welcome to RADVISION
THE INDUSTRY’S EXPERT IN VISUAL COMMUNICATIONS




RADVISION is the leading provider of core technologies, products

and solutions that enable unified multimedia communications over IP,

3G and emerging next generation IMS networks.
RADVISION
  Powering Voice and Video Communications


  Leader Since    1992
  Over 450 Employees Worldwide

  Global presence with17 Offices
  Worldwide

  Revenue of $85m in 2008
  (NASDAQ:RVSN)

  Cash   $120m     Debt Free
Radvision and Intel Parallel Suite
 Improving SIP Toolkit performance




Name Ofer Goren        Title Senior Software Engineer, SIP Toolkit




                               Developer Community
What is SIP?



  SIP – Session Initiation Protocol (RFC 3261)
  Signaling path to establish and tear-down calls
  Different path for Media
  Text-based, based on HTTP
  Client-Server interactions
  Highly extensible
The problem



 Growing popularity of multi-core platforms
 Growing demand for optimized utilization of
 these platforms.
 To enable scaling up according to active
 working threads.
 My Boss is upset.
Decisions



 It is multi-core era, we should have the best
 solution for such environments
 RADVISION Toolkits supports many platforms, so
 we should not focus on low-level (Hardware
 specific optimizations)
 Generalize the work to multi-thread scaling
 Focus on server side as well as client side
Work flow



 Benchmark current version
 Gather the best minds in the industry (yes, we
 have them) and form a Multi-Threading
 Optimization task force
 Accepting Intel request to be a beta site
 (Important!!!)
 Using Intel tools to check for bottlenecks
 Identify key issues
Work flow - continue



 Address the nation (well, only the team)
 and brainstorm
 Find the solution and apply
 Benchmark again
 If fixed, go to the next issue.
Few words on architecture




   Select()              Working Threads




              Ev Queue
Working with Intel Parallel Beta
Findings



 While one thread is working…



 the others are sleeping. A LOT.
More closely on Intel Tools
Scaling up



 Main hash was locked for each message.
    Solution: use more than one hash
 Pool of pages for messages was
 locked on each allocation
    Solution: divide the pool to several smaller pools,
    lock only sub-pool
 Large amount of code was unnecessarily locked
    Solution: Pay attention to layers, lock only hash-
    related/critical section
Results



  Improving core utilization by 80%
  Improve toolkit efficiency by 60%

  Boss is happy
TBB and OpenMP



 Why not using TBB (Threading Building Blocks)
 or OpenMP
   Porting issues (VxWorks, Psos…)
   Mid-level solutions (improving for-loops, while, hash
   function)
   For number crunching, or small, focused sub-work
   Old compilers do not support OpenMP (GNU old
   versions)
Questions?
Thank you

More Related Content

More from RADVISION Ltd.

FutureComm 2010: Making Real-Time Video Work Over the Internet
FutureComm 2010: Making Real-Time Video Work Over the InternetFutureComm 2010: Making Real-Time Video Work Over the Internet
FutureComm 2010: Making Real-Time Video Work Over the Internet
RADVISION Ltd.
 
FutureComm 2010: SIP Server Applications on Embedded Platforms
FutureComm 2010: SIP Server Applications on Embedded PlatformsFutureComm 2010: SIP Server Applications on Embedded Platforms
FutureComm 2010: SIP Server Applications on Embedded Platforms
RADVISION Ltd.
 
FutureComm 2010: HD Video to the Desktop - Desktop UC Client Engine
FutureComm 2010: HD Video to the Desktop - Desktop UC Client EngineFutureComm 2010: HD Video to the Desktop - Desktop UC Client Engine
FutureComm 2010: HD Video to the Desktop - Desktop UC Client Engine
RADVISION Ltd.
 
FutureComm 2010: Scaling Advanced VoIP Telecom Services
FutureComm 2010: Scaling Advanced VoIP Telecom ServicesFutureComm 2010: Scaling Advanced VoIP Telecom Services
FutureComm 2010: Scaling Advanced VoIP Telecom Services
RADVISION Ltd.
 
FutureComm 2010: IP Video Communications - Trends and Challenges
FutureComm 2010: IP Video Communications - Trends and ChallengesFutureComm 2010: IP Video Communications - Trends and Challenges
FutureComm 2010: IP Video Communications - Trends and Challenges
RADVISION Ltd.
 
LTE – the Future of IMS
LTE – the Future of IMSLTE – the Future of IMS
LTE – the Future of IMS
RADVISION Ltd.
 

More from RADVISION Ltd. (17)

FutureComm 2010: Making Real-Time Video Work Over the Internet
FutureComm 2010: Making Real-Time Video Work Over the InternetFutureComm 2010: Making Real-Time Video Work Over the Internet
FutureComm 2010: Making Real-Time Video Work Over the Internet
 
FutureComm 2010: LTE and RCS
FutureComm 2010: LTE and RCSFutureComm 2010: LTE and RCS
FutureComm 2010: LTE and RCS
 
FutureComm 2010: SIP Server Applications on Embedded Platforms
FutureComm 2010: SIP Server Applications on Embedded PlatformsFutureComm 2010: SIP Server Applications on Embedded Platforms
FutureComm 2010: SIP Server Applications on Embedded Platforms
 
FutureComm 2010: Solving the Android - iPhone puzzle
FutureComm 2010: Solving the Android - iPhone puzzleFutureComm 2010: Solving the Android - iPhone puzzle
FutureComm 2010: Solving the Android - iPhone puzzle
 
FutureComm 2010: HD Video to the Desktop - Desktop UC Client Engine
FutureComm 2010: HD Video to the Desktop - Desktop UC Client EngineFutureComm 2010: HD Video to the Desktop - Desktop UC Client Engine
FutureComm 2010: HD Video to the Desktop - Desktop UC Client Engine
 
FutureComm 2010: Scaling Advanced VoIP Telecom Services
FutureComm 2010: Scaling Advanced VoIP Telecom ServicesFutureComm 2010: Scaling Advanced VoIP Telecom Services
FutureComm 2010: Scaling Advanced VoIP Telecom Services
 
FutureComm 2010: IP Video Communications - Trends and Challenges
FutureComm 2010: IP Video Communications - Trends and ChallengesFutureComm 2010: IP Video Communications - Trends and Challenges
FutureComm 2010: IP Video Communications - Trends and Challenges
 
SIP servers on embedded systems: Powering SoHo communications
SIP servers on embedded systems: Powering SoHo communicationsSIP servers on embedded systems: Powering SoHo communications
SIP servers on embedded systems: Powering SoHo communications
 
Voice and Video over IP Communications: Assessing and Improving User Experience
Voice and Video over IP Communications: Assessing and Improving User ExperienceVoice and Video over IP Communications: Assessing and Improving User Experience
Voice and Video over IP Communications: Assessing and Improving User Experience
 
LTE – the Future of IMS
LTE – the Future of IMSLTE – the Future of IMS
LTE – the Future of IMS
 
SIP Beyond Telecom
SIP Beyond TelecomSIP Beyond Telecom
SIP Beyond Telecom
 
The Secrets of SVC (NBU)
The Secrets of SVC (NBU)The Secrets of SVC (NBU)
The Secrets of SVC (NBU)
 
Improving Video Quality in Your Network
Improving Video Quality in Your NetworkImproving Video Quality in Your Network
Improving Video Quality in Your Network
 
HD video clients on a platter
HD video clients on a platterHD video clients on a platter
HD video clients on a platter
 
UC: From Client To Infrastructure (or UC Down to Earth)
UC: From Client To Infrastructure(or UC Down to Earth)UC: From Client To Infrastructure(or UC Down to Earth)
UC: From Client To Infrastructure (or UC Down to Earth)
 
Leveraging Unified Communications on IMS networks
Leveraging Unified Communications on IMS networksLeveraging Unified Communications on IMS networks
Leveraging Unified Communications on IMS networks
 
A Look Into the Unified Communication World
A Look Into the Unified Communication WorldA Look Into the Unified Communication World
A Look Into the Unified Communication World
 

Recently uploaded

Recently uploaded (20)

Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

Radvision and Intel Parallel Suite: Improving SIP Stack Performance

  • 1. RADVISION Developer Solutions Technology Business Unit Overview Name Sagi Subocki Title Products Manager Developer Community
  • 2. Welcome to RADVISION THE INDUSTRY’S EXPERT IN VISUAL COMMUNICATIONS RADVISION is the leading provider of core technologies, products and solutions that enable unified multimedia communications over IP, 3G and emerging next generation IMS networks.
  • 3. RADVISION Powering Voice and Video Communications Leader Since 1992 Over 450 Employees Worldwide Global presence with17 Offices Worldwide Revenue of $85m in 2008 (NASDAQ:RVSN) Cash $120m Debt Free
  • 4. Radvision and Intel Parallel Suite Improving SIP Toolkit performance Name Ofer Goren Title Senior Software Engineer, SIP Toolkit Developer Community
  • 5. What is SIP? SIP – Session Initiation Protocol (RFC 3261) Signaling path to establish and tear-down calls Different path for Media Text-based, based on HTTP Client-Server interactions Highly extensible
  • 6. The problem Growing popularity of multi-core platforms Growing demand for optimized utilization of these platforms. To enable scaling up according to active working threads. My Boss is upset.
  • 7. Decisions It is multi-core era, we should have the best solution for such environments RADVISION Toolkits supports many platforms, so we should not focus on low-level (Hardware specific optimizations) Generalize the work to multi-thread scaling Focus on server side as well as client side
  • 8. Work flow Benchmark current version Gather the best minds in the industry (yes, we have them) and form a Multi-Threading Optimization task force Accepting Intel request to be a beta site (Important!!!) Using Intel tools to check for bottlenecks Identify key issues
  • 9. Work flow - continue Address the nation (well, only the team) and brainstorm Find the solution and apply Benchmark again If fixed, go to the next issue.
  • 10. Few words on architecture Select() Working Threads Ev Queue
  • 11. Working with Intel Parallel Beta
  • 12.
  • 13.
  • 14. Findings While one thread is working… the others are sleeping. A LOT.
  • 15. More closely on Intel Tools
  • 16. Scaling up Main hash was locked for each message. Solution: use more than one hash Pool of pages for messages was locked on each allocation Solution: divide the pool to several smaller pools, lock only sub-pool Large amount of code was unnecessarily locked Solution: Pay attention to layers, lock only hash- related/critical section
  • 17. Results Improving core utilization by 80% Improve toolkit efficiency by 60% Boss is happy
  • 18. TBB and OpenMP Why not using TBB (Threading Building Blocks) or OpenMP Porting issues (VxWorks, Psos…) Mid-level solutions (improving for-loops, while, hash function) For number crunching, or small, focused sub-work Old compilers do not support OpenMP (GNU old versions)