[JDEV] Jabber.org vs. commercial Jabber structure
David Waite
mass at akuma.org
Fri Mar 15 15:37:24 CST 2002
Michael F. March wrote:
>>>- Multithreaded, supporting multiprocessor servers.
>>>
>>Although the jabberd-1.4.2 server has multithreading via it's use of pth,
>>it's not "real" threads and cannot take advantage of multiprocessors (1.5
>>will no longer rely on pth and have this limitation).
>>
>
>Has anyone tried to use this:
>
> http://oss.software.ibm.com/pthreads/
>
>with Jabberd? One feature of this project is that it allows
>pththread apps to use multiple processors on Linux.
>
The difference is in cooperative threading and preemptive threading -
the 1.4.2 server was not written with preemptive threading in mind, and
does not have locking to prevent resources from being trampled.
NGPT is a combination of linux threads and pth threading (similar to how
Solaris puts user-level threads on top of kernel-level threads). It is
preemptive, so switching to it is not feasible without having resources
protected against simultaneous modifications.
-David Waite
More information about the JDev
mailing list