[Ilugc] processor's across network.

  • From: siva@xxxxxxxxxxx (Sivasankar Chander)
  • Date: Mon Aug 30 18:07:14 2004


your processes across CPUs, but I'm not sure about threads - they're 
probably bound to the CPU that runs the parent process.


Are'nt just kernel threads processor bound?
Think userland threads can be processor migrated...

  On a single system-image platform (like most SMP machines or NUMA
machines like the SGI Altix), I see no difficulty in migrating
threads (userland or kernel) across processors. That's because the
process context resides in memory and is equally accessible to any
thread regardless of the CPU it's running on.

  However, on a cluster like Beowulf or Mosix, the entire process
context has to be replicated in each node running a thread from this
process, and all copies have to be kept in synchronization over the
network (there is no shared memory). This is bound to be so expensive as
to make it completely impractical to migrate threads alone. A single
process context can be a multi-megabyte image.

-Siva

Other related posts: