Aolserver performance benchmark with abDated 27-03-07Syed Atif AliIntroduction:
I have always noticed that aolserver memory size keep growing, and doesnot stay at a max state . There are some known tcl versions which have memoryleak issue . but even after using the recommended versions of tcl , this problem,though decreased in severity, but still exists.After being hinted by Aolserver community gurus that the problem could lie in thethread allocator that tcl uses, I decided to compile aolserver against Googleperftools which has a reputation of providing a "more efficient” thread allocator .Instructions on installing aolserver with Google perftools can be found at the endof this document .There is no network involved in the tests. Yes I know it meansthat aolserver performance will be affected by the ab process. but than this will bea constant for each test so I will ignore this. My main purpose of performing thesetests is to see the difference in Aolserver performance with or without Googletcmalloc() .
Test if Google perftools enhances the performance of Aolserver.
Test Environment :
Here is my test environment :Constants :Dual-Core AMD Opteron(tm) Processor 2210 HE3 GB memoryRed Hat Enterprise Linux ES release 4 (Nahant Update 4)2.6.9-42.ELsmp x86_64 GNU/Linux
TCL versions:tcl 8.4.14: compiled with enable-threadstcl 8.4.14 compiled enable-threads but without thread allocator touse Google tcmalloc.Aolserver 4.0.10 : Linux native thread allocatorAolserver 4.0.10 : With Google perftools provided tcmalloc()Aolserver 4.5 : Linux native thread allocatorAolserver 4.5 : With Google perftools provided tcmalloc()Aolserver also loads nsoracle 2.7 and nsmysql latest driver modules. But mytests don’t involve any database connectivity . Test files: Helloworld.html (Helloworld.adp Testhtml.htmlIndex.adp (Default Aolserver 4.5 file , found inserver/server1/modules/pages)
Other Software Used: