[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [apache-plusplus] Something else to think about...
Bret wrote:
> >Wby not go with the idea of a single thread doing
> >everything ... and watch performance skyrocket.
Dean wrote:
> On linux, the performance improves, but doesn't
> skyrocket. I'm talking maybe a 10% improvement
> in crude benchmarks.
You are probably using LinuxThreads. The start-to-end
thread model will gain most from kernel-level thread
packages, where each change of thread is a kernel
context switch. The performance improvement is likely
to be much less for fibers and hybrid thread packages.
Sure points-up the need for compile-time, library selected,
or (my favorite) dynamic re-arrangement of process model
(yes, yes, I know its more complicated. culpa mea.)
--
Mike Anderson
mka@redes.int.com.mx
+52 473 23730 voice/fax
Guanajuato, GTO, Mexico
"If it looks like a bug, waddles like a bug,
and quacks like a bug, its a quack!"