in reply to Re: Sun Solaris (SPARC processor) + Threads + performance/optimization
in thread Sun Solaris (SPARC processor) + Threads + performance/optimization

I've replaced the insert_into_db() by only making the
$indata->dequeue();
And i'm getting no advantage in increasing the threads number and the CPU usage its about 10%!!! Something is wrong... I'm not taking advantage of parallelism/threads. Should I use more threads? more Thread::Queues? more Thread::Queues and passed them to different processing threads? Is there any problem with Perl and/or threads on Solaris? Should I use Forks instead of Threads?
  • Comment on Re^2: Sun Solaris (SPARC processor) + Threads + performance/optimization
  • Download Code

Replies are listed 'Best First'.
Re^3: Sun Solaris (SPARC processor) + Threads + performance/optimization
by BrowserUk (Patriarch) on Apr 15, 2009 at 20:02 UTC