Re: Is that possible to implement a single machine with heterogeneous architecture.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 21 Oct 2016 03:10:28 -0000, Douglas Su said:

> Is that possible to install multiple CPUs which have different architecture
> on a single machine? For example, on a single machine with two different cpu
> sockets for X86 and MIPS cpu respectively, and these two cpus are
> inter-connected with some sorts of bus (PCI or other advanced buses).

Is it possible?  Probably.

Is it worth the effort?  Probably not - I suspect that things like the
IBM Power-based Cell architecture (used in the Playstation 3 and the
Blue Gene supercomputers), or GPU accelerators from NVidia, are as far
as you can reasonably stretch the idea.

For starters, you'd probably *not* be able to do a full SMP (symmetric multi
processing) - at best you'll probably get an asymmetric system where only
one processor architecture can handle things like interrupts and scheduling,
and one architecture basically only run userspace compute code.

Going any further will end up requiring *two* copies of kernel code (one for
each architecture), and figuring out how to merge the interrupt vectors
for the two architectures.   Then you get into other ugly stuff like handling
differing virtual memory layouts, keeping two sets of page tables in sync,
and so on.

And $DEITY help you if the two architectures are different endian-ness.

In the dim dark past (1989-ish) I actually had to sysadmin a system that was a
heterogeneous cluster - an IBM 3090 running AIX/370 and a network of i386-based
IBM PS2's) running a variant of AIX 1.2, and clustering software from Locus,
branded as TCF (Transparent Computing Facility).  Total nightmare for the
sysadmin - users were *always* forgetting which node they did a compile on, so
they'd end up with a bunch of .o files compile for the 3090, and some for i386,
and wonder why their program wouldn't link. And that was just the *start* of
the headaches - when IBM shipped AIX 3.1 for the RS/6000 Power line, we were
early adopters and migrated away from TCF.

I'll note that although IBM went on to support Unix-based systems on the
System/370 architecture (AIX/ESA, and now Linux), TCF was quietly swept
into the dustbin of history.

Attachment: pgpXsqTNId2iq.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux