Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch > #32869 > unrolled thread

Cell Broadband Engine musings

Started byQuadibloc <jsavard@ecn.ab.ca>
First post2016-01-19 00:24 -0800
Last post2016-01-20 11:57 +0100
Articles 7 — 3 participants

Back to article view | Back to comp.arch


Contents

  Cell Broadband Engine musings Quadibloc <jsavard@ecn.ab.ca> - 2016-01-19 00:24 -0800
    Re: Cell Broadband Engine musings paul wallich <pw@panix.com> - 2016-01-19 08:22 -0500
      Re: Cell Broadband Engine musings Quadibloc <jsavard@ecn.ab.ca> - 2016-01-19 08:33 -0800
        Re: Cell Broadband Engine musings "wolfgang kern" <nowhere@never.at> - 2016-01-19 22:04 +0100
          Re: Cell Broadband Engine musings Quadibloc <jsavard@ecn.ab.ca> - 2016-01-19 14:02 -0800
          Re: Cell Broadband Engine musings Quadibloc <jsavard@ecn.ab.ca> - 2016-01-19 14:03 -0800
            Re: Cell Broadband Engine musings "wolfgang kern" <nowhere@never.at> - 2016-01-20 11:57 +0100

#32869 — Cell Broadband Engine musings

FromQuadibloc <jsavard@ecn.ab.ca>
Date2016-01-19 00:24 -0800
SubjectCell Broadband Engine musings
Message-ID<1f0d5e28-9ede-4216-be09-dfc4181b8407@googlegroups.com>
As many here are aware, I have fiddled with various hypothetical ISAs.

One common thread running through them is that I aim at very dense encodings, so 
that instructions don't become longer than they are on typical ordinary 
computers, but the instruction set has room for a lot of instructions.

Thus, I throw in a 48-bit floating-point type.

One of the other things I tend to throw in are instructions like those found in 
the commercial instruction set of the System/360.

As we all know, DRAM has a painfully long latency these days.

For packed decimal, this can be solved by switching to register-based decimal 
only.

For character string instructions, though, it seems one has to use memory.

An on-chip fast memory would be one way to deal with this. Think of the Control 
Data 6600; it had inner and outer memories. But Ivan Godard recently pointed out 
in this newsgroup that when one has a resource like this, the problem is to 
arrange how to share it.

I was thinking that maybe an architecture like that of the Cell might give me an 
"excuse" to have on-chip memories. But then I realized that this would only make 
the problem _even worse_; using the Cell on a conventional desktop computer, 
since applications have to be written so they will run properly even when _other 
applications_ are also running, basically means that instead of programs using 
all eight synergistic processors, or even one of them, to be safe, they would 
have to use *none*.

However, I have tried to do a bit of thinking about this, to see if there were solutions.

1) In the case of a desktop or laptop computer, which is running multiple applications because the user has two or more windows open...

switching between applications only needs to take place on a human scale.

Classic mainframes (in North America) tended to switch between multiple CPU-bound resident programs 60 times a second. Make that 50 for Europe. Now that computers are running at gigahertz speeds, 1/60 of a second is longer than it used to be (in a sense).

So if one has to swap the memory of all the SPEs out to DRAM 60 times a second, *the performance hit might still be negligible* despite the bus to DRAM running at only *one* gigahertz instead of three and being a scarce resource.

2) In my envisaged design, the SPEs aren't doing AltiVec style number-crunching and embodying the majority of the chip's processing power. They're doing microcoded stuff like move character, edit, translate, and so on.

So they _will_ "go to waste" most of the time, *and it will be a small loss*. So contention for them as a resource will actually be pretty low - and instead, I need to think of a way to let the main core use their internal memories as internal fast memory when they're not in use, because _that_ is too useful to leave idle most of the time.

John Savard

[toc] | [next] | [standalone]


#32887

Frompaul wallich <pw@panix.com>
Date2016-01-19 08:22 -0500
Message-ID<n7lda0$abj$1@reader1.panix.com>
In reply to#32869
On 1/19/16 3:24 AM, Quadibloc wrote:

> 1) In the case of a desktop or laptop computer, which is running multiple applications because the user has two or more windows open...
>
> switching between applications only needs to take place on a human scale.
>
> Classic mainframes (in North America) tended to switch between multiple CPU-bound resident programs 60 times a second. Make that 50 for Europe. Now that computers are running at gigahertz speeds, 1/60 of a second is longer than it used to be (in a sense).
>
> So if one has to swap the memory of all the SPEs out to DRAM 60 times a second, *the performance hit might still be negligible* despite the bus to DRAM running at only *one* gigahertz instead of three and being a scarce resource.
>
> 2) In my envisaged design, the SPEs aren't doing AltiVec style number-crunching and embodying the majority of the chip's processing power. They're doing microcoded stuff like move character, edit, translate, and so on.
>
> So they _will_ "go to waste" most of the time, *and it will be a small loss*. So contention for them as a resource will actually be pretty low - and instead, I need to think of a way to let the main core use their internal memories as internal fast memory when they're not in use, because _that_ is too useful to leave idle most of the time.

Have you just reinvented "dark silicon", where bunches of tiny optimized 
special-purpose circuits sit around waiting for their moment of glory?

Also, to do this kind of thing effectively without the user noticing, 
you may need to rethink the structure of the user interface. Because 
although 1/60 second isn't noticeable it's easy to end up with code 
structures where doing something requires a bunch of back-and-forth (or 
round-and-round) passes with each pass taking one or two ticks. And then 
you're in trouble.

paul

[toc] | [prev] | [next] | [standalone]


#32899

FromQuadibloc <jsavard@ecn.ab.ca>
Date2016-01-19 08:33 -0800
Message-ID<6fc9e587-e787-420a-904d-fd7dceaa2b9a@googlegroups.com>
In reply to#32887
On Tuesday, January 19, 2016 at 6:22:11 AM UTC-7, paul wallich wrote:

> Have you just reinvented "dark silicon", where bunches of tiny optimized 
> special-purpose circuits sit around waiting for their moment of glory?

Perhaps. But I realize now - as I did shortly after posting - my horrible 
mistake.

If I'm going to add processing power specifically oriented to *data processing* 
- character and decimal instructions - the *last* thing I want to do is bury it 
deep inside the CPU in hidden CPUs that don't even talk to DRAM.

I want to place *that* kind of processing power close to where it's used - 
ideally, between the DRAM and the hard drives!

So if I'm going to put old-fashioned 1401-like capabilities into a system for 
faster performance on database applications, I need to put them into the SATA 
controller or some place like that! But that's an I/O device, and access to it 
is normally privileged...

John Savard

[toc] | [prev] | [next] | [standalone]


#32923

From"wolfgang kern" <nowhere@never.at>
Date2016-01-19 22:04 +0100
Message-ID<n7m8hu$1m4r$2@gioia.aioe.org>
In reply to#32899
Quadibloc said:
>> Have you just reinvented "dark silicon", where bunches of tiny optimized
>> special-purpose circuits sit around waiting for their moment of glory?

> Perhaps. But I realize now - as I did shortly after posting - my horrible
> mistake.

> If I'm going to add processing power specifically oriented to *data 
> processing*
> - character and decimal instructions - the *last* thing I want to do is 
> bury it
> deep inside the CPU in hidden CPUs that don't even talk to DRAM.
>
> I want to place *that* kind of processing power close to where it's used -
> ideally, between the DRAM and the hard drives!

Here I cannot follow. where would this address ? space be defined :)

> So if I'm going to put old-fashioned 1401-like capabilities into a system 
> for
> faster performance on database applications, I need to put them into the 
> SATA
> controller or some place like that! But that's an I/O device, and access 
> to it
> is normally privileged...

I think we don't need nor want HW (CPU) to protect access to certain
I/O and RAM-ranges. The OS is responsible for it and it could use it ...

For now I disabled all HD-IRQs and poll for whatsoever my OS may have
invoked to be completed in a time sliced manner. I see no use of hidden
(prohibited) actions other than write to sector 0 or alter boot sectors.
This are not allowed w/o super-admin rights anyway by my OS.
__
wolfgang

[toc] | [prev] | [next] | [standalone]


#32926

FromQuadibloc <jsavard@ecn.ab.ca>
Date2016-01-19 14:02 -0800
Message-ID<98fa8284-feea-4a32-a508-625830568ebd@googlegroups.com>
In reply to#32923
On Tuesday, January 19, 2016 at 2:07:14 PM UTC-7, wolfgang kern wrote:

> I think we don't need nor want HW (CPU) to protect access to certain
> I/O and RAM-ranges. The OS is responsible for it and it could use it ...

Huh? If the hardware can't protect these things, the operating system has no 
ability to protect them against user programs.

Of course the hardware only protects these things as ordered to by the OS, 
which has parts that run in supervisor state.

John Savard

[toc] | [prev] | [next] | [standalone]


#32927

FromQuadibloc <jsavard@ecn.ab.ca>
Date2016-01-19 14:03 -0800
Message-ID<2dca4b1e-0436-43ba-b049-0a60e9a879bb@googlegroups.com>
In reply to#32923
On Tuesday, January 19, 2016 at 2:07:14 PM UTC-7, wolfgang kern wrote:
> Quadibloc said:

> > I want to place *that* kind of processing power close to where it's used -
> > ideally, between the DRAM and the hard drives!

> Here I cannot follow. where would this address ? space be defined :)

Well, I'm not thinking so much of address space as, say, physically placing the 
string/decimal processor in the chip that interfaces mass storage devices to 
the memory bus.

John Savard

[toc] | [prev] | [next] | [standalone]


#32940

From"wolfgang kern" <nowhere@never.at>
Date2016-01-20 11:57 +0100
Message-ID<n7npan$1lpv$1@gioia.aioe.org>
In reply to#32927
Quadibloc wrote:
 
>>> I want to place *that* kind of processing power close to where it's 
>>> used - ideally, between the DRAM and the hard drives!
 
>> Here I cannot follow. where would this address ? space be defined :)
 
> Well, I'm not thinking so much of address space as, say, physically 
> placing the string/decimal processor in the chip that interfaces mass 
> storage devices to the memory bus.

I see, you mean the southbridge chipset here. 
Yes, it could deny access by range-check and filters in user mode.

__
wolfgang
     

[toc] | [prev] | [standalone]


Back to top | Article view | comp.arch


csiph-web