Subject: SDL-News: Performance issue with Generic functions
From: Tao Zhang (ctz020#email.mot.com)
Date: Wed Mar 03 2004 - 20:02:26 GMT
Become an SDL Forum Society member <http://www.sdl-forum.org/Society/members.htm>
The originator of this message is responsible for its content.
-----From Tao Zhang <ctz020#email.mot.com> to sdlnews -----
We are facing serious performance issue for generic functions provided
by SDT4.2 and after, following lists some of these functions. We
developed a SDL system which handles wireless call processing. Our load
testing result show that over 80% CPU is consumed by these generic
functions, CPU resource is run out quickly when increase test load.
GenericAssignSort(Addr,Expr,AssName, (tSDLTypeInfo *)&ySDL_A)
GenericEqualSort((void *)Expr1,(void *)Expr2, (tSDLTypeInfo
We have done some improvement to cut down the number of generic function
1) eliminating unnecessary sort copies.
2) eliminating usage of list related structures.
3) using customized timing mechanism
4) using pointer/reference for messaging.
But result are not at our satisfaction level, and load testing result
still show 5-10 times worse than legacy task written in C.
I wonder if anyone has suggestion on how to work around this issue ?
Thank you in a advance.
--End text from Tao Zhang <ctz020#email.mot.com> to sdlnews ---
For extra SDL Forum Society benefits join at <http://www.sdl-forum.org/Society/members.htm>
This archive was generated by hypermail 2a23 : Thu May 09 2013 - 16:05:50 GMT