[Ilugc] Performance Tuning

  • From: rhariharan@xxxxxxxxx (hari)
  • Date: Sat Jan 13 08:47:35 2007

Hi,

I need some help/suggestions on how to improve the performance of an
application.
Any suggestions, links etc., will be most helpful.

This is a C++ application. It reads input data over a socket, processes it
and writes output to files (pcaps).
I know this is not much info, but this is the crux of it, the simple bare
bones version.

It works fine;
The problem is, it is currently taking input at about 20mbps of data per
sec; but the clients on their testing want this to be about 80.
This is because my appln is the last in the line. It is slowing down the
upstream components.
So i need to identify bottlenecks etc.,

How helpful will gprof be in providing quick info?
I tried to use this once with my app, but the huge amt of info made life
difficult.

The appln will probably run on multiproc servers(At least at the client). So
is there a way to use this feature without too much redesigning?
I do not know much about programming with multiple processors in mind.

Thanks
hari

Other related posts: