Skip to contentSkip to conversation

Cell processor

Qemu-devel Dave Feustel 6 participants 12 messages Nov 16, 2005

lore
Share & tools
lore
#0 lore raw

Is there any chance that simulation of the IBM Cell processor will be added to Qemu?

Thanks,
Dave Feustel

Signature · 3 lines
Switch to Secure OpenBSD with a KDE desktop!!!
NOW with Virtual PC OS support via QEMU and
Beowulf clustering using PETSc and MPICH2!
#1 lore raw
Quoted 2 lines · Dave Feustel

Is there any chance that simulation of the
IBM Cell processor will be added to Qemu?

Although this would be great, I am not sure how easy it is to get a accurate simulation of this chip. The cell architecture consists of both a power processor element (PPE) and 8 synergistic processor elements (SPEs) while the PPE is a conventional microprocessor the SPEs are far from so

The point of the cell is to get the PPE to prepare tasks that can be executed in a parallel distributed manner across all the SPEs and I am afraid that this scheduling is going to be very hard to implement correctly - I may however be proven wrong.

--
Lars Roland

#2 lore raw
Quoted 10 lines · Lars Roland
Quoted 2 lines · Dave Feustel

Is there any chance that simulation of the
IBM Cell processor will be added to Qemu?

Although this would be great, I am not sure how easy it is to get a accurate simulation of this chip. The cell architecture consists of both a power processor element (PPE) and 8 synergistic processor elements (SPEs) while the PPE is a conventional microprocessor the SPEs are far from so

Quoted 4 lines

The point of the cell is to get the PPE to prepare tasks that can be executed in a parallel distributed manner across all the SPEs and I am afraid that this scheduling is going to be very hard to implement correctly - I may however be proven wrong.

Well I must have come out of loop because it seams that there already is some simulation software available -
http://www.linuxdevices.com/news/NS8620812400.html - not sure how much of the CELL it actually simulates - the SPEs are after all not needed to boot an OS, so it may just be the PPE which qemu also may have a better shot at emulating.

#11 lore raw
In reply to Dave Feustel
Quoted 2 lines · Dave Feustel

Is there any chance that simulation of the
IBM Cell processor will be added to Qemu?

Not very likely I think. It's a bit too much different beast from "normal" RISC/CISC CPUs, and has somewhat limited applications in general computing.

But never say never.

Regards
Henrik

#3 lore raw
In reply to Lars Roland
Quoted 16 lines · Lars Roland
Quoted 10 lines · Lars Roland
Quoted 2 lines · Dave Feustel

Is there any chance that simulation of the
IBM Cell processor will be added to Qemu?

Although this would be great, I am not sure how easy it is to get a accurate simulation of this chip. The cell architecture consists of both a power processor element (PPE) and 8 synergistic processor elements (SPEs) while the PPE is a conventional microprocessor the SPEs are far from so

Quoted 4 lines

The point of the cell is to get the PPE to prepare tasks that can be executed in a parallel distributed manner across all the SPEs and I am afraid that this scheduling is going to be very hard to implement correctly - I may however be proven wrong.

Quoted 7 lines

Well I must have come out of loop because it seams that there already is some simulation software available -
http://www.linuxdevices.com/news/NS8620812400.html - not sure how much of the CELL it actually simulates - the SPEs are after all not needed to boot an OS, so it may just be the PPE which qemu also may have a better shot at emulating.

My impression is that the IBM software is binary only. If that's true, I am not likely to be able to run it on OpenBSD. OpenBSD has a Linux emulation mode, but I don't use it because of my concerns about security. I think the sw development tools used are modified GNU tools(GCC, etc). I would expect those to be available as source.

Signature · 3 lines
Switch to Secure OpenBSD with a KDE desktop!!!
NOW with Virtual PC OS support via QEMU and
Beowulf clustering using PETSc and MPICH2!
#4 lore raw
In reply to Lars Roland
Quoted 3 lines · Lars Roland

Well I must have come out of loop because it seams that there already is some simulation software available -
http://www.linuxdevices.com/news/NS8620812400.html

Here is the link to IBM's Cell Software Webpage:

http://www-128.ibm.com/developerworks/power/cell/

Signature · 3 lines
Switch to Secure OpenBSD with a KDE desktop!!!
NOW with Virtual PC OS support via QEMU and
Beowulf clustering using PETSc and MPICH2!
#5 lore raw
In reply to Lars Roland
Quoted 6 lines · Lars Roland

Well I must have come out of loop because it seams that there already is some simulation software available -
http://www.linuxdevices.com/news/NS8620812400.html - not sure how much of the CELL it actually simulates - the SPEs are after all not needed to boot an OS, so it may just be the PPE which qemu also may have a better shot at emulating.

If you are talking about Cell SDK, then I would trust IBM here, especially when they say ``It was used to prepare a full execution stack for trial runs on the first CBE processor, IBM says''

Cheers,
Karel
--
Karel Gardas [email protected]
ObjectSecurity Ltd. http://www.objectsecurity.com

#6 lore raw
In reply to Lars Roland
Quoted 10 lines · Lars Roland
Quoted 2 lines · Dave Feustel

Is there any chance that simulation of the
IBM Cell processor will be added to Qemu?

Although this would be great, I am not sure how easy it is to get a accurate simulation of this chip. The cell architecture consists of both a power processor element (PPE) and 8 synergistic processor elements (SPEs) while the PPE is a conventional microprocessor the SPEs are far from so

Quoted 4 lines

The point of the cell is to get the PPE to prepare tasks that can be executed in a parallel distributed manner across all the SPEs and I am afraid that this scheduling is going to be very hard to implement correctly - I may however be proven wrong.

It depends how accurate you want the simulation to be. A cycle accurate simulator is probably going to be trickier. If you don't need cycle accuracy it shouldn't be worse than any other multiprocessor system.

The only real fundamental missing feature in QEMU is SMP guest support. The main PPE is a virtual 2-way 64-bit PowerPC core. Qemu ppc64 is currently incomplete, but that's fixable.

I'd expect the SPE to be very easy to emulate. These are simple RISC vector cores with their own local memory, no MMU, and a DMA/mailbox engine to communicate with the rest of the system.

It's a significant amount of work, but other than the SMP issue (which needs fixing for other targets anyway) it's not excessively hard.

Paul

#7 lore raw
Quoted 24 lines · Paul Brook
Quoted 10 lines · Lars Roland
Quoted 2 lines · Dave Feustel

Is there any chance that simulation of the
IBM Cell processor will be added to Qemu?

Although this would be great, I am not sure how easy it is to get a accurate simulation of this chip. The cell architecture consists of both a power processor element (PPE) and 8 synergistic processor elements (SPEs) while the PPE is a conventional microprocessor the SPEs are far from so

Quoted 4 lines

The point of the cell is to get the PPE to prepare tasks that can be executed in a parallel distributed manner across all the SPEs and I am afraid that this scheduling is going to be very hard to implement correctly - I may however be proven wrong.

It depends how accurate you want the simulation to be. A cycle accurate simulator is probably going to be trickier. If you don't need cycle accuracy it shouldn't be worse than any other multiprocessor system.

The only real fundamental missing feature in QEMU is SMP guest support. The main PPE is a virtual 2-way 64-bit PowerPC core. Qemu ppc64 is currently incomplete, but that's fixable.

Quoted 6 lines

I'd expect the SPE to be very easy to emulate. These are simple RISC vector cores with their own local memory, no MMU, and a DMA/mailbox engine to communicate with the rest of the system.

It's a significant amount of work, but other than the SMP issue (which needs fixing for other targets anyway) it's not excessively hard.

Slightly off topic, but AMD has just announced its intention to ship a 4-core Opteron chip in 2007. The 4-core chip will use AMD's upcoming m2 socket.

Quoted 2 lines

Paul

Signature · 3 lines
Switch to Secure OpenBSD with a KDE desktop!!!
NOW with Virtual PC OS support via QEMU and
Beowulf clustering using PETSc and MPICH2!
#8 lore raw
Quoted 29 lines · Dave Feustel
Quoted 28 lines · Paul Brook
Quoted 10 lines · Lars Roland
Quoted 2 lines · Dave Feustel

Is there any chance that simulation of the
IBM Cell processor will be added to Qemu?

Although this would be great, I am not sure how easy it is to get a accurate simulation of this chip. The cell architecture consists of both a power processor element (PPE) and 8 synergistic processor elements (SPEs) while the PPE is a conventional microprocessor the SPEs are far from so

Quoted 4 lines

The point of the cell is to get the PPE to prepare tasks that can be executed in a parallel distributed manner across all the SPEs and I am afraid that this scheduling is going to be very hard to implement correctly - I may however be proven wrong.

It depends how accurate you want the simulation to be. A cycle accurate simulator is probably going to be trickier. If you don't need cycle accuracy it shouldn't be worse than any other multiprocessor system.

The only real fundamental missing feature in QEMU is SMP guest support. The main PPE is a virtual 2-way 64-bit PowerPC core. Qemu ppc64 is currently incomplete, but that's fixable.

I'd expect the SPE to be very easy to emulate. These are simple RISC vector cores with their own local memory, no MMU, and a DMA/mailbox engine to communicate with the rest of the system.

Quoted 6 lines
Quoted 2 lines

It's a significant amount of work, but other than the SMP issue (which needs fixing for other targets anyway) it's not excessively hard.

Slightly off topic, but AMD has just announced its intention to ship a 4-core Opteron chip in 2007. The 4-core chip will use AMD's upcoming m2 socket.

isn't writing a OS for dual (or n) core chips hell ?

Quoted 9 lines
Quoted 2 lines

Paul

--
Switch to Secure OpenBSD with a KDE desktop!!!
NOW with Virtual PC OS support via QEMU and
Beowulf clustering using PETSc and MPICH2!

Quoted 5 lines

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

--
Ozan

#9 lore raw
Quoted 5 lines
Quoted 3 lines

Slightly off topic, but AMD has just announced its intention to ship a 4-core Opteron chip in 2007. The 4-core chip will use AMD's upcoming m2 socket.

isn't writing a OS for dual (or n) core chips hell ?

It's no different to any other SMP system, and most serious OS have been doing that for years. You might want to use slightly different load balancing heuristics for big machines, but most big multiprocessor systems are already NUMA anyway so that's nothing new.

Paul

#10 lore raw
In reply to Ozan Türkyılmaz
Quoted 1 line · Ozan Türkyılmaz

isn't writing a OS for dual (or n) core chips hell ?

It may be Hell, but it's already done for most, if not all the BSD and *nix operating systems now. Ditto for 64-bit x86 mode.

Signature · 3 lines
Switch to Secure OpenBSD with a KDE desktop!!!
NOW with Virtual PC OS support via QEMU and
Beowulf clustering using PETSc and MPICH2!