[Tsung] Dynamic variables and performance.

Nicolas Niclausse nicolas at niclux.org
Fri Jan 4 00:32:19 CET 2008


Gus Miraglia a écrit :
> From what I can tell using dynamic variables in general significantly
> hinders the performance of tsung and the number of users a box can
> simulate.  Sessions take significantly longer and require much more of
> the cpu.  Is this the norm and just a side effect of using dynamic
> variables or could there be a problem with my setup?
> 
> Basically my situation is as follows:
> 
> I have a use case where I search for a random item.  This item then
> brings up a page with 12 images for that item.  I need 12 dynamic
> variables to get the urls to perform the requests for these images. 
> [...]

> Any information is greatly appreciated.

OK; the regexp module of erlang is known to be slow. I don't know if
it's enough to explain the performance you get with 12 dynamic variables

Several modules were contributed (using linkedin drivers) to speedup
regexp.
I will try to do some measurement to see if it can help, but I don't
know when i will be able to do that ...

--
Nicolas


More information about the Tsung-users mailing list