Reducing memory footprint?

Alan Burlison (Alan.Burlison@uk.sun.com)
Tue, 09 Mar 1999 16:08:14 +0000


We're running a HTTP benchmark using perl and the LWP library to
simulate the user load.  Each transaction is mimicked by a perl script
that fetches the appropriate URLs, POSTs the appropriate forms etc.  The
target concurrent user population is 3000, which therefore requires 3000
perl processes.  This uses up about 14Gb of memory just to get the
scripts started and waiting on the synchronisation semaphore - I expect
the memory requirement to increase when the scripts actually do useful
work.  Does anyone have any suggestions as to how the memory footprint
could be reduced?  The perl we are using is 5.005_02, with system
malloc.  Any suggestions gratefully received!

Alan Burlison