Resources.TestsUsrloc HistoryShow minor edits - Show changes to markup April 24, 2013, at 02:34 PM
by
- Changed lines 1-56 from:
Resources -> Performance Tests -> User location - search performanceThis page has been visited 6581 times. (:toc-float Table of Content:) User locations are in general stored in memory for faster searches. Up to OpenSIPS 1.6.0 they were held in a hash-table for faster searching. The trunk (OpenSIPS 1.7.0 (devel)) contains a new version that combines the use of hash-tables and balanced search trees. The tests were conducted in order to determine the real gain of the balanced search trees in cases with many registered users. What are the theoretical gains ?Hash-tables supply a constant query time as long as they are not loaded too much. After a certain limit search time rises linear with the number of registered users. Balanced search trees are used to prevent this from happening. Performance testsThe tests were done using OpenSIPS 1.6.0 as reference point for search time. OpenSIPS 1.7.0 (devel) is the candidate whose performance was measured. Search performance testsThe test was performed with a constant number of 100.000 registered users. Queries were done for users registered at different times ( in the original implementation query time was dependant on how close a user was to the begining of the list). http://www.opensips.org/uploads/Resources/general_comparison.jpg | General view Results:
-> BOOST = 3.25 times faster http://www.opensips.org/uploads/Resources/single_sample.jpg | Single Sample (detail) Conclusions
to:
(:redirect About.PerformanceTests-UserLocation quiet=1:) February 11, 2010, at 02:37 PM
by
- Changed line 41 from:
http://www.opensips.org/uploads/Resources/single_sample.jpg | Single Sample (detail) to:
http://www.opensips.org/uploads/Resources/single_sample.jpg | Single Sample (detail) February 11, 2010, at 02:36 PM
by
- Changed line 41 from:
http://www.opensips.org/uploads/Resources/single_sample.jpg | Single Sample (detail) to:
http://www.opensips.org/uploads/Resources/single_sample.jpg | Single Sample (detail) November 13, 2009, at 04:50 PM
by
- Changed line 47 from:
to:
November 13, 2009, at 04:47 PM
by
- Changed line 33 from:
to:
Changed line 38 from:
-> BOOST = 64 % to:
-> BOOST = 3.25 times faster November 04, 2009, at 06:19 PM
by
- Changed lines 6-7 from:
User locations are in general stored in memory for faster searches. Up to OpenSIPS 1.6.0 they were held in a hash-table for faster searching. The trunk contains a new version that combines the use of hash-tables and balanced search trees. to:
User locations are in general stored in memory for faster searches. Up to OpenSIPS 1.6.0 they were held in a hash-table for faster searching. The trunk (OpenSIPS 1.7.0 (devel)) contains a new version that combines the use of hash-tables and balanced search trees. Changed line 15 from:
Hash-tables supply a constant query time as long as they are not loaded to much. After a certain limit search time rises linear with the number of registered users. Balanced search trees are used to prevent this from happening. to:
Hash-tables supply a constant query time as long as they are not loaded too much. After a certain limit search time rises linear with the number of registered users. Balanced search trees are used to prevent this from happening. November 04, 2009, at 06:15 PM
by - November 04, 2009, at 06:15 PM
by
- Changed line 49 from:
to:
November 04, 2009, at 06:14 PM
by
- Changed line 30 from:
http://www.opensips.org/uploads/Resources/general_comparison.jpg | Chart 1 to:
http://www.opensips.org/uploads/Resources/general_comparison.jpg | General view Changed lines 41-52 from:
http://www.opensips.org/uploads/Resources/single_sample.jpg | Chart 2 to:
http://www.opensips.org/uploads/Resources/single_sample.jpg | Single Sample (detail) Conclusions
November 04, 2009, at 06:09 PM
by
- Changed line 30 from:
http://www.opensips.org/uploads/Resources/general_comparison.jpg | Chart 1 to:
http://www.opensips.org/uploads/Resources/general_comparison.jpg | Chart 1 Changed line 41 from:
http://www.opensips.org/uploads/Resources/single_sample.jpg | Chart 2 to:
http://www.opensips.org/uploads/Resources/single_sample.jpg | Chart 2 November 04, 2009, at 06:08 PM
by
- Changed lines 33-36 from:
to:
Changed lines 38-43 from:
-> BOOST = 21 % See full size chart See OpenOffice SpreadSheet with all result values. to:
-> BOOST = 64 % Added lines 40-43:
http://www.opensips.org/uploads/Resources/single_sample.jpg | Chart 2 November 04, 2009, at 06:03 PM
by
- Changed lines 23-24 from:
Tests were performed with 100000 registered users. to:
Changed lines 27-33 from:
This test (using auth_db module) was focus in measuring he gain of a simple query:
Scenario: REGISTER requests, challenged and authenticated. http://www.opensips.org/uploads/Resources/general_comparison.jpg | Chart 1 to:
The test was performed with a constant number of 100.000 registered users. Queries were done for users registered at different times ( in the original implementation query time was dependant on how close a user was to the begining of the list). http://www.opensips.org/uploads/Resources/general_comparison.jpg | Chart 1 November 04, 2009, at 05:57 PM
by
- Changed line 45 from:
See full size chart to:
See full size chart November 04, 2009, at 05:56 PM
by
- Changed line 34 from:
http://www.opensips.org/uploads/Resources/stmt_auth_char.gif | Chart 1 to:
http://www.opensips.org/uploads/Resources/general_comparison.jpg | Chart 1 November 04, 2009, at 05:50 PM
by
- Changed line 26 from:
DB Authentication testto:
Search performance testsNovember 04, 2009, at 05:49 PM
by
- Deleted lines 50-103:
User location testThis test (using usrloc module) was focus in measuring he gain of more complex query:
Scenario: REGISTER requests, no authentication, http://www.opensips.org/uploads/Resources/stmt_usrloc_char.gif | Chart 2 Results:
-> BOOST = 25 % See full size chart See OpenOffice SpreadSheet with all result values.
SIPTrace testThis test (using siptrace module) was focus in measuring he gain of simple, but datafull query:
Scenario: REGISTER requests, no authentication, http://www.opensips.org/uploads/Resources/stmt_siptrace_char.gif | Chart 3 Results:
-> BOOST = 23 % See full size chart See OpenOffice SpreadSheet with all result values.
November 04, 2009, at 05:47 PM
by
- Added lines 1-104:
Resources -> Performance Tests -> User location - search performanceThis page has been visited 6581 times. (:toc-float Table of Content:) User locations are in general stored in memory for faster searches. Up to OpenSIPS 1.6.0 they were held in a hash-table for faster searching. The trunk contains a new version that combines the use of hash-tables and balanced search trees. The tests were conducted in order to determine the real gain of the balanced search trees in cases with many registered users. What are the theoretical gains ?Hash-tables supply a constant query time as long as they are not loaded to much. After a certain limit search time rises linear with the number of registered users. Balanced search trees are used to prevent this from happening. Performance testsThe tests were done using OpenSIPS 1.6.0 as reference point for search time. OpenSIPS 1.7.0 (devel) is the candidate whose performance was measured. Tests were performed with 100000 registered users. DB Authentication testThis test (using auth_db module) was focus in measuring he gain of a simple query:
Scenario: REGISTER requests, challenged and authenticated. http://www.opensips.org/uploads/Resources/stmt_auth_char.gif | Chart 1 Results:
-> BOOST = 21 % See full size chart See OpenOffice SpreadSheet with all result values.
User location testThis test (using usrloc module) was focus in measuring he gain of more complex query:
Scenario: REGISTER requests, no authentication, http://www.opensips.org/uploads/Resources/stmt_usrloc_char.gif | Chart 2 Results:
-> BOOST = 25 % See full size chart See OpenOffice SpreadSheet with all result values.
SIPTrace testThis test (using siptrace module) was focus in measuring he gain of simple, but datafull query:
Scenario: REGISTER requests, no authentication, http://www.opensips.org/uploads/Resources/stmt_siptrace_char.gif | Chart 3 Results:
-> BOOST = 23 % See full size chart See OpenOffice SpreadSheet with all result values.
|