Posts Tagged 'performance'

Evaluating PJMEDIA Performance

Performance is one of the most common questions that developers asked. We’ve been asked questions like, can I run X on platform Y, or how much MIPS required to run component X, and so far our answer would be I don’t know, or at best, why don’t you try it yourself and see what happens.

So we decided to do a bit of benchmarking for pjmedia for several platforms that we have, and you can see the result here:

http://trac.pjsip.org/repos/wiki/PJMEDIA-MIPS.

The test covers various platforms, and sometimes the same H/W platform but different OS’es (Linux/gcc vs Windows/Visual Studio) to see how they fare, and of course various PJMEDIA components.

As the article says, there are some drawbacks about the test method used, but nevertheless I think it could be useful to see the rough CPU requirements of various PJMEDIA components. Certainly it has been useful to us, and in fact there have been some surprises with the results. For example, we expected that WSOLA (Waveform Similarity Overlap and Add, the algorithm that we use to conceal packet lost and to handle clock drifts) to take large chunks of CPU usage, but turns out it is quite fast. Also resampling with small filter looks to be quite affordable too.

We’ll look forward to measure the performance on more platforms (notably, Symbian), and we’ll keep track of the performance for future releases. In the meantime, enjoy the article.

The Open Source Zone » PJSIP and PJMEDIA review

 Peetre has this to say:

Benny and his team have done an absolutely fabulous job with the stack. This stack is very light and wicked fast ! Above all its performance highlights, for a developer, their documentation is outstanding. A very clean project design framework, extremely portable, and very very efficient. I urge you to give it a spin !

The Open Source Zone ยป PJSIP and PJMEDIA review

Once in a while, your day brightens with kind words from our great community of users.

Thanks for the nice review, Peetre!