On Wed, 8 Dec 1999, jcordina wrote:
> Well I surely have made my measurements and it takes quite a lot of
> instructions (actually hundreds) for an Unix system to deschedule a
> thread amd move on to the next thread.
> A call to the kernel takes about 1 us to access the protected kernel
> space whilst I am talking in the order of ns.
So you want to do an operation that's too expensive in
kernel space and hope that it will become magically
inexpensive when you do the same thing in userspace?
> It is just an inherent bottleneck of Unix operating systems in that it
> needs to take time to access kernel functions and to create new
> processes and threads due to the complexity of the operating system
> and other subtle synchronization features.
Nod. But I still don't see any reason why you'd need
processor binding for your 4 worker threads. The
queue system, where the worker threads do what they have to
do wihout creating new processes should work just as well
without processor binding as with.
If your timing contraints are so narrow that it doesnt,
then you'll (most probably) need RTlinux anyway...
regards,
Rik
--
The Internet is not a network of computers. It is a network
of people. That is its real strength.
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/dmentre/smp-howto/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]