Low average cpu utilization.

Hi to all,

i have an app on solaris 5.8 writed in C++ (3.2.1) that use multi threading.
Hardware has 8 cpu. When i run my app i note that the average of cpu go at least at 40%, and the performance are not so higher..

There is a cpu limitation on solaris, that dedicate only a part of cpu to a process? Or something else?

By default, there is no such limitation but you can bind a process to a CPU or a group of CPUs if you like.

I guess if your app performance tops at 40% CPU then the bottleneck is elsewhere.

Does "top" show the per-cpu utilisation?
I'm not sure how threading actually works on Solaris 8 capable boxes.

Yes, you don't say what you application does. Waiting on disk or network IO will lower the CPU usage.