[tao-users] Memory pools with TAO

Manjula Peiris manjula.peris at gmail.com
Tue May 26 15:29:18 CDT 2015


I have tried with the  "-ORBUseLocalMemoryPool" and send 10,000 requests to
the echo service, and counted the number of times new, new[], malloc,
delete, delete[], functions are called using dynamic binary
instrumentation. I found out that number of times those functions are
called during the service/orb life time has no significant different
when  "-ORBUseLocalMemoryPool" parameter is enabled or disabled. I would
like to know is this the expected behavior or am I need to do something
else to enable the local memory pool.

Thanks for your help.


On Thu, May 21, 2015 at 4:31 AM, Christian Fromme <christian at ast.dfs.de>

> On 20.05. 15:53, Manjula Peiris wrote:
> > I am doing some research with TAO to see whether I can improve the
> > performance when handling multiple requests by keeping memory pools.
> > For example if a client is sending many number of requests using the
> > same connection I would like to see whether we can improve the server
> > performance by allocating dynamic memory from a memory pool which
> > lives for the lifetime of the connections not only for the request,
> > similar to memory pools in Apache HTTPD
> > (http://www.apachetutor.org/dev/pools). This memory pool can be used
> > in the service as well as in the ORB. If you can point to any
> > resources or any ideas on this will be greatly appreciated.
> Assuming you're familiar with TAO options[0] like -ORBUseLocalMemoryPool
> and similar one that offer thread and/or memory pooling?
> Best,
> Christian
> [0] www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/TAO/docs/Options.html

Manjula Peiris
Research Assistant / PhD Student
Department of Computer & Information Science
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.isis.vanderbilt.edu/cgi-bin/mailman/private/tao-users/attachments/20150526/a21daa3b/attachment.html>

More information about the tao-users mailing list