Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #505191 > unrolled thread
| Started by | gnuarm.deletethisbit@gmail.com |
|---|---|
| First post | 2018-05-12 06:42 -0700 |
| Last post | 2018-05-12 08:34 -0700 |
| Articles | 20 on this page of 30 — 10 participants |
Back to article view | Back to sci.electronics.design
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Best bang-for-buck uC gnuarm.deletethisbit@gmail.com - 2018-05-12 06:42 -0700
Re: Best bang-for-buck uC upsidedown@downunder.com - 2018-05-12 17:43 +0300
Re: Best bang-for-buck uC Tom Gardner <spamjunk@blueyonder.co.uk> - 2018-05-12 16:23 +0100
Re: Best bang-for-buck uC gnuarm.deletethisbit@gmail.com - 2018-05-12 08:53 -0700
Re: Best bang-for-buck uC Tom Gardner <spamjunk@blueyonder.co.uk> - 2018-05-12 17:16 +0100
Re: Best bang-for-buck uC gnuarm.deletethisbit@gmail.com - 2018-05-12 10:51 -0700
Re: Best bang-for-buck uC Tom Gardner <spamjunk@blueyonder.co.uk> - 2018-05-12 19:38 +0100
Re: Best bang-for-buck uC Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-05-12 14:57 -0400
Re: Best bang-for-buck uC Tom Gardner <spamjunk@blueyonder.co.uk> - 2018-05-12 21:15 +0100
Re: Best bang-for-buck uC Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-05-12 17:40 -0400
Re: Best bang-for-buck uC Lasse Langwadt Christensen <langwadt@fonz.dk> - 2018-05-12 14:52 -0700
Re: Best bang-for-buck uC David Brown <david.brown@hesbynett.no> - 2018-05-14 13:54 +0200
Re: Best bang-for-buck uC "dcaster@krl.org" <dcaster@krl.org> - 2018-05-14 11:49 -0700
Re: Best bang-for-buck uC Tom Gardner <spamjunk@blueyonder.co.uk> - 2018-05-13 01:47 +0100
Re: Best bang-for-buck uC Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-05-12 20:58 -0400
Re: Best bang-for-buck uC Tom Gardner <spamjunk@blueyonder.co.uk> - 2018-05-13 08:45 +0100
Re: Best bang-for-buck uC tabbypurr@gmail.com - 2018-05-12 15:46 -0700
Re: Best bang-for-buck uC gnuarm.deletethisbit@gmail.com - 2018-05-12 14:08 -0700
Re: Best bang-for-buck uC Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-05-12 17:42 -0400
Re: Best bang-for-buck uC Tom Gardner <spamjunk@blueyonder.co.uk> - 2018-05-13 01:51 +0100
Re: Best bang-for-buck uC Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-05-12 21:04 -0400
Re: Best bang-for-buck uC Tom Gardner <spamjunk@blueyonder.co.uk> - 2018-05-13 08:53 +0100
Re: Best bang-for-buck uC gnuarm.deletethisbit@gmail.com - 2018-05-12 14:07 -0700
Re: Best bang-for-buck uC upsidedown@downunder.com - 2018-05-13 12:27 +0300
Re: Best bang-for-buck uC tabbypurr@gmail.com - 2018-05-13 12:56 -0700
Re: Best bang-for-buck uC John Larkin <jjlarkin@highlandtechnology.com> - 2018-05-13 13:19 -0700
Re: Best bang-for-buck uC Tom Gardner <spamjunk@blueyonder.co.uk> - 2018-05-13 22:50 +0100
Re: Best bang-for-buck uC Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2018-05-14 09:17 +0300
Re: Best bang-for-buck uC Tom Gardner <spamjunk@blueyonder.co.uk> - 2018-05-14 08:17 +0100
Re: Best bang-for-buck uC gnuarm.deletethisbit@gmail.com - 2018-05-12 08:34 -0700
Page 1 of 2 [1] 2 Next page →
| From | gnuarm.deletethisbit@gmail.com |
|---|---|
| Date | 2018-05-12 06:42 -0700 |
| Subject | Re: Best bang-for-buck uC |
| Message-ID | <3f412d66-9816-467d-98b6-85e32a40dbd1@googlegroups.com> |
On Sunday, August 27, 2017 at 5:43:56 PM UTC-4, bitrex wrote: > On 08/27/2017 03:40 PM, Tim Williams wrote: > > > Not so bad when you've got so many to spare: example, dedicate a few > > rows of cores as data routing (which can be any combination you like: > > duplexed, synchronous, packetized, variable length, addressed...), and > > use the remaining perimeter as your parallel processor. You might still > > get dozens of cores in parallel that way, even if the utilization is > > effectively maybe 20%. > > Each core can "know" what the load is for the cores on its perimeter; if > some core needs to send a message to the perimeter a > best-first/greedy-search algorithm like beam search might be able to be > used to find the path where passing would cause the least disruption. > > <https://en.wikipedia.org/wiki/Beam_search> I know this is an old thread, but I came across it when looking for something else and had a few brain cells wakened. The difference between the GA144 and any other processor is not the way the processors are connected so much or nearly any other aspect that folks focus on when learning about it, the real difference is not the various strong points it is the weakness of only having 64 words of RAM, which is combined data and program space, on each processor. So programs have to be small, (but it does have 5 bit instructions, so up to 4 per word) so small you shouldn't think of them as programs anymore. The GA144 core processor (the F18A) is a bit of programmable logic that is not configured with individual bits, rather with instruction streams. I have not designed any apps for this CPU myself other than paper studies to see what will fit. But in the Forth language the user is encouraged to write in a very modular fashion with a lot of nesting. I think software design on the GA144 would need to do the same thing, consider the F18A as an element on which to implement a few words and structure them in a hierarchy to accomplish a task. Rick C.
[toc] | [next] | [standalone]
| From | upsidedown@downunder.com |
|---|---|
| Date | 2018-05-12 17:43 +0300 |
| Message-ID | <67udfd93s8r0o0edump78tgp4c48u3gft2@4ax.com> |
| In reply to | #505191 |
On Sat, 12 May 2018 06:42:19 -0700 (PDT), gnuarm.deletethisbit@gmail.com wrote: >On Sunday, August 27, 2017 at 5:43:56 PM UTC-4, bitrex wrote: >> On 08/27/2017 03:40 PM, Tim Williams wrote: >> >> > Not so bad when you've got so many to spare: example, dedicate a few >> > rows of cores as data routing (which can be any combination you like: >> > duplexed, synchronous, packetized, variable length, addressed...), and >> > use the remaining perimeter as your parallel processor. You might still >> > get dozens of cores in parallel that way, even if the utilization is >> > effectively maybe 20%. >> >> Each core can "know" what the load is for the cores on its perimeter; if >> some core needs to send a message to the perimeter a >> best-first/greedy-search algorithm like beam search might be able to be >> used to find the path where passing would cause the least disruption. >> >> <https://en.wikipedia.org/wiki/Beam_search> > >I know this is an old thread, but I came across it when looking for something else and had a few brain cells wakened. Not directly related to this issues, but some recollections of articles in electronic journals from the early 1970's. In one article it was speculated that one day in the far future the processor clock speed would be over 1 GHz and calculating sin/cos etc. would be hyper fast. Apparently the editor assumed that those functions were calculated using Taylor series. The article suggested using the trigonometric equation sin(a+b) = sin(a)cos(b) + cos(a)sin(b) and doing sin(a) and cos(a) with table lookup. With sufficient small steps cos(b)=1 and sin(b) = b/2pi. In reality, the trigonometrical functions in those days were calculated using 3rd or 4th order polynomials for single precession, so not much advantage. In an other article an Intel representative was interviewed what happens, when it is possible to integrate a million transistors on a single chip. He could not give a clear answer. My guess is that the situation today is similar with 1000 or a million processor cores available.
[toc] | [prev] | [next] | [standalone]
| From | Tom Gardner <spamjunk@blueyonder.co.uk> |
|---|---|
| Date | 2018-05-12 16:23 +0100 |
| Message-ID | <GFDJC.148144$tw.137829@fx42.am4> |
| In reply to | #505201 |
On 12/05/18 15:43, upsidedown@downunder.com wrote: > On Sat, 12 May 2018 06:42:19 -0700 (PDT), > gnuarm.deletethisbit@gmail.com wrote: > >> On Sunday, August 27, 2017 at 5:43:56 PM UTC-4, bitrex wrote: >>> On 08/27/2017 03:40 PM, Tim Williams wrote: >>> >>>> Not so bad when you've got so many to spare: example, dedicate a few >>>> rows of cores as data routing (which can be any combination you like: >>>> duplexed, synchronous, packetized, variable length, addressed...), and >>>> use the remaining perimeter as your parallel processor. You might still >>>> get dozens of cores in parallel that way, even if the utilization is >>>> effectively maybe 20%. >>> >>> Each core can "know" what the load is for the cores on its perimeter; if >>> some core needs to send a message to the perimeter a >>> best-first/greedy-search algorithm like beam search might be able to be >>> used to find the path where passing would cause the least disruption. >>> >>> <https://en.wikipedia.org/wiki/Beam_search> >> >> I know this is an old thread, but I came across it when looking for something else and had a few brain cells wakened. > > Not directly related to this issues, but some recollections of > articles in electronic journals from the early 1970's. > > In one article it was speculated that one day in the far future the > processor clock speed would be over 1 GHz and calculating sin/cos etc. > would be hyper fast. Apparently the editor assumed that those > functions were calculated using Taylor series. The article suggested > using the trigonometric equation > > sin(a+b) = sin(a)cos(b) + cos(a)sin(b) > > and doing sin(a) and cos(a) with table lookup. The CORDIC algorithm was invented in 1956. Two decades later implementing floating point plus CORDIC on a 6800 was my first paid job as a vacation student. I still have the code :) CORDIC was also easily implementable in hardware. > With sufficient small steps cos(b)=1 and sin(b) = b/2pi. In reality, > the trigonometrical functions in those days were calculated using 3rd > or 4th order polynomials for single precession, so not much advantage. On the Sinclair Scientific calculator, maybe. > In an other article an Intel representative was interviewed what > happens, when it is possible to integrate a million transistors on a > single chip. He could not give a clear answer. > > My guess is that the situation today is similar with 1000 or a million > processor cores available. As always, the hardware is easy, but programming techniques for multiprocessor systems are still in their infancy. The *only* processors that have a decent hardware+software story are the XMOS xCORE processors with xC. They have been around in several generations for over a decade, and are *very* usable for *hard* realtime applications. The xC+xCORE has a good pedigree: the key concepts have been around since the 70s (xC/CSP) and 80s (xCORE/Treansputer).
[toc] | [prev] | [next] | [standalone]
| From | gnuarm.deletethisbit@gmail.com |
|---|---|
| Date | 2018-05-12 08:53 -0700 |
| Message-ID | <b14ebae9-9812-433e-82fd-dff78c80251c@googlegroups.com> |
| In reply to | #505204 |
On Saturday, May 12, 2018 at 11:23:22 AM UTC-4, Tom Gardner wrote: > On 12/05/18 15:43, upsidedown@downunder.com wrote: > > On Sat, 12 May 2018 06:42:19 -0700 (PDT), > > gnuarm.deletethisbit@gmail.com wrote: > > > >> On Sunday, August 27, 2017 at 5:43:56 PM UTC-4, bitrex wrote: > >>> On 08/27/2017 03:40 PM, Tim Williams wrote: > >>> > >>>> Not so bad when you've got so many to spare: example, dedicate a few > >>>> rows of cores as data routing (which can be any combination you like: > >>>> duplexed, synchronous, packetized, variable length, addressed...), and > >>>> use the remaining perimeter as your parallel processor. You might still > >>>> get dozens of cores in parallel that way, even if the utilization is > >>>> effectively maybe 20%. > >>> > >>> Each core can "know" what the load is for the cores on its perimeter; if > >>> some core needs to send a message to the perimeter a > >>> best-first/greedy-search algorithm like beam search might be able to be > >>> used to find the path where passing would cause the least disruption. > >>> > >>> <https://en.wikipedia.org/wiki/Beam_search> > >> > >> I know this is an old thread, but I came across it when looking for something else and had a few brain cells wakened. > > > > Not directly related to this issues, but some recollections of > > articles in electronic journals from the early 1970's. > > > > In one article it was speculated that one day in the far future the > > processor clock speed would be over 1 GHz and calculating sin/cos etc. > > would be hyper fast. Apparently the editor assumed that those > > functions were calculated using Taylor series. The article suggested > > using the trigonometric equation > > > > sin(a+b) = sin(a)cos(b) + cos(a)sin(b) > > > > and doing sin(a) and cos(a) with table lookup. > > The CORDIC algorithm was invented in 1956. > > Two decades later implementing floating point plus > CORDIC on a 6800 was my first paid job as a > vacation student. I still have the code :) > > CORDIC was also easily implementable in hardware. > > > > With sufficient small steps cos(b)=1 and sin(b) = b/2pi. In reality, > > the trigonometrical functions in those days were calculated using 3rd > > or 4th order polynomials for single precession, so not much advantage. > > On the Sinclair Scientific calculator, maybe. > > > > In an other article an Intel representative was interviewed what > > happens, when it is possible to integrate a million transistors on a > > single chip. He could not give a clear answer. > > > > My guess is that the situation today is similar with 1000 or a million > > processor cores available. > > As always, the hardware is easy, but programming techniques > for multiprocessor systems are still in their infancy. > > The *only* processors that have a decent hardware+software > story are the XMOS xCORE processors with xC. They have been > around in several generations for over a decade, and are > *very* usable for *hard* realtime applications. > > The xC+xCORE has a good pedigree: the key concepts have been > around since the 70s (xC/CSP) and 80s (xCORE/Treansputer). Oh, yeah, you are *that* guy. Yes, we've had this discussion before. They are good for a small class of applications which they are optimized for. Otherwise the advantages of other processors or even FPGAs make them more suitable. I was just browsing FPGA prices and I can get a small FPGA for $2.50 qty 1. Unfortunately volume FPGA prices are seldom advertised, so hard to tell what the 1000 piece price would be. Rick C.
[toc] | [prev] | [next] | [standalone]
| From | Tom Gardner <spamjunk@blueyonder.co.uk> |
|---|---|
| Date | 2018-05-12 17:16 +0100 |
| Message-ID | <TrEJC.198039$r6.84419@fx10.am4> |
| In reply to | #505211 |
On 12/05/18 16:53, gnuarm.deletethisbit@gmail.com wrote: > On Saturday, May 12, 2018 at 11:23:22 AM UTC-4, Tom Gardner wrote: >> On 12/05/18 15:43, upsidedown@downunder.com wrote: >>> On Sat, 12 May 2018 06:42:19 -0700 (PDT), gnuarm.deletethisbit@gmail.com >>> wrote: >>> >>>> On Sunday, August 27, 2017 at 5:43:56 PM UTC-4, bitrex wrote: >>>>> On 08/27/2017 03:40 PM, Tim Williams wrote: >>>>> >>>>>> Not so bad when you've got so many to spare: example, dedicate a >>>>>> few rows of cores as data routing (which can be any combination you >>>>>> like: duplexed, synchronous, packetized, variable length, >>>>>> addressed...), and use the remaining perimeter as your parallel >>>>>> processor. You might still get dozens of cores in parallel that >>>>>> way, even if the utilization is effectively maybe 20%. >>>>> >>>>> Each core can "know" what the load is for the cores on its perimeter; >>>>> if some core needs to send a message to the perimeter a >>>>> best-first/greedy-search algorithm like beam search might be able to >>>>> be used to find the path where passing would cause the least >>>>> disruption. >>>>> >>>>> <https://en.wikipedia.org/wiki/Beam_search> >>>> >>>> I know this is an old thread, but I came across it when looking for >>>> something else and had a few brain cells wakened. >>> >>> Not directly related to this issues, but some recollections of articles >>> in electronic journals from the early 1970's. >>> >>> In one article it was speculated that one day in the far future the >>> processor clock speed would be over 1 GHz and calculating sin/cos etc. >>> would be hyper fast. Apparently the editor assumed that those functions >>> were calculated using Taylor series. The article suggested using the >>> trigonometric equation >>> >>> sin(a+b) = sin(a)cos(b) + cos(a)sin(b) >>> >>> and doing sin(a) and cos(a) with table lookup. >> >> The CORDIC algorithm was invented in 1956. >> >> Two decades later implementing floating point plus CORDIC on a 6800 was my >> first paid job as a vacation student. I still have the code :) >> >> CORDIC was also easily implementable in hardware. >> >> >>> With sufficient small steps cos(b)=1 and sin(b) = b/2pi. In reality, the >>> trigonometrical functions in those days were calculated using 3rd or 4th >>> order polynomials for single precession, so not much advantage. >> >> On the Sinclair Scientific calculator, maybe. >> >> >>> In an other article an Intel representative was interviewed what happens, >>> when it is possible to integrate a million transistors on a single chip. >>> He could not give a clear answer. >>> >>> My guess is that the situation today is similar with 1000 or a million >>> processor cores available. >> >> As always, the hardware is easy, but programming techniques for >> multiprocessor systems are still in their infancy. >> >> The *only* processors that have a decent hardware+software story are the >> XMOS xCORE processors with xC. They have been around in several generations >> for over a decade, and are *very* usable for *hard* realtime applications. >> >> The xC+xCORE has a good pedigree: the key concepts have been around since >> the 70s (xC/CSP) and 80s (xCORE/Treansputer). > > Oh, yeah, you are *that* guy. Yes, we've had this discussion before. They > are good for a small class of applications which they are optimized for. > Otherwise the advantages of other processors or even FPGAs make them more > suitable. Obviously. But I haven't seen *any* application of the GA144 you mentioned. As for the 1000 processors chips, I have seen zero implementations, zero programming techniques and zero applications for them. The XMOS devices are therefore (currently) infinitely superior. Of those, the programming techniques are the most difficult; get those right and implementations and applications may *follow*. I strongly suspect that anything with 1000s of processors will have no significant advantages over an FPGA.
[toc] | [prev] | [next] | [standalone]
| From | gnuarm.deletethisbit@gmail.com |
|---|---|
| Date | 2018-05-12 10:51 -0700 |
| Message-ID | <d44d5a36-c17e-4109-9de9-0fb62d8686b5@googlegroups.com> |
| In reply to | #505214 |
On Saturday, May 12, 2018 at 12:16:56 PM UTC-4, Tom Gardner wrote: > On 12/05/18 16:53, gnuarm.deletethisbit@gmail.com wrote: > > On Saturday, May 12, 2018 at 11:23:22 AM UTC-4, Tom Gardner wrote: > >> On 12/05/18 15:43, upsidedown@downunder.com wrote: > >>> On Sat, 12 May 2018 06:42:19 -0700 (PDT), gnuarm.deletethisbit@gmail.com > >>> wrote: > >>> > >>>> On Sunday, August 27, 2017 at 5:43:56 PM UTC-4, bitrex wrote: > >>>>> On 08/27/2017 03:40 PM, Tim Williams wrote: > >>>>> > >>>>>> Not so bad when you've got so many to spare: example, dedicate a > >>>>>> few rows of cores as data routing (which can be any combination you > >>>>>> like: duplexed, synchronous, packetized, variable length, > >>>>>> addressed...), and use the remaining perimeter as your parallel > >>>>>> processor. You might still get dozens of cores in parallel that > >>>>>> way, even if the utilization is effectively maybe 20%. > >>>>> > >>>>> Each core can "know" what the load is for the cores on its perimeter; > >>>>> if some core needs to send a message to the perimeter a > >>>>> best-first/greedy-search algorithm like beam search might be able to > >>>>> be used to find the path where passing would cause the least > >>>>> disruption. > >>>>> > >>>>> <https://en.wikipedia.org/wiki/Beam_search> > >>>> > >>>> I know this is an old thread, but I came across it when looking for > >>>> something else and had a few brain cells wakened. > >>> > >>> Not directly related to this issues, but some recollections of articles > >>> in electronic journals from the early 1970's. > >>> > >>> In one article it was speculated that one day in the far future the > >>> processor clock speed would be over 1 GHz and calculating sin/cos etc. > >>> would be hyper fast. Apparently the editor assumed that those functions > >>> were calculated using Taylor series. The article suggested using the > >>> trigonometric equation > >>> > >>> sin(a+b) = sin(a)cos(b) + cos(a)sin(b) > >>> > >>> and doing sin(a) and cos(a) with table lookup. > >> > >> The CORDIC algorithm was invented in 1956. > >> > >> Two decades later implementing floating point plus CORDIC on a 6800 was my > >> first paid job as a vacation student. I still have the code :) > >> > >> CORDIC was also easily implementable in hardware. > >> > >> > >>> With sufficient small steps cos(b)=1 and sin(b) = b/2pi. In reality, the > >>> trigonometrical functions in those days were calculated using 3rd or 4th > >>> order polynomials for single precession, so not much advantage. > >> > >> On the Sinclair Scientific calculator, maybe. > >> > >> > >>> In an other article an Intel representative was interviewed what happens, > >>> when it is possible to integrate a million transistors on a single chip. > >>> He could not give a clear answer. > >>> > >>> My guess is that the situation today is similar with 1000 or a million > >>> processor cores available. > >> > >> As always, the hardware is easy, but programming techniques for > >> multiprocessor systems are still in their infancy. > >> > >> The *only* processors that have a decent hardware+software story are the > >> XMOS xCORE processors with xC. They have been around in several generations > >> for over a decade, and are *very* usable for *hard* realtime applications. > >> > >> The xC+xCORE has a good pedigree: the key concepts have been around since > >> the 70s (xC/CSP) and 80s (xCORE/Treansputer). > > > > Oh, yeah, you are *that* guy. Yes, we've had this discussion before. They > > are good for a small class of applications which they are optimized for. > > Otherwise the advantages of other processors or even FPGAs make them more > > suitable. > > Obviously. > > But I haven't seen *any* application of the GA144 you mentioned. > As for the 1000 processors chips, I have seen zero implementations, > zero programming techniques and zero applications for them. The > XMOS devices are therefore (currently) infinitely superior. Yes, the GA144 was designed as an experiment rather than with any application in mind. However, I'm told they have customers, one application in particular was for an advanced hearing aid using something much more advanced than a graphic equalizer type of filter. Seems the original prototype required the use of a pair of TMS320C6xxx devices which use around a watt each if I remember correctly. This type of signal processing app has potential for a multiprocessor with little memory, as long as it doesn't get too complex or if it needs external memory the bandwidth isn't too high. > Of those, the programming techniques are the most difficult; > get those right and implementations and applications may > *follow*. > > I strongly suspect that anything with 1000s of processors > will have no significant advantages over an FPGA. I don't see that. The super computers of today use standard processors, not FPGAs. "Tianhee-2 uses over 3 million Intel Xeon E5-2692v2 12C cores", although that is yesterday's fastest computer surpassed by "The Sunway TaihuLight uses a total of 40,960 Chinese-designed SW26010 manycore 64-bit RISC processors based on the Sunway architecture.[6] Each processor chip contains 256 processing cores, and an additional four auxiliary cores for system management (also RISC cores, just more fully featured) for a total of 10,649,600 CPU cores across the entire system." This monster uses 15 MW... yes, 15 MW! A professor in college used to kid about throwing the power switch on his CPUMOB machine and watching the lights dim in College Park. The Sunway would do it for sure! A new machine is due out any time now running at 130 PFLOPS. Called the AI Bridging Cloud Infrastructure, "The system will consist of 1,088 Primergy CX2570 M4 servers, mounted in Fujitsu's Primergy CX400 M4 multi-node servers, with each server featuring components such as two Intel Xeon Gold processor CPUs, four NVIDIA Tesla V100 GPU computing cards, and Intel SSD DC P4600 storage." Expected power consumption will be down to only 3 MW. Rick C.
[toc] | [prev] | [next] | [standalone]
| From | Tom Gardner <spamjunk@blueyonder.co.uk> |
|---|---|
| Date | 2018-05-12 19:38 +0100 |
| Message-ID | <vwGJC.265601$sl2.153717@fx46.am4> |
| In reply to | #505226 |
On 12/05/18 18:51, gnuarm.deletethisbit@gmail.com wrote: > On Saturday, May 12, 2018 at 12:16:56 PM UTC-4, Tom Gardner wrote: >> On 12/05/18 16:53, gnuarm.deletethisbit@gmail.com wrote: >>> On Saturday, May 12, 2018 at 11:23:22 AM UTC-4, Tom Gardner wrote: >>>> On 12/05/18 15:43, upsidedown@downunder.com wrote: >>>>> On Sat, 12 May 2018 06:42:19 -0700 (PDT), >>>>> gnuarm.deletethisbit@gmail.com wrote: >>>>> >>>>>> On Sunday, August 27, 2017 at 5:43:56 PM UTC-4, bitrex wrote: >>>>>>> On 08/27/2017 03:40 PM, Tim Williams wrote: >>>>>>> >>>>>>>> Not so bad when you've got so many to spare: example, dedicate >>>>>>>> a few rows of cores as data routing (which can be any >>>>>>>> combination you like: duplexed, synchronous, packetized, >>>>>>>> variable length, addressed...), and use the remaining perimeter >>>>>>>> as your parallel processor. You might still get dozens of >>>>>>>> cores in parallel that way, even if the utilization is >>>>>>>> effectively maybe 20%. >>>>>>> >>>>>>> Each core can "know" what the load is for the cores on its >>>>>>> perimeter; if some core needs to send a message to the perimeter >>>>>>> a best-first/greedy-search algorithm like beam search might be >>>>>>> able to be used to find the path where passing would cause the >>>>>>> least disruption. >>>>>>> >>>>>>> <https://en.wikipedia.org/wiki/Beam_search> >>>>>> >>>>>> I know this is an old thread, but I came across it when looking >>>>>> for something else and had a few brain cells wakened. >>>>> >>>>> Not directly related to this issues, but some recollections of >>>>> articles in electronic journals from the early 1970's. >>>>> >>>>> In one article it was speculated that one day in the far future the >>>>> processor clock speed would be over 1 GHz and calculating sin/cos >>>>> etc. would be hyper fast. Apparently the editor assumed that those >>>>> functions were calculated using Taylor series. The article suggested >>>>> using the trigonometric equation >>>>> >>>>> sin(a+b) = sin(a)cos(b) + cos(a)sin(b) >>>>> >>>>> and doing sin(a) and cos(a) with table lookup. >>>> >>>> The CORDIC algorithm was invented in 1956. >>>> >>>> Two decades later implementing floating point plus CORDIC on a 6800 was >>>> my first paid job as a vacation student. I still have the code :) >>>> >>>> CORDIC was also easily implementable in hardware. >>>> >>>> >>>>> With sufficient small steps cos(b)=1 and sin(b) = b/2pi. In reality, >>>>> the trigonometrical functions in those days were calculated using 3rd >>>>> or 4th order polynomials for single precession, so not much >>>>> advantage. >>>> >>>> On the Sinclair Scientific calculator, maybe. >>>> >>>> >>>>> In an other article an Intel representative was interviewed what >>>>> happens, when it is possible to integrate a million transistors on a >>>>> single chip. He could not give a clear answer. >>>>> >>>>> My guess is that the situation today is similar with 1000 or a >>>>> million processor cores available. >>>> >>>> As always, the hardware is easy, but programming techniques for >>>> multiprocessor systems are still in their infancy. >>>> >>>> The *only* processors that have a decent hardware+software story are >>>> the XMOS xCORE processors with xC. They have been around in several >>>> generations for over a decade, and are *very* usable for *hard* >>>> realtime applications. >>>> >>>> The xC+xCORE has a good pedigree: the key concepts have been around >>>> since the 70s (xC/CSP) and 80s (xCORE/Treansputer). >>> >>> Oh, yeah, you are *that* guy. Yes, we've had this discussion before. >>> They are good for a small class of applications which they are optimized >>> for. Otherwise the advantages of other processors or even FPGAs make them >>> more suitable. >> >> Obviously. >> >> But I haven't seen *any* application of the GA144 you mentioned. As for the >> 1000 processors chips, I have seen zero implementations, zero programming >> techniques and zero applications for them. The XMOS devices are therefore >> (currently) infinitely superior. > > Yes, the GA144 was designed as an experiment rather than with any application > in mind. However, I'm told they have customers, one application in > particular was for an advanced hearing aid using something much more advanced > than a graphic equalizer type of filter. Seems the original prototype > required the use of a pair of TMS320C6xxx devices which use around a watt > each if I remember correctly. This type of signal processing app has > potential for a multiprocessor with little memory, as long as it doesn't get > too complex or if it needs external memory the bandwidth isn't too high. > > >> Of those, the programming techniques are the most difficult; get those >> right and implementations and applications may *follow*. >> >> I strongly suspect that anything with 1000s of processors will have no >> significant advantages over an FPGA. > > I don't see that. The super computers of today use standard processors, not > FPGAs. "Tianhee-2 uses over 3 million Intel Xeon E5-2692v2 12C cores", > although that is yesterday's fastest computer surpassed by "The Sunway > TaihuLight uses a total of 40,960 Chinese-designed SW26010 manycore 64-bit > RISC processors based on the Sunway architecture.[6] Each processor chip > contains 256 processing cores, and an additional four auxiliary cores for > system management (also RISC cores, just more fully featured) for a total of > 10,649,600 CPU cores across the entire system." This monster uses 15 MW... > yes, 15 MW! A professor in college used to kid about throwing the power > switch on his CPUMOB machine and watching the lights dim in College Park. > The Sunway would do it for sure! > > A new machine is due out any time now running at 130 PFLOPS. Called the AI > Bridging Cloud Infrastructure, "The system will consist of 1,088 Primergy > CX2570 M4 servers, mounted in Fujitsu's Primergy CX400 M4 multi-node servers, > with each server featuring components such as two Intel Xeon Gold processor > CPUs, four NVIDIA Tesla V100 GPU computing cards, and Intel SSD DC P4600 > storage." Expected power consumption will be down to only 3 MW. I was assuming comparing FPGAs with something /vaguely/ similar to the GA144, or that Sony cell processor, or that intel experiment with 80 cores on a chip. Comparing something that, as I intended, fitted on a large PCB and plus into the mains with something that fits on a tennis court and plugs into a substation isn't really very enlightening. There's a fundamental problem with parallel computing without shared memory[1]: choosing the granularity of parallelism. Too small and the comms costs dominate, too large and you have to copy too much context and wait a long time for other computations to complete. That has been an unsolved problem since the 1960s, except for applications that are known as "embarrassingly parallel". Canonical examples of embarrassingly parallel computations are monte carlo simulations, telecom/financial systems, some place/route algorithms, some simulated annealing algorithms.
[toc] | [prev] | [next] | [standalone]
| From | Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> |
|---|---|
| Date | 2018-05-12 14:57 -0400 |
| Message-ID | <zsGdnV96VvuUpGrHnZ2dnUU7-SWdnZ2d@supernews.com> |
| In reply to | #505231 |
On 05/12/18 14:38, Tom Gardner wrote: > On 12/05/18 18:51, gnuarm.deletethisbit@gmail.com wrote: >> On Saturday, May 12, 2018 at 12:16:56 PM UTC-4, Tom Gardner wrote: >>> On 12/05/18 16:53, gnuarm.deletethisbit@gmail.com wrote: >>>> On Saturday, May 12, 2018 at 11:23:22 AM UTC-4, Tom Gardner wrote: >>>>> On 12/05/18 15:43, upsidedown@downunder.com wrote: >>>>>> On Sat, 12 May 2018 06:42:19 -0700 (PDT), >>>>>> gnuarm.deletethisbit@gmail.com wrote: >>>>>> >>>>>>> On Sunday, August 27, 2017 at 5:43:56 PM UTC-4, bitrex wrote: >>>>>>>> On 08/27/2017 03:40 PM, Tim Williams wrote: >>>>>>>> >>>>>>>>> Not so bad when you've got so many to spare: example, dedicate >>>>>>>>> a few rows of cores as data routing (which can be any >>>>>>>>> combination you like: duplexed, synchronous, packetized, >>>>>>>>> variable length, addressed...), and use the remaining perimeter >>>>>>>>> as your parallel processor. You might still get dozens of >>>>>>>>> cores in parallel that way, even if the utilization is >>>>>>>>> effectively maybe 20%. >>>>>>>> >>>>>>>> Each core can "know" what the load is for the cores on its >>>>>>>> perimeter; if some core needs to send a message to the perimeter >>>>>>>> a best-first/greedy-search algorithm like beam search might be >>>>>>>> able to be used to find the path where passing would cause the >>>>>>>> least disruption. >>>>>>>> >>>>>>>> <https://en.wikipedia.org/wiki/Beam_search> >>>>>>> >>>>>>> I know this is an old thread, but I came across it when looking >>>>>>> for something else and had a few brain cells wakened. >>>>>> >>>>>> Not directly related to this issues, but some recollections of >>>>>> articles in electronic journals from the early 1970's. >>>>>> >>>>>> In one article it was speculated that one day in the far future >>>>>> the processor clock speed would be over 1 GHz and calculating sin/cos >>>>>> etc. would be hyper fast. Apparently the editor assumed that those >>>>>> functions were calculated using Taylor series. The article suggested >>>>>> using the trigonometric equation >>>>>> >>>>>> sin(a+b) = sin(a)cos(b) + cos(a)sin(b) >>>>>> >>>>>> and doing sin(a) and cos(a) with table lookup. >>>>> >>>>> The CORDIC algorithm was invented in 1956. >>>>> >>>>> Two decades later implementing floating point plus CORDIC on a 6800 >>>>> was >>>>> my first paid job as a vacation student. I still have the code :) >>>>> >>>>> CORDIC was also easily implementable in hardware. >>>>> >>>>> >>>>>> With sufficient small steps cos(b)=1 and sin(b) = b/2pi. In reality, >>>>>> the trigonometrical functions in those days were calculated using 3rd >>>>>> or 4th order polynomials for single precession, so not much >>>>>> advantage. >>>>> >>>>> On the Sinclair Scientific calculator, maybe. >>>>> >>>>> >>>>>> In an other article an Intel representative was interviewed what >>>>>> happens, when it is possible to integrate a million transistors on a >>>>>> single chip. He could not give a clear answer. >>>>>> >>>>>> My guess is that the situation today is similar with 1000 or a >>>>>> million processor cores available. >>>>> >>>>> As always, the hardware is easy, but programming techniques for >>>>> multiprocessor systems are still in their infancy. >>>>> >>>>> The *only* processors that have a decent hardware+software story are >>>>> the XMOS xCORE processors with xC. They have been around in several >>>>> generations for over a decade, and are *very* usable for *hard* >>>>> realtime applications. >>>>> >>>>> The xC+xCORE has a good pedigree: the key concepts have been around >>>>> since the 70s (xC/CSP) and 80s (xCORE/Treansputer). >>>> >>>> Oh, yeah, you are *that* guy. Yes, we've had this discussion before. >>>> They are good for a small class of applications which they are >>>> optimized >>>> for. Otherwise the advantages of other processors or even FPGAs make >>>> them >>>> more suitable. >>> >>> Obviously. >>> >>> But I haven't seen *any* application of the GA144 you mentioned. As >>> for the >>> 1000 processors chips, I have seen zero implementations, zero >>> programming >>> techniques and zero applications for them. The XMOS devices are >>> therefore >>> (currently) infinitely superior. >> >> Yes, the GA144 was designed as an experiment rather than with any >> application >> in mind. However, I'm told they have customers, one application in >> particular was for an advanced hearing aid using something much more >> advanced >> than a graphic equalizer type of filter. Seems the original prototype >> required the use of a pair of TMS320C6xxx devices which use around a watt >> each if I remember correctly. This type of signal processing app has >> potential for a multiprocessor with little memory, as long as it >> doesn't get >> too complex or if it needs external memory the bandwidth isn't too high. >> >> >>> Of those, the programming techniques are the most difficult; get those >>> right and implementations and applications may *follow*. >>> >>> I strongly suspect that anything with 1000s of processors will have no >>> significant advantages over an FPGA. >> >> I don't see that. The super computers of today use standard >> processors, not >> FPGAs. "Tianhee-2 uses over 3 million Intel Xeon E5-2692v2 12C cores", >> although that is yesterday's fastest computer surpassed by "The Sunway >> TaihuLight uses a total of 40,960 Chinese-designed SW26010 manycore >> 64-bit >> RISC processors based on the Sunway architecture.[6] Each processor chip >> contains 256 processing cores, and an additional four auxiliary cores for >> system management (also RISC cores, just more fully featured) for a >> total of >> 10,649,600 CPU cores across the entire system." This monster uses 15 >> MW... >> yes, 15 MW! A professor in college used to kid about throwing the power >> switch on his CPUMOB machine and watching the lights dim in College Park. >> The Sunway would do it for sure! >> >> A new machine is due out any time now running at 130 PFLOPS. Called >> the AI >> Bridging Cloud Infrastructure, "The system will consist of 1,088 Primergy >> CX2570 M4 servers, mounted in Fujitsu's Primergy CX400 M4 multi-node >> servers, >> with each server featuring components such as two Intel Xeon Gold >> processor >> CPUs, four NVIDIA Tesla V100 GPU computing cards, and Intel SSD DC P4600 >> storage." Expected power consumption will be down to only 3 MW. > > I was assuming comparing FPGAs with something /vaguely/ > similar to the GA144, or that Sony cell processor, or > that intel experiment with 80 cores on a chip. > > Comparing something that, as I intended, fitted on a large > PCB and plus into the mains with something that fits on a > tennis court and plugs into a substation isn't really very > enlightening. > > There's a fundamental problem with parallel computing > without shared memory[1]: choosing the granularity of > parallelism. Too small and the comms costs dominate, > too large and you have to copy too much context and > wait a long time for other computations to complete. > > That has been an unsolved problem since the 1960s, > except for applications that are known as "embarrassingly > parallel". Canonical examples of embarrassingly parallel > computations are monte carlo simulations, telecom/financial > systems, some place/route algorithms, some simulated > annealing algorithms. Cache coherence traffic grows faster than the number of cores, and eventually dominates unless you go to a NUMA architecture. Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC / Hobbs ElectroOptics Optics, Electro-optics, Photonics, Analog Electronics Briarcliff Manor NY 10510 http://electrooptical.net http://hobbs-eo.com
[toc] | [prev] | [next] | [standalone]
| From | Tom Gardner <spamjunk@blueyonder.co.uk> |
|---|---|
| Date | 2018-05-12 21:15 +0100 |
| Message-ID | <oXHJC.265602$sl2.155972@fx46.am4> |
| In reply to | #505232 |
On 12/05/18 19:57, Phil Hobbs wrote: > On 05/12/18 14:38, Tom Gardner wrote: >> On 12/05/18 18:51, gnuarm.deletethisbit@gmail.com wrote: >>> On Saturday, May 12, 2018 at 12:16:56 PM UTC-4, Tom Gardner wrote: >>>> On 12/05/18 16:53, gnuarm.deletethisbit@gmail.com wrote: >>>>> On Saturday, May 12, 2018 at 11:23:22 AM UTC-4, Tom Gardner wrote: >>>>>> On 12/05/18 15:43, upsidedown@downunder.com wrote: >>>>>>> On Sat, 12 May 2018 06:42:19 -0700 (PDT), >>>>>>> gnuarm.deletethisbit@gmail.com wrote: >>>>>>> >>>>>>>> On Sunday, August 27, 2017 at 5:43:56 PM UTC-4, bitrex wrote: >>>>>>>>> On 08/27/2017 03:40 PM, Tim Williams wrote: >>>>>>>>> >>>>>>>>>> Not so bad when you've got so many to spare: example, dedicate >>>>>>>>>> a few rows of cores as data routing (which can be any >>>>>>>>>> combination you like: duplexed, synchronous, packetized, >>>>>>>>>> variable length, addressed...), and use the remaining perimeter >>>>>>>>>> as your parallel processor. You might still get dozens of >>>>>>>>>> cores in parallel that way, even if the utilization is >>>>>>>>>> effectively maybe 20%. >>>>>>>>> >>>>>>>>> Each core can "know" what the load is for the cores on its >>>>>>>>> perimeter; if some core needs to send a message to the perimeter >>>>>>>>> a best-first/greedy-search algorithm like beam search might be >>>>>>>>> able to be used to find the path where passing would cause the >>>>>>>>> least disruption. >>>>>>>>> >>>>>>>>> <https://en.wikipedia.org/wiki/Beam_search> >>>>>>>> >>>>>>>> I know this is an old thread, but I came across it when looking >>>>>>>> for something else and had a few brain cells wakened. >>>>>>> >>>>>>> Not directly related to this issues, but some recollections of >>>>>>> articles in electronic journals from the early 1970's. >>>>>>> >>>>>>> In one article it was speculated that one day in the far future the >>>>>>> processor clock speed would be over 1 GHz and calculating sin/cos >>>>>>> etc. would be hyper fast. Apparently the editor assumed that those >>>>>>> functions were calculated using Taylor series. The article suggested >>>>>>> using the trigonometric equation >>>>>>> >>>>>>> sin(a+b) = sin(a)cos(b) + cos(a)sin(b) >>>>>>> >>>>>>> and doing sin(a) and cos(a) with table lookup. >>>>>> >>>>>> The CORDIC algorithm was invented in 1956. >>>>>> >>>>>> Two decades later implementing floating point plus CORDIC on a 6800 was >>>>>> my first paid job as a vacation student. I still have the code :) >>>>>> >>>>>> CORDIC was also easily implementable in hardware. >>>>>> >>>>>> >>>>>>> With sufficient small steps cos(b)=1 and sin(b) = b/2pi. In reality, >>>>>>> the trigonometrical functions in those days were calculated using 3rd >>>>>>> or 4th order polynomials for single precession, so not much >>>>>>> advantage. >>>>>> >>>>>> On the Sinclair Scientific calculator, maybe. >>>>>> >>>>>> >>>>>>> In an other article an Intel representative was interviewed what >>>>>>> happens, when it is possible to integrate a million transistors on a >>>>>>> single chip. He could not give a clear answer. >>>>>>> >>>>>>> My guess is that the situation today is similar with 1000 or a >>>>>>> million processor cores available. >>>>>> >>>>>> As always, the hardware is easy, but programming techniques for >>>>>> multiprocessor systems are still in their infancy. >>>>>> >>>>>> The *only* processors that have a decent hardware+software story are >>>>>> the XMOS xCORE processors with xC. They have been around in several >>>>>> generations for over a decade, and are *very* usable for *hard* >>>>>> realtime applications. >>>>>> >>>>>> The xC+xCORE has a good pedigree: the key concepts have been around >>>>>> since the 70s (xC/CSP) and 80s (xCORE/Treansputer). >>>>> >>>>> Oh, yeah, you are *that* guy. Yes, we've had this discussion before. >>>>> They are good for a small class of applications which they are optimized >>>>> for. Otherwise the advantages of other processors or even FPGAs make them >>>>> more suitable. >>>> >>>> Obviously. >>>> >>>> But I haven't seen *any* application of the GA144 you mentioned. As for the >>>> 1000 processors chips, I have seen zero implementations, zero programming >>>> techniques and zero applications for them. The XMOS devices are therefore >>>> (currently) infinitely superior. >>> >>> Yes, the GA144 was designed as an experiment rather than with any application >>> in mind. However, I'm told they have customers, one application in >>> particular was for an advanced hearing aid using something much more advanced >>> than a graphic equalizer type of filter. Seems the original prototype >>> required the use of a pair of TMS320C6xxx devices which use around a watt >>> each if I remember correctly. This type of signal processing app has >>> potential for a multiprocessor with little memory, as long as it doesn't get >>> too complex or if it needs external memory the bandwidth isn't too high. >>> >>> >>>> Of those, the programming techniques are the most difficult; get those >>>> right and implementations and applications may *follow*. >>>> >>>> I strongly suspect that anything with 1000s of processors will have no >>>> significant advantages over an FPGA. >>> >>> I don't see that. The super computers of today use standard processors, not >>> FPGAs. "Tianhee-2 uses over 3 million Intel Xeon E5-2692v2 12C cores", >>> although that is yesterday's fastest computer surpassed by "The Sunway >>> TaihuLight uses a total of 40,960 Chinese-designed SW26010 manycore 64-bit >>> RISC processors based on the Sunway architecture.[6] Each processor chip >>> contains 256 processing cores, and an additional four auxiliary cores for >>> system management (also RISC cores, just more fully featured) for a total of >>> 10,649,600 CPU cores across the entire system." This monster uses 15 MW... >>> yes, 15 MW! A professor in college used to kid about throwing the power >>> switch on his CPUMOB machine and watching the lights dim in College Park. >>> The Sunway would do it for sure! >>> >>> A new machine is due out any time now running at 130 PFLOPS. Called the AI >>> Bridging Cloud Infrastructure, "The system will consist of 1,088 Primergy >>> CX2570 M4 servers, mounted in Fujitsu's Primergy CX400 M4 multi-node servers, >>> with each server featuring components such as two Intel Xeon Gold processor >>> CPUs, four NVIDIA Tesla V100 GPU computing cards, and Intel SSD DC P4600 >>> storage." Expected power consumption will be down to only 3 MW. >> >> I was assuming comparing FPGAs with something /vaguely/ >> similar to the GA144, or that Sony cell processor, or >> that intel experiment with 80 cores on a chip. >> >> Comparing something that, as I intended, fitted on a large >> PCB and plus into the mains with something that fits on a >> tennis court and plugs into a substation isn't really very >> enlightening. >> >> There's a fundamental problem with parallel computing >> without shared memory[1]: choosing the granularity of >> parallelism. Too small and the comms costs dominate, >> too large and you have to copy too much context and >> wait a long time for other computations to complete. >> >> That has been an unsolved problem since the 1960s, >> except for applications that are known as "embarrassingly >> parallel". Canonical examples of embarrassingly parallel >> computations are monte carlo simulations, telecom/financial >> systems, some place/route algorithms, some simulated >> annealing algorithms. > > Cache coherence traffic grows faster than the number of cores, and eventually > dominates unless you go to a NUMA architecture. Oh, indeed, that is inherently non-scalable, with /any/ memory architecture. Sure people have pushed the limit back a bit, but not cleanly. The fundamental problem is that low-level softies would like to think that they are still programming PDP11s in K&R C. They aren't, and there are an appalling number of poorly understood band-aids in modern C that attempt to preserve that illusion. (And may preserve it if you get all the incantations for your compiler+version exactly right) The sooner the flat-memory-space single-instruction- at-a-time mirage is superseded, the better. Currently the best option, according to the HPC mob that traditionally push all computational boundaries, is message-passing. But that is poorly supported by C. For an amusing speed-read, have a look at "C Is Not a Low-level Language. Your computer is not a fast PDP-11." https://queue.acm.org/detail.cfm?id=3212479 It has examples of where people in the trenches don't understand what's going on. For example: "A 2015 survey of C programmers, compiler writers, and standards committee members raised several issues about the comprehensibility of C. For example, C permits an implementation to insert padding into structures (but not into arrays) to ensure that all fields have a useful alignment for the target. If you zero a structure and then set some of the fields, will the padding bits all be zero? According to the results of the survey, 36 percent were sure that they would be, and 29 percent didn't know. Depending on the compiler (and optimization level), it may or may not be.
[toc] | [prev] | [next] | [standalone]
| From | Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> |
|---|---|
| Date | 2018-05-12 17:40 -0400 |
| Message-ID | <pd7mum$juo$1@dont-email.me> |
| In reply to | #505237 |
On 05/12/18 16:15, Tom Gardner wrote: > On 12/05/18 19:57, Phil Hobbs wrote: >> On 05/12/18 14:38, Tom Gardner wrote: >>> On 12/05/18 18:51, gnuarm.deletethisbit@gmail.com wrote: >>>> On Saturday, May 12, 2018 at 12:16:56 PM UTC-4, Tom Gardner wrote: >>>>> On 12/05/18 16:53, gnuarm.deletethisbit@gmail.com wrote: >>>>>> On Saturday, May 12, 2018 at 11:23:22 AM UTC-4, Tom Gardner wrote: >>>>>>> On 12/05/18 15:43, upsidedown@downunder.com wrote: >>>>>>>> On Sat, 12 May 2018 06:42:19 -0700 (PDT), >>>>>>>> gnuarm.deletethisbit@gmail.com wrote: >>>>>>>> >>>>>>>>> On Sunday, August 27, 2017 at 5:43:56 PM UTC-4, bitrex wrote: >>>>>>>>>> On 08/27/2017 03:40 PM, Tim Williams wrote: >>>>>>>>>> >>>>>>>>>>> Not so bad when you've got so many to spare: example, dedicate >>>>>>>>>>> a few rows of cores as data routing (which can be any >>>>>>>>>>> combination you like: duplexed, synchronous, packetized, >>>>>>>>>>> variable length, addressed...), and use the remaining perimeter >>>>>>>>>>> as your parallel processor. You might still get dozens of >>>>>>>>>>> cores in parallel that way, even if the utilization is >>>>>>>>>>> effectively maybe 20%. >>>>>>>>>> >>>>>>>>>> Each core can "know" what the load is for the cores on its >>>>>>>>>> perimeter; if some core needs to send a message to the perimeter >>>>>>>>>> a best-first/greedy-search algorithm like beam search might be >>>>>>>>>> able to be used to find the path where passing would cause the >>>>>>>>>> least disruption. >>>>>>>>>> >>>>>>>>>> <https://en.wikipedia.org/wiki/Beam_search> >>>>>>>>> >>>>>>>>> I know this is an old thread, but I came across it when looking >>>>>>>>> for something else and had a few brain cells wakened. >>>>>>>> >>>>>>>> Not directly related to this issues, but some recollections of >>>>>>>> articles in electronic journals from the early 1970's. >>>>>>>> >>>>>>>> In one article it was speculated that one day in the far future >>>>>>>> the processor clock speed would be over 1 GHz and calculating >>>>>>>> sin/cos >>>>>>>> etc. would be hyper fast. Apparently the editor assumed that those >>>>>>>> functions were calculated using Taylor series. The article >>>>>>>> suggested >>>>>>>> using the trigonometric equation >>>>>>>> >>>>>>>> sin(a+b) = sin(a)cos(b) + cos(a)sin(b) >>>>>>>> >>>>>>>> and doing sin(a) and cos(a) with table lookup. >>>>>>> >>>>>>> The CORDIC algorithm was invented in 1956. >>>>>>> >>>>>>> Two decades later implementing floating point plus CORDIC on a >>>>>>> 6800 was >>>>>>> my first paid job as a vacation student. I still have the code :) >>>>>>> >>>>>>> CORDIC was also easily implementable in hardware. >>>>>>> >>>>>>> >>>>>>>> With sufficient small steps cos(b)=1 and sin(b) = b/2pi. In >>>>>>>> reality, >>>>>>>> the trigonometrical functions in those days were calculated >>>>>>>> using 3rd >>>>>>>> or 4th order polynomials for single precession, so not much >>>>>>>> advantage. >>>>>>> >>>>>>> On the Sinclair Scientific calculator, maybe. >>>>>>> >>>>>>> >>>>>>>> In an other article an Intel representative was interviewed what >>>>>>>> happens, when it is possible to integrate a million transistors >>>>>>>> on a >>>>>>>> single chip. He could not give a clear answer. >>>>>>>> >>>>>>>> My guess is that the situation today is similar with 1000 or a >>>>>>>> million processor cores available. >>>>>>> >>>>>>> As always, the hardware is easy, but programming techniques for >>>>>>> multiprocessor systems are still in their infancy. >>>>>>> >>>>>>> The *only* processors that have a decent hardware+software story are >>>>>>> the XMOS xCORE processors with xC. They have been around in several >>>>>>> generations for over a decade, and are *very* usable for *hard* >>>>>>> realtime applications. >>>>>>> >>>>>>> The xC+xCORE has a good pedigree: the key concepts have been around >>>>>>> since the 70s (xC/CSP) and 80s (xCORE/Treansputer). >>>>>> >>>>>> Oh, yeah, you are *that* guy. Yes, we've had this discussion before. >>>>>> They are good for a small class of applications which they are >>>>>> optimized >>>>>> for. Otherwise the advantages of other processors or even FPGAs >>>>>> make them >>>>>> more suitable. >>>>> >>>>> Obviously. >>>>> >>>>> But I haven't seen *any* application of the GA144 you mentioned. As >>>>> for the >>>>> 1000 processors chips, I have seen zero implementations, zero >>>>> programming >>>>> techniques and zero applications for them. The XMOS devices are >>>>> therefore >>>>> (currently) infinitely superior. >>>> >>>> Yes, the GA144 was designed as an experiment rather than with any >>>> application >>>> in mind. However, I'm told they have customers, one application in >>>> particular was for an advanced hearing aid using something much more >>>> advanced >>>> than a graphic equalizer type of filter. Seems the original prototype >>>> required the use of a pair of TMS320C6xxx devices which use around a >>>> watt >>>> each if I remember correctly. This type of signal processing app has >>>> potential for a multiprocessor with little memory, as long as it >>>> doesn't get >>>> too complex or if it needs external memory the bandwidth isn't too >>>> high. >>>> >>>> >>>>> Of those, the programming techniques are the most difficult; get those >>>>> right and implementations and applications may *follow*. >>>>> >>>>> I strongly suspect that anything with 1000s of processors will have no >>>>> significant advantages over an FPGA. >>>> >>>> I don't see that. The super computers of today use standard >>>> processors, not >>>> FPGAs. "Tianhee-2 uses over 3 million Intel Xeon E5-2692v2 12C cores", >>>> although that is yesterday's fastest computer surpassed by "The Sunway >>>> TaihuLight uses a total of 40,960 Chinese-designed SW26010 manycore >>>> 64-bit >>>> RISC processors based on the Sunway architecture.[6] Each processor >>>> chip >>>> contains 256 processing cores, and an additional four auxiliary >>>> cores for >>>> system management (also RISC cores, just more fully featured) for a >>>> total of >>>> 10,649,600 CPU cores across the entire system." This monster uses >>>> 15 MW... >>>> yes, 15 MW! A professor in college used to kid about throwing the >>>> power >>>> switch on his CPUMOB machine and watching the lights dim in College >>>> Park. >>>> The Sunway would do it for sure! >>>> >>>> A new machine is due out any time now running at 130 PFLOPS. Called >>>> the AI >>>> Bridging Cloud Infrastructure, "The system will consist of 1,088 >>>> Primergy >>>> CX2570 M4 servers, mounted in Fujitsu's Primergy CX400 M4 multi-node >>>> servers, >>>> with each server featuring components such as two Intel Xeon Gold >>>> processor >>>> CPUs, four NVIDIA Tesla V100 GPU computing cards, and Intel SSD DC >>>> P4600 >>>> storage." Expected power consumption will be down to only 3 MW. >>> >>> I was assuming comparing FPGAs with something /vaguely/ >>> similar to the GA144, or that Sony cell processor, or >>> that intel experiment with 80 cores on a chip. >>> >>> Comparing something that, as I intended, fitted on a large >>> PCB and plus into the mains with something that fits on a >>> tennis court and plugs into a substation isn't really very >>> enlightening. >>> >>> There's a fundamental problem with parallel computing >>> without shared memory[1]: choosing the granularity of >>> parallelism. Too small and the comms costs dominate, >>> too large and you have to copy too much context and >>> wait a long time for other computations to complete. >>> >>> That has been an unsolved problem since the 1960s, >>> except for applications that are known as "embarrassingly >>> parallel". Canonical examples of embarrassingly parallel >>> computations are monte carlo simulations, telecom/financial >>> systems, some place/route algorithms, some simulated >>> annealing algorithms. >> >> Cache coherence traffic grows faster than the number of cores, and >> eventually dominates unless you go to a NUMA architecture. > > Oh, indeed, that is inherently non-scalable, with > /any/ memory architecture. Sure people have pushed > the limit back a bit, but not cleanly. > > The fundamental problem is that low-level softies would > like to think that they are still programming PDP11s in > K&R C. They aren't, and there are an appalling number > of poorly understood band-aids in modern C that attempt > to preserve that illusion. (And may preserve it if you > get all the incantations for your compiler+version > exactly right) > > The sooner the flat-memory-space single-instruction- > at-a-time mirage is superseded, the better. Currently > the best option, according to the HPC mob that > traditionally push all computational boundaries, is > message-passing. But that is poorly supported by C. > > For an amusing speed-read, have a look at > "C Is Not a Low-level Language. Your computer > is not a fast PDP-11." > https://queue.acm.org/detail.cfm?id=3212479 > > It has examples of where people in the trenches > don't understand what's going on. For example: > "A 2015 survey of C programmers, compiler writers, > and standards committee members raised several > issues about the comprehensibility of C. For > example, C permits an implementation to insert > padding into structures (but not into arrays) > to ensure that all fields have a useful alignment > for the target. If you zero a structure and then > set some of the fields, will the padding bits > all be zero? According to the results of the > survey, 36 percent were sure that they would > be, and 29 percent didn't know. Depending on > the compiler (and optimization level), it may > or may not be. Fun. He's a CS academic, so he probably doesn't write programs and so doesn't realize how much stuff can't reasonably be done in his favourite toy language, but it's a good read anyhow. Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC / Hobbs ElectroOptics Optics, Electro-optics, Photonics, Analog Electronics Briarcliff Manor NY 10510 http://electrooptical.net http://hobbs-eo.com
[toc] | [prev] | [next] | [standalone]
| From | Lasse Langwadt Christensen <langwadt@fonz.dk> |
|---|---|
| Date | 2018-05-12 14:52 -0700 |
| Message-ID | <80381e71-e3dd-4a22-91c4-e5f210c50167@googlegroups.com> |
| In reply to | #505247 |
lørdag den 12. maj 2018 kl. 23.39.39 UTC+2 skrev Phil Hobbs: > On 05/12/18 16:15, Tom Gardner wrote: > > On 12/05/18 19:57, Phil Hobbs wrote: > >> On 05/12/18 14:38, Tom Gardner wrote: > >>> On 12/05/18 18:51, gnuarm.deletethisbit@gmail.com wrote: > >>>> On Saturday, May 12, 2018 at 12:16:56 PM UTC-4, Tom Gardner wrote: > >>>>> On 12/05/18 16:53, gnuarm.deletethisbit@gmail.com wrote: > >>>>>> On Saturday, May 12, 2018 at 11:23:22 AM UTC-4, Tom Gardner wrote: > >>>>>>> On 12/05/18 15:43, upsidedown@downunder.com wrote: > >>>>>>>> On Sat, 12 May 2018 06:42:19 -0700 (PDT), > >>>>>>>> gnuarm.deletethisbit@gmail.com wrote: > >>>>>>>> > >>>>>>>>> On Sunday, August 27, 2017 at 5:43:56 PM UTC-4, bitrex wrote: > >>>>>>>>>> On 08/27/2017 03:40 PM, Tim Williams wrote: > >>>>>>>>>> > >>>>>>>>>>> Not so bad when you've got so many to spare: example, dedicate > >>>>>>>>>>> a few rows of cores as data routing (which can be any > >>>>>>>>>>> combination you like: duplexed, synchronous, packetized, > >>>>>>>>>>> variable length, addressed...), and use the remaining perimeter > >>>>>>>>>>> as your parallel processor. You might still get dozens of > >>>>>>>>>>> cores in parallel that way, even if the utilization is > >>>>>>>>>>> effectively maybe 20%. > >>>>>>>>>> > >>>>>>>>>> Each core can "know" what the load is for the cores on its > >>>>>>>>>> perimeter; if some core needs to send a message to the perimeter > >>>>>>>>>> a best-first/greedy-search algorithm like beam search might be > >>>>>>>>>> able to be used to find the path where passing would cause the > >>>>>>>>>> least disruption. > >>>>>>>>>> > >>>>>>>>>> <https://en.wikipedia.org/wiki/Beam_search> > >>>>>>>>> > >>>>>>>>> I know this is an old thread, but I came across it when looking > >>>>>>>>> for something else and had a few brain cells wakened. > >>>>>>>> > >>>>>>>> Not directly related to this issues, but some recollections of > >>>>>>>> articles in electronic journals from the early 1970's. > >>>>>>>> > >>>>>>>> In one article it was speculated that one day in the far future > >>>>>>>> the processor clock speed would be over 1 GHz and calculating > >>>>>>>> sin/cos > >>>>>>>> etc. would be hyper fast. Apparently the editor assumed that those > >>>>>>>> functions were calculated using Taylor series. The article > >>>>>>>> suggested > >>>>>>>> using the trigonometric equation > >>>>>>>> > >>>>>>>> sin(a+b) = sin(a)cos(b) + cos(a)sin(b) > >>>>>>>> > >>>>>>>> and doing sin(a) and cos(a) with table lookup. > >>>>>>> > >>>>>>> The CORDIC algorithm was invented in 1956. > >>>>>>> > >>>>>>> Two decades later implementing floating point plus CORDIC on a > >>>>>>> 6800 was > >>>>>>> my first paid job as a vacation student. I still have the code :) > >>>>>>> > >>>>>>> CORDIC was also easily implementable in hardware. > >>>>>>> > >>>>>>> > >>>>>>>> With sufficient small steps cos(b)=1 and sin(b) = b/2pi. In > >>>>>>>> reality, > >>>>>>>> the trigonometrical functions in those days were calculated > >>>>>>>> using 3rd > >>>>>>>> or 4th order polynomials for single precession, so not much > >>>>>>>> advantage. > >>>>>>> > >>>>>>> On the Sinclair Scientific calculator, maybe. > >>>>>>> > >>>>>>> > >>>>>>>> In an other article an Intel representative was interviewed what > >>>>>>>> happens, when it is possible to integrate a million transistors > >>>>>>>> on a > >>>>>>>> single chip. He could not give a clear answer. > >>>>>>>> > >>>>>>>> My guess is that the situation today is similar with 1000 or a > >>>>>>>> million processor cores available. > >>>>>>> > >>>>>>> As always, the hardware is easy, but programming techniques for > >>>>>>> multiprocessor systems are still in their infancy. > >>>>>>> > >>>>>>> The *only* processors that have a decent hardware+software story are > >>>>>>> the XMOS xCORE processors with xC. They have been around in several > >>>>>>> generations for over a decade, and are *very* usable for *hard* > >>>>>>> realtime applications. > >>>>>>> > >>>>>>> The xC+xCORE has a good pedigree: the key concepts have been around > >>>>>>> since the 70s (xC/CSP) and 80s (xCORE/Treansputer). > >>>>>> > >>>>>> Oh, yeah, you are *that* guy. Yes, we've had this discussion before. > >>>>>> They are good for a small class of applications which they are > >>>>>> optimized > >>>>>> for. Otherwise the advantages of other processors or even FPGAs > >>>>>> make them > >>>>>> more suitable. > >>>>> > >>>>> Obviously. > >>>>> > >>>>> But I haven't seen *any* application of the GA144 you mentioned. As > >>>>> for the > >>>>> 1000 processors chips, I have seen zero implementations, zero > >>>>> programming > >>>>> techniques and zero applications for them. The XMOS devices are > >>>>> therefore > >>>>> (currently) infinitely superior. > >>>> > >>>> Yes, the GA144 was designed as an experiment rather than with any > >>>> application > >>>> in mind. However, I'm told they have customers, one application in > >>>> particular was for an advanced hearing aid using something much more > >>>> advanced > >>>> than a graphic equalizer type of filter. Seems the original prototype > >>>> required the use of a pair of TMS320C6xxx devices which use around a > >>>> watt > >>>> each if I remember correctly. This type of signal processing app has > >>>> potential for a multiprocessor with little memory, as long as it > >>>> doesn't get > >>>> too complex or if it needs external memory the bandwidth isn't too > >>>> high. > >>>> > >>>> > >>>>> Of those, the programming techniques are the most difficult; get those > >>>>> right and implementations and applications may *follow*. > >>>>> > >>>>> I strongly suspect that anything with 1000s of processors will have no > >>>>> significant advantages over an FPGA. > >>>> > >>>> I don't see that. The super computers of today use standard > >>>> processors, not > >>>> FPGAs. "Tianhee-2 uses over 3 million Intel Xeon E5-2692v2 12C cores", > >>>> although that is yesterday's fastest computer surpassed by "The Sunway > >>>> TaihuLight uses a total of 40,960 Chinese-designed SW26010 manycore > >>>> 64-bit > >>>> RISC processors based on the Sunway architecture.[6] Each processor > >>>> chip > >>>> contains 256 processing cores, and an additional four auxiliary > >>>> cores for > >>>> system management (also RISC cores, just more fully featured) for a > >>>> total of > >>>> 10,649,600 CPU cores across the entire system." This monster uses > >>>> 15 MW... > >>>> yes, 15 MW! A professor in college used to kid about throwing the > >>>> power > >>>> switch on his CPUMOB machine and watching the lights dim in College > >>>> Park. > >>>> The Sunway would do it for sure! > >>>> > >>>> A new machine is due out any time now running at 130 PFLOPS. Called > >>>> the AI > >>>> Bridging Cloud Infrastructure, "The system will consist of 1,088 > >>>> Primergy > >>>> CX2570 M4 servers, mounted in Fujitsu's Primergy CX400 M4 multi-node > >>>> servers, > >>>> with each server featuring components such as two Intel Xeon Gold > >>>> processor > >>>> CPUs, four NVIDIA Tesla V100 GPU computing cards, and Intel SSD DC > >>>> P4600 > >>>> storage." Expected power consumption will be down to only 3 MW. > >>> > >>> I was assuming comparing FPGAs with something /vaguely/ > >>> similar to the GA144, or that Sony cell processor, or > >>> that intel experiment with 80 cores on a chip. > >>> > >>> Comparing something that, as I intended, fitted on a large > >>> PCB and plus into the mains with something that fits on a > >>> tennis court and plugs into a substation isn't really very > >>> enlightening. > >>> > >>> There's a fundamental problem with parallel computing > >>> without shared memory[1]: choosing the granularity of > >>> parallelism. Too small and the comms costs dominate, > >>> too large and you have to copy too much context and > >>> wait a long time for other computations to complete. > >>> > >>> That has been an unsolved problem since the 1960s, > >>> except for applications that are known as "embarrassingly > >>> parallel". Canonical examples of embarrassingly parallel > >>> computations are monte carlo simulations, telecom/financial > >>> systems, some place/route algorithms, some simulated > >>> annealing algorithms. > >> > >> Cache coherence traffic grows faster than the number of cores, and > >> eventually dominates unless you go to a NUMA architecture. > > > > Oh, indeed, that is inherently non-scalable, with > > /any/ memory architecture. Sure people have pushed > > the limit back a bit, but not cleanly. > > > > The fundamental problem is that low-level softies would > > like to think that they are still programming PDP11s in > > K&R C. They aren't, and there are an appalling number > > of poorly understood band-aids in modern C that attempt > > to preserve that illusion. (And may preserve it if you > > get all the incantations for your compiler+version > > exactly right) > > > > The sooner the flat-memory-space single-instruction- > > at-a-time mirage is superseded, the better. Currently > > the best option, according to the HPC mob that > > traditionally push all computational boundaries, is > > message-passing. But that is poorly supported by C. > > > > For an amusing speed-read, have a look at > > "C Is Not a Low-level Language. Your computer > > is not a fast PDP-11." > > https://queue.acm.org/detail.cfm?id=3212479 > > > > It has examples of where people in the trenches > > don't understand what's going on. For example: > > "A 2015 survey of C programmers, compiler writers, > > and standards committee members raised several > > issues about the comprehensibility of C. For > > example, C permits an implementation to insert > > padding into structures (but not into arrays) > > to ensure that all fields have a useful alignment > > for the target. If you zero a structure and then > > set some of the fields, will the padding bits > > all be zero? According to the results of the > > survey, 36 percent were sure that they would > > be, and 29 percent didn't know. Depending on > > the compiler (and optimization level), it may > > or may not be. > > Fun. He's a CS academic, so he probably doesn't write programs and so > doesn't realize how much stuff can't reasonably be done in his favourite > toy language, but it's a good read anyhow. :)
[toc] | [prev] | [next] | [standalone]
| From | David Brown <david.brown@hesbynett.no> |
|---|---|
| Date | 2018-05-14 13:54 +0200 |
| Message-ID | <pdbtd3$6g8$2@dont-email.me> |
| In reply to | #505251 |
On 12/05/18 23:52, Lasse Langwadt Christensen wrote: <snip 230 lines> > > :) > Folks, how about snipping a little here? 230 lines of quotation for a smiley? What is this, AOL?
[toc] | [prev] | [next] | [standalone]
| From | "dcaster@krl.org" <dcaster@krl.org> |
|---|---|
| Date | 2018-05-14 11:49 -0700 |
| Message-ID | <58298732-22ba-4d8f-a253-565e5bfb588f@googlegroups.com> |
| In reply to | #505352 |
On Monday, May 14, 2018 at 7:54:15 AM UTC-4, David Brown wrote: > Folks, how about snipping a little here? 230 lines of quotation for a > smiley? What is this, AOL? +1 Dan
[toc] | [prev] | [next] | [standalone]
| From | Tom Gardner <spamjunk@blueyonder.co.uk> |
|---|---|
| Date | 2018-05-13 01:47 +0100 |
| Message-ID | <GWLJC.73888$U32.51033@fx04.am4> |
| In reply to | #505247 |
On 12/05/18 22:40, Phil Hobbs wrote: > On 05/12/18 16:15, Tom Gardner wrote: >> On 12/05/18 19:57, Phil Hobbs wrote: >>> On 05/12/18 14:38, Tom Gardner wrote: >>>> On 12/05/18 18:51, gnuarm.deletethisbit@gmail.com wrote: >>>>> On Saturday, May 12, 2018 at 12:16:56 PM UTC-4, Tom Gardner wrote: >>>>>> On 12/05/18 16:53, gnuarm.deletethisbit@gmail.com wrote: >>>>>>> On Saturday, May 12, 2018 at 11:23:22 AM UTC-4, Tom Gardner wrote: >>>>>>>> On 12/05/18 15:43, upsidedown@downunder.com wrote: >>>>>>>>> On Sat, 12 May 2018 06:42:19 -0700 (PDT), >>>>>>>>> gnuarm.deletethisbit@gmail.com wrote: >>>>>>>>> >>>>>>>>>> On Sunday, August 27, 2017 at 5:43:56 PM UTC-4, bitrex wrote: >>>>>>>>>>> On 08/27/2017 03:40 PM, Tim Williams wrote: >>>>>>>>>>> >>>>>>>>>>>> Not so bad when you've got so many to spare: example, dedicate >>>>>>>>>>>> a few rows of cores as data routing (which can be any >>>>>>>>>>>> combination you like: duplexed, synchronous, packetized, >>>>>>>>>>>> variable length, addressed...), and use the remaining perimeter >>>>>>>>>>>> as your parallel processor. You might still get dozens of >>>>>>>>>>>> cores in parallel that way, even if the utilization is >>>>>>>>>>>> effectively maybe 20%. >>>>>>>>>>> >>>>>>>>>>> Each core can "know" what the load is for the cores on its >>>>>>>>>>> perimeter; if some core needs to send a message to the perimeter >>>>>>>>>>> a best-first/greedy-search algorithm like beam search might be >>>>>>>>>>> able to be used to find the path where passing would cause the >>>>>>>>>>> least disruption. >>>>>>>>>>> >>>>>>>>>>> <https://en.wikipedia.org/wiki/Beam_search> >>>>>>>>>> >>>>>>>>>> I know this is an old thread, but I came across it when looking >>>>>>>>>> for something else and had a few brain cells wakened. >>>>>>>>> >>>>>>>>> Not directly related to this issues, but some recollections of >>>>>>>>> articles in electronic journals from the early 1970's. >>>>>>>>> >>>>>>>>> In one article it was speculated that one day in the far future the >>>>>>>>> processor clock speed would be over 1 GHz and calculating sin/cos >>>>>>>>> etc. would be hyper fast. Apparently the editor assumed that those >>>>>>>>> functions were calculated using Taylor series. The article suggested >>>>>>>>> using the trigonometric equation >>>>>>>>> >>>>>>>>> sin(a+b) = sin(a)cos(b) + cos(a)sin(b) >>>>>>>>> >>>>>>>>> and doing sin(a) and cos(a) with table lookup. >>>>>>>> >>>>>>>> The CORDIC algorithm was invented in 1956. >>>>>>>> >>>>>>>> Two decades later implementing floating point plus CORDIC on a 6800 was >>>>>>>> my first paid job as a vacation student. I still have the code :) >>>>>>>> >>>>>>>> CORDIC was also easily implementable in hardware. >>>>>>>> >>>>>>>> >>>>>>>>> With sufficient small steps cos(b)=1 and sin(b) = b/2pi. In reality, >>>>>>>>> the trigonometrical functions in those days were calculated using 3rd >>>>>>>>> or 4th order polynomials for single precession, so not much >>>>>>>>> advantage. >>>>>>>> >>>>>>>> On the Sinclair Scientific calculator, maybe. >>>>>>>> >>>>>>>> >>>>>>>>> In an other article an Intel representative was interviewed what >>>>>>>>> happens, when it is possible to integrate a million transistors on a >>>>>>>>> single chip. He could not give a clear answer. >>>>>>>>> >>>>>>>>> My guess is that the situation today is similar with 1000 or a >>>>>>>>> million processor cores available. >>>>>>>> >>>>>>>> As always, the hardware is easy, but programming techniques for >>>>>>>> multiprocessor systems are still in their infancy. >>>>>>>> >>>>>>>> The *only* processors that have a decent hardware+software story are >>>>>>>> the XMOS xCORE processors with xC. They have been around in several >>>>>>>> generations for over a decade, and are *very* usable for *hard* >>>>>>>> realtime applications. >>>>>>>> >>>>>>>> The xC+xCORE has a good pedigree: the key concepts have been around >>>>>>>> since the 70s (xC/CSP) and 80s (xCORE/Treansputer). >>>>>>> >>>>>>> Oh, yeah, you are *that* guy. Yes, we've had this discussion before. >>>>>>> They are good for a small class of applications which they are optimized >>>>>>> for. Otherwise the advantages of other processors or even FPGAs make them >>>>>>> more suitable. >>>>>> >>>>>> Obviously. >>>>>> >>>>>> But I haven't seen *any* application of the GA144 you mentioned. As for the >>>>>> 1000 processors chips, I have seen zero implementations, zero programming >>>>>> techniques and zero applications for them. The XMOS devices are therefore >>>>>> (currently) infinitely superior. >>>>> >>>>> Yes, the GA144 was designed as an experiment rather than with any application >>>>> in mind. However, I'm told they have customers, one application in >>>>> particular was for an advanced hearing aid using something much more advanced >>>>> than a graphic equalizer type of filter. Seems the original prototype >>>>> required the use of a pair of TMS320C6xxx devices which use around a watt >>>>> each if I remember correctly. This type of signal processing app has >>>>> potential for a multiprocessor with little memory, as long as it doesn't get >>>>> too complex or if it needs external memory the bandwidth isn't too high. >>>>> >>>>> >>>>>> Of those, the programming techniques are the most difficult; get those >>>>>> right and implementations and applications may *follow*. >>>>>> >>>>>> I strongly suspect that anything with 1000s of processors will have no >>>>>> significant advantages over an FPGA. >>>>> >>>>> I don't see that. The super computers of today use standard processors, not >>>>> FPGAs. "Tianhee-2 uses over 3 million Intel Xeon E5-2692v2 12C cores", >>>>> although that is yesterday's fastest computer surpassed by "The Sunway >>>>> TaihuLight uses a total of 40,960 Chinese-designed SW26010 manycore 64-bit >>>>> RISC processors based on the Sunway architecture.[6] Each processor chip >>>>> contains 256 processing cores, and an additional four auxiliary cores for >>>>> system management (also RISC cores, just more fully featured) for a total of >>>>> 10,649,600 CPU cores across the entire system." This monster uses 15 MW... >>>>> yes, 15 MW! A professor in college used to kid about throwing the power >>>>> switch on his CPUMOB machine and watching the lights dim in College Park. >>>>> The Sunway would do it for sure! >>>>> >>>>> A new machine is due out any time now running at 130 PFLOPS. Called the AI >>>>> Bridging Cloud Infrastructure, "The system will consist of 1,088 Primergy >>>>> CX2570 M4 servers, mounted in Fujitsu's Primergy CX400 M4 multi-node servers, >>>>> with each server featuring components such as two Intel Xeon Gold processor >>>>> CPUs, four NVIDIA Tesla V100 GPU computing cards, and Intel SSD DC P4600 >>>>> storage." Expected power consumption will be down to only 3 MW. >>>> >>>> I was assuming comparing FPGAs with something /vaguely/ >>>> similar to the GA144, or that Sony cell processor, or >>>> that intel experiment with 80 cores on a chip. >>>> >>>> Comparing something that, as I intended, fitted on a large >>>> PCB and plus into the mains with something that fits on a >>>> tennis court and plugs into a substation isn't really very >>>> enlightening. >>>> >>>> There's a fundamental problem with parallel computing >>>> without shared memory[1]: choosing the granularity of >>>> parallelism. Too small and the comms costs dominate, >>>> too large and you have to copy too much context and >>>> wait a long time for other computations to complete. >>>> >>>> That has been an unsolved problem since the 1960s, >>>> except for applications that are known as "embarrassingly >>>> parallel". Canonical examples of embarrassingly parallel >>>> computations are monte carlo simulations, telecom/financial >>>> systems, some place/route algorithms, some simulated >>>> annealing algorithms. >>> >>> Cache coherence traffic grows faster than the number of cores, and eventually >>> dominates unless you go to a NUMA architecture. >> >> Oh, indeed, that is inherently non-scalable, with >> /any/ memory architecture. Sure people have pushed >> the limit back a bit, but not cleanly. >> >> The fundamental problem is that low-level softies would >> like to think that they are still programming PDP11s in >> K&R C. They aren't, and there are an appalling number >> of poorly understood band-aids in modern C that attempt >> to preserve that illusion. (And may preserve it if you >> get all the incantations for your compiler+version >> exactly right) >> >> The sooner the flat-memory-space single-instruction- >> at-a-time mirage is superseded, the better. Currently >> the best option, according to the HPC mob that >> traditionally push all computational boundaries, is >> message-passing. But that is poorly supported by C. >> >> For an amusing speed-read, have a look at >> "C Is Not a Low-level Language. Your computer >> is not a fast PDP-11." >> https://queue.acm.org/detail.cfm?id=3212479 >> >> It has examples of where people in the trenches >> don't understand what's going on. For example: >> "A 2015 survey of C programmers, compiler writers, >> and standards committee members raised several >> issues about the comprehensibility of C. For >> example, C permits an implementation to insert >> padding into structures (but not into arrays) >> to ensure that all fields have a useful alignment >> for the target. If you zero a structure and then >> set some of the fields, will the padding bits >> all be zero? According to the results of the >> survey, 36 percent were sure that they would >> be, and 29 percent didn't know. Depending on >> the compiler (and optimization level), it may >> or may not be. > > Fun. He's a CS academic, so he probably doesn't write programs and so doesn't > realize how much stuff can't reasonably be done in his favourite toy language, > but it's a good read anyhow. Two choices: either the toy language is C, or it can't be reasonably be done in C :) There are too many poorly understood nooks and crannies in C; we need better. Simple example: if we flip to C++, ahem, even the language /designers/ didn't understand what they were creating. They refused to believe the complexity of the template language made it Turing complete - until someone forcibly rubbed their noses in it. He wrote a short legal C++ program that never finished compiling - because the compiler was emitting the sequence of prime numbers during compilation[1]. Now if even the language designers don't understand basic principles of their language, what chance have mere mortals. That's a Big Clue that the tool is part of the problem. I prefer tools that are part of the solution. But I've been using C for 35 years, and I imagine I'll continue to use it. [1] https://en.wikibooks.org/wiki/C%2B%2B_Programming/Templates/Template_Meta-Programming#History_of_TMP
[toc] | [prev] | [next] | [standalone]
| From | Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> |
|---|---|
| Date | 2018-05-12 20:58 -0400 |
| Message-ID | <raKdne-EurfpEGrHnZ2dnUU7-cnNnZ2d@supernews.com> |
| In reply to | #505278 |
On 05/12/18 20:47, Tom Gardner wrote: > On 12/05/18 22:40, Phil Hobbs wrote: >> On 05/12/18 16:15, Tom Gardner wrote: >>> On 12/05/18 19:57, Phil Hobbs wrote: >>>> On 05/12/18 14:38, Tom Gardner wrote: >>>>> On 12/05/18 18:51, gnuarm.deletethisbit@gmail.com wrote: >>>>>> On Saturday, May 12, 2018 at 12:16:56 PM UTC-4, Tom Gardner wrote: >>>>>>> On 12/05/18 16:53, gnuarm.deletethisbit@gmail.com wrote: >>>>>>>> On Saturday, May 12, 2018 at 11:23:22 AM UTC-4, Tom Gardner wrote: >>>>>>>>> On 12/05/18 15:43, upsidedown@downunder.com wrote: >>>>>>>>>> On Sat, 12 May 2018 06:42:19 -0700 (PDT), >>>>>>>>>> gnuarm.deletethisbit@gmail.com wrote: >>>>>>>>>> >>>>>>>>>>> On Sunday, August 27, 2017 at 5:43:56 PM UTC-4, bitrex wrote: >>>>>>>>>>>> On 08/27/2017 03:40 PM, Tim Williams wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Not so bad when you've got so many to spare: example, dedicate >>>>>>>>>>>>> a few rows of cores as data routing (which can be any >>>>>>>>>>>>> combination you like: duplexed, synchronous, packetized, >>>>>>>>>>>>> variable length, addressed...), and use the remaining >>>>>>>>>>>>> perimeter >>>>>>>>>>>>> as your parallel processor. You might still get dozens of >>>>>>>>>>>>> cores in parallel that way, even if the utilization is >>>>>>>>>>>>> effectively maybe 20%. >>>>>>>>>>>> >>>>>>>>>>>> Each core can "know" what the load is for the cores on its >>>>>>>>>>>> perimeter; if some core needs to send a message to the >>>>>>>>>>>> perimeter >>>>>>>>>>>> a best-first/greedy-search algorithm like beam search might be >>>>>>>>>>>> able to be used to find the path where passing would cause the >>>>>>>>>>>> least disruption. >>>>>>>>>>>> >>>>>>>>>>>> <https://en.wikipedia.org/wiki/Beam_search> >>>>>>>>>>> >>>>>>>>>>> I know this is an old thread, but I came across it when looking >>>>>>>>>>> for something else and had a few brain cells wakened. >>>>>>>>>> >>>>>>>>>> Not directly related to this issues, but some recollections of >>>>>>>>>> articles in electronic journals from the early 1970's. >>>>>>>>>> >>>>>>>>>> In one article it was speculated that one day in the far >>>>>>>>>> future the processor clock speed would be over 1 GHz and >>>>>>>>>> calculating sin/cos >>>>>>>>>> etc. would be hyper fast. Apparently the editor assumed that >>>>>>>>>> those >>>>>>>>>> functions were calculated using Taylor series. The article >>>>>>>>>> suggested >>>>>>>>>> using the trigonometric equation >>>>>>>>>> >>>>>>>>>> sin(a+b) = sin(a)cos(b) + cos(a)sin(b) >>>>>>>>>> >>>>>>>>>> and doing sin(a) and cos(a) with table lookup. >>>>>>>>> >>>>>>>>> The CORDIC algorithm was invented in 1956. >>>>>>>>> >>>>>>>>> Two decades later implementing floating point plus CORDIC on a >>>>>>>>> 6800 was >>>>>>>>> my first paid job as a vacation student. I still have the code :) >>>>>>>>> >>>>>>>>> CORDIC was also easily implementable in hardware. >>>>>>>>> >>>>>>>>> >>>>>>>>>> With sufficient small steps cos(b)=1 and sin(b) = b/2pi. In >>>>>>>>>> reality, >>>>>>>>>> the trigonometrical functions in those days were calculated >>>>>>>>>> using 3rd >>>>>>>>>> or 4th order polynomials for single precession, so not much >>>>>>>>>> advantage. >>>>>>>>> >>>>>>>>> On the Sinclair Scientific calculator, maybe. >>>>>>>>> >>>>>>>>> >>>>>>>>>> In an other article an Intel representative was interviewed what >>>>>>>>>> happens, when it is possible to integrate a million >>>>>>>>>> transistors on a >>>>>>>>>> single chip. He could not give a clear answer. >>>>>>>>>> >>>>>>>>>> My guess is that the situation today is similar with 1000 or a >>>>>>>>>> million processor cores available. >>>>>>>>> >>>>>>>>> As always, the hardware is easy, but programming techniques for >>>>>>>>> multiprocessor systems are still in their infancy. >>>>>>>>> >>>>>>>>> The *only* processors that have a decent hardware+software >>>>>>>>> story are >>>>>>>>> the XMOS xCORE processors with xC. They have been around in >>>>>>>>> several >>>>>>>>> generations for over a decade, and are *very* usable for *hard* >>>>>>>>> realtime applications. >>>>>>>>> >>>>>>>>> The xC+xCORE has a good pedigree: the key concepts have been >>>>>>>>> around >>>>>>>>> since the 70s (xC/CSP) and 80s (xCORE/Treansputer). >>>>>>>> >>>>>>>> Oh, yeah, you are *that* guy. Yes, we've had this discussion >>>>>>>> before. >>>>>>>> They are good for a small class of applications which they are >>>>>>>> optimized >>>>>>>> for. Otherwise the advantages of other processors or even FPGAs >>>>>>>> make them >>>>>>>> more suitable. >>>>>>> >>>>>>> Obviously. >>>>>>> >>>>>>> But I haven't seen *any* application of the GA144 you mentioned. >>>>>>> As for the >>>>>>> 1000 processors chips, I have seen zero implementations, zero >>>>>>> programming >>>>>>> techniques and zero applications for them. The XMOS devices are >>>>>>> therefore >>>>>>> (currently) infinitely superior. >>>>>> >>>>>> Yes, the GA144 was designed as an experiment rather than with any >>>>>> application >>>>>> in mind. However, I'm told they have customers, one application in >>>>>> particular was for an advanced hearing aid using something much >>>>>> more advanced >>>>>> than a graphic equalizer type of filter. Seems the original >>>>>> prototype >>>>>> required the use of a pair of TMS320C6xxx devices which use around >>>>>> a watt >>>>>> each if I remember correctly. This type of signal processing app has >>>>>> potential for a multiprocessor with little memory, as long as it >>>>>> doesn't get >>>>>> too complex or if it needs external memory the bandwidth isn't too >>>>>> high. >>>>>> >>>>>> >>>>>>> Of those, the programming techniques are the most difficult; get >>>>>>> those >>>>>>> right and implementations and applications may *follow*. >>>>>>> >>>>>>> I strongly suspect that anything with 1000s of processors will >>>>>>> have no >>>>>>> significant advantages over an FPGA. >>>>>> >>>>>> I don't see that. The super computers of today use standard >>>>>> processors, not >>>>>> FPGAs. "Tianhee-2 uses over 3 million Intel Xeon E5-2692v2 12C >>>>>> cores", >>>>>> although that is yesterday's fastest computer surpassed by "The >>>>>> Sunway >>>>>> TaihuLight uses a total of 40,960 Chinese-designed SW26010 >>>>>> manycore 64-bit >>>>>> RISC processors based on the Sunway architecture.[6] Each >>>>>> processor chip >>>>>> contains 256 processing cores, and an additional four auxiliary >>>>>> cores for >>>>>> system management (also RISC cores, just more fully featured) for >>>>>> a total of >>>>>> 10,649,600 CPU cores across the entire system." This monster uses >>>>>> 15 MW... >>>>>> yes, 15 MW! A professor in college used to kid about throwing the >>>>>> power >>>>>> switch on his CPUMOB machine and watching the lights dim in >>>>>> College Park. >>>>>> The Sunway would do it for sure! >>>>>> >>>>>> A new machine is due out any time now running at 130 PFLOPS. >>>>>> Called the AI >>>>>> Bridging Cloud Infrastructure, "The system will consist of 1,088 >>>>>> Primergy >>>>>> CX2570 M4 servers, mounted in Fujitsu's Primergy CX400 M4 >>>>>> multi-node servers, >>>>>> with each server featuring components such as two Intel Xeon Gold >>>>>> processor >>>>>> CPUs, four NVIDIA Tesla V100 GPU computing cards, and Intel SSD DC >>>>>> P4600 >>>>>> storage." Expected power consumption will be down to only 3 MW. >>>>> >>>>> I was assuming comparing FPGAs with something /vaguely/ >>>>> similar to the GA144, or that Sony cell processor, or >>>>> that intel experiment with 80 cores on a chip. >>>>> >>>>> Comparing something that, as I intended, fitted on a large >>>>> PCB and plus into the mains with something that fits on a >>>>> tennis court and plugs into a substation isn't really very >>>>> enlightening. >>>>> >>>>> There's a fundamental problem with parallel computing >>>>> without shared memory[1]: choosing the granularity of >>>>> parallelism. Too small and the comms costs dominate, >>>>> too large and you have to copy too much context and >>>>> wait a long time for other computations to complete. >>>>> >>>>> That has been an unsolved problem since the 1960s, >>>>> except for applications that are known as "embarrassingly >>>>> parallel". Canonical examples of embarrassingly parallel >>>>> computations are monte carlo simulations, telecom/financial >>>>> systems, some place/route algorithms, some simulated >>>>> annealing algorithms. >>>> >>>> Cache coherence traffic grows faster than the number of cores, and >>>> eventually dominates unless you go to a NUMA architecture. >>> >>> Oh, indeed, that is inherently non-scalable, with >>> /any/ memory architecture. Sure people have pushed >>> the limit back a bit, but not cleanly. >>> >>> The fundamental problem is that low-level softies would >>> like to think that they are still programming PDP11s in >>> K&R C. They aren't, and there are an appalling number >>> of poorly understood band-aids in modern C that attempt >>> to preserve that illusion. (And may preserve it if you >>> get all the incantations for your compiler+version >>> exactly right) >>> >>> The sooner the flat-memory-space single-instruction- >>> at-a-time mirage is superseded, the better. Currently >>> the best option, according to the HPC mob that >>> traditionally push all computational boundaries, is >>> message-passing. But that is poorly supported by C. >>> >>> For an amusing speed-read, have a look at >>> "C Is Not a Low-level Language. Your computer >>> is not a fast PDP-11." >>> https://queue.acm.org/detail.cfm?id=3212479 >>> >>> It has examples of where people in the trenches >>> don't understand what's going on. For example: >>> "A 2015 survey of C programmers, compiler writers, >>> and standards committee members raised several >>> issues about the comprehensibility of C. For >>> example, C permits an implementation to insert >>> padding into structures (but not into arrays) >>> to ensure that all fields have a useful alignment >>> for the target. If you zero a structure and then >>> set some of the fields, will the padding bits >>> all be zero? According to the results of the >>> survey, 36 percent were sure that they would >>> be, and 29 percent didn't know. Depending on >>> the compiler (and optimization level), it may >>> or may not be. >> >> Fun. He's a CS academic, so he probably doesn't write programs and so >> doesn't realize how much stuff can't reasonably be done in his >> favourite toy language, but it's a good read anyhow. > > Two choices: either the toy language is C, > or it can't be reasonably be done in C :) Your point being? ;) In his case, the toy language is Erlang. > > There are too many poorly understood nooks > and crannies in C; we need better. > > Simple example: if we flip to C++, ahem, even > the language /designers/ didn't understand what > they were creating. They refused to believe the > complexity of the template language made it Turing > complete - until someone forcibly rubbed their > noses in it. He wrote a short legal C++ program > that never finished compiling - because the compiler > was emitting the sequence of prime numbers during > compilation[1]. There's a latin tag, "Abusus non tollit usus", i.e. the abuse doesn't abolish the use. > Now if even the language designers don't understand > basic principles of their language, what chance have > mere mortals. > > That's a Big Clue that the tool is part of the > problem. I prefer tools that are part of the solution. As a chemist friend of mine says, "If you aren't part of the solution, you're part of the precipitate." > But I've been using C for 35 years, and I imagine > I'll continue to use it. Why on earth not? Just pissing off CS academics is reason enough, not to mention that it gets the job done. ;) Cheers Phil Hobbs (Who has had enough of "pure science" types to last him a lifetime even in physics and math. CS types pulling the same crap is just silly.) -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC / Hobbs ElectroOptics Optics, Electro-optics, Photonics, Analog Electronics Briarcliff Manor NY 10510 http://electrooptical.net http://hobbs-eo.com
[toc] | [prev] | [next] | [standalone]
| From | Tom Gardner <spamjunk@blueyonder.co.uk> |
|---|---|
| Date | 2018-05-13 08:45 +0100 |
| Message-ID | <S2SJC.146184$eg.92584@fx43.am4> |
| In reply to | #505280 |
On 13/05/18 01:58, Phil Hobbs wrote: > On 05/12/18 20:47, Tom Gardner wrote: >> On 12/05/18 22:40, Phil Hobbs wrote: >>> On 05/12/18 16:15, Tom Gardner wrote: >>>> On 12/05/18 19:57, Phil Hobbs wrote: >>>>> On 05/12/18 14:38, Tom Gardner wrote: >>>>>> On 12/05/18 18:51, gnuarm.deletethisbit@gmail.com wrote: >>>>>>> On Saturday, May 12, 2018 at 12:16:56 PM UTC-4, Tom Gardner wrote: >>>>>>>> On 12/05/18 16:53, gnuarm.deletethisbit@gmail.com wrote: >>>>>>>>> On Saturday, May 12, 2018 at 11:23:22 AM UTC-4, Tom Gardner wrote: >>>>>>>>>> On 12/05/18 15:43, upsidedown@downunder.com wrote: >>>>>>>>>>> On Sat, 12 May 2018 06:42:19 -0700 (PDT), >>>>>>>>>>> gnuarm.deletethisbit@gmail.com wrote: >>>>>>>>>>> >>>>>>>>>>>> On Sunday, August 27, 2017 at 5:43:56 PM UTC-4, bitrex wrote: >>>>>>>>>>>>> On 08/27/2017 03:40 PM, Tim Williams wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Not so bad when you've got so many to spare: example, dedicate >>>>>>>>>>>>>> a few rows of cores as data routing (which can be any >>>>>>>>>>>>>> combination you like: duplexed, synchronous, packetized, >>>>>>>>>>>>>> variable length, addressed...), and use the remaining perimeter >>>>>>>>>>>>>> as your parallel processor. You might still get dozens of >>>>>>>>>>>>>> cores in parallel that way, even if the utilization is >>>>>>>>>>>>>> effectively maybe 20%. >>>>>>>>>>>>> >>>>>>>>>>>>> Each core can "know" what the load is for the cores on its >>>>>>>>>>>>> perimeter; if some core needs to send a message to the perimeter >>>>>>>>>>>>> a best-first/greedy-search algorithm like beam search might be >>>>>>>>>>>>> able to be used to find the path where passing would cause the >>>>>>>>>>>>> least disruption. >>>>>>>>>>>>> >>>>>>>>>>>>> <https://en.wikipedia.org/wiki/Beam_search> >>>>>>>>>>>> >>>>>>>>>>>> I know this is an old thread, but I came across it when looking >>>>>>>>>>>> for something else and had a few brain cells wakened. >>>>>>>>>>> >>>>>>>>>>> Not directly related to this issues, but some recollections of >>>>>>>>>>> articles in electronic journals from the early 1970's. >>>>>>>>>>> >>>>>>>>>>> In one article it was speculated that one day in the far future the >>>>>>>>>>> processor clock speed would be over 1 GHz and calculating sin/cos >>>>>>>>>>> etc. would be hyper fast. Apparently the editor assumed that those >>>>>>>>>>> functions were calculated using Taylor series. The article suggested >>>>>>>>>>> using the trigonometric equation >>>>>>>>>>> >>>>>>>>>>> sin(a+b) = sin(a)cos(b) + cos(a)sin(b) >>>>>>>>>>> >>>>>>>>>>> and doing sin(a) and cos(a) with table lookup. >>>>>>>>>> >>>>>>>>>> The CORDIC algorithm was invented in 1956. >>>>>>>>>> >>>>>>>>>> Two decades later implementing floating point plus CORDIC on a 6800 was >>>>>>>>>> my first paid job as a vacation student. I still have the code :) >>>>>>>>>> >>>>>>>>>> CORDIC was also easily implementable in hardware. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> With sufficient small steps cos(b)=1 and sin(b) = b/2pi. In reality, >>>>>>>>>>> the trigonometrical functions in those days were calculated using 3rd >>>>>>>>>>> or 4th order polynomials for single precession, so not much >>>>>>>>>>> advantage. >>>>>>>>>> >>>>>>>>>> On the Sinclair Scientific calculator, maybe. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> In an other article an Intel representative was interviewed what >>>>>>>>>>> happens, when it is possible to integrate a million transistors on a >>>>>>>>>>> single chip. He could not give a clear answer. >>>>>>>>>>> >>>>>>>>>>> My guess is that the situation today is similar with 1000 or a >>>>>>>>>>> million processor cores available. >>>>>>>>>> >>>>>>>>>> As always, the hardware is easy, but programming techniques for >>>>>>>>>> multiprocessor systems are still in their infancy. >>>>>>>>>> >>>>>>>>>> The *only* processors that have a decent hardware+software story are >>>>>>>>>> the XMOS xCORE processors with xC. They have been around in several >>>>>>>>>> generations for over a decade, and are *very* usable for *hard* >>>>>>>>>> realtime applications. >>>>>>>>>> >>>>>>>>>> The xC+xCORE has a good pedigree: the key concepts have been around >>>>>>>>>> since the 70s (xC/CSP) and 80s (xCORE/Treansputer). >>>>>>>>> >>>>>>>>> Oh, yeah, you are *that* guy. Yes, we've had this discussion before. >>>>>>>>> They are good for a small class of applications which they are optimized >>>>>>>>> for. Otherwise the advantages of other processors or even FPGAs make them >>>>>>>>> more suitable. >>>>>>>> >>>>>>>> Obviously. >>>>>>>> >>>>>>>> But I haven't seen *any* application of the GA144 you mentioned. As for the >>>>>>>> 1000 processors chips, I have seen zero implementations, zero programming >>>>>>>> techniques and zero applications for them. The XMOS devices are therefore >>>>>>>> (currently) infinitely superior. >>>>>>> >>>>>>> Yes, the GA144 was designed as an experiment rather than with any >>>>>>> application >>>>>>> in mind. However, I'm told they have customers, one application in >>>>>>> particular was for an advanced hearing aid using something much more >>>>>>> advanced >>>>>>> than a graphic equalizer type of filter. Seems the original prototype >>>>>>> required the use of a pair of TMS320C6xxx devices which use around a watt >>>>>>> each if I remember correctly. This type of signal processing app has >>>>>>> potential for a multiprocessor with little memory, as long as it doesn't get >>>>>>> too complex or if it needs external memory the bandwidth isn't too high. >>>>>>> >>>>>>> >>>>>>>> Of those, the programming techniques are the most difficult; get those >>>>>>>> right and implementations and applications may *follow*. >>>>>>>> >>>>>>>> I strongly suspect that anything with 1000s of processors will have no >>>>>>>> significant advantages over an FPGA. >>>>>>> >>>>>>> I don't see that. The super computers of today use standard processors, not >>>>>>> FPGAs. "Tianhee-2 uses over 3 million Intel Xeon E5-2692v2 12C cores", >>>>>>> although that is yesterday's fastest computer surpassed by "The Sunway >>>>>>> TaihuLight uses a total of 40,960 Chinese-designed SW26010 manycore 64-bit >>>>>>> RISC processors based on the Sunway architecture.[6] Each processor chip >>>>>>> contains 256 processing cores, and an additional four auxiliary cores for >>>>>>> system management (also RISC cores, just more fully featured) for a total of >>>>>>> 10,649,600 CPU cores across the entire system." This monster uses 15 MW... >>>>>>> yes, 15 MW! A professor in college used to kid about throwing the power >>>>>>> switch on his CPUMOB machine and watching the lights dim in College Park. >>>>>>> The Sunway would do it for sure! >>>>>>> >>>>>>> A new machine is due out any time now running at 130 PFLOPS. Called the AI >>>>>>> Bridging Cloud Infrastructure, "The system will consist of 1,088 Primergy >>>>>>> CX2570 M4 servers, mounted in Fujitsu's Primergy CX400 M4 multi-node >>>>>>> servers, >>>>>>> with each server featuring components such as two Intel Xeon Gold processor >>>>>>> CPUs, four NVIDIA Tesla V100 GPU computing cards, and Intel SSD DC P4600 >>>>>>> storage." Expected power consumption will be down to only 3 MW. >>>>>> >>>>>> I was assuming comparing FPGAs with something /vaguely/ >>>>>> similar to the GA144, or that Sony cell processor, or >>>>>> that intel experiment with 80 cores on a chip. >>>>>> >>>>>> Comparing something that, as I intended, fitted on a large >>>>>> PCB and plus into the mains with something that fits on a >>>>>> tennis court and plugs into a substation isn't really very >>>>>> enlightening. >>>>>> >>>>>> There's a fundamental problem with parallel computing >>>>>> without shared memory[1]: choosing the granularity of >>>>>> parallelism. Too small and the comms costs dominate, >>>>>> too large and you have to copy too much context and >>>>>> wait a long time for other computations to complete. >>>>>> >>>>>> That has been an unsolved problem since the 1960s, >>>>>> except for applications that are known as "embarrassingly >>>>>> parallel". Canonical examples of embarrassingly parallel >>>>>> computations are monte carlo simulations, telecom/financial >>>>>> systems, some place/route algorithms, some simulated >>>>>> annealing algorithms. >>>>> >>>>> Cache coherence traffic grows faster than the number of cores, and >>>>> eventually dominates unless you go to a NUMA architecture. >>>> >>>> Oh, indeed, that is inherently non-scalable, with >>>> /any/ memory architecture. Sure people have pushed >>>> the limit back a bit, but not cleanly. >>>> >>>> The fundamental problem is that low-level softies would >>>> like to think that they are still programming PDP11s in >>>> K&R C. They aren't, and there are an appalling number >>>> of poorly understood band-aids in modern C that attempt >>>> to preserve that illusion. (And may preserve it if you >>>> get all the incantations for your compiler+version >>>> exactly right) >>>> >>>> The sooner the flat-memory-space single-instruction- >>>> at-a-time mirage is superseded, the better. Currently >>>> the best option, according to the HPC mob that >>>> traditionally push all computational boundaries, is >>>> message-passing. But that is poorly supported by C. >>>> >>>> For an amusing speed-read, have a look at >>>> "C Is Not a Low-level Language. Your computer >>>> is not a fast PDP-11." >>>> https://queue.acm.org/detail.cfm?id=3212479 >>>> >>>> It has examples of where people in the trenches >>>> don't understand what's going on. For example: >>>> "A 2015 survey of C programmers, compiler writers, >>>> and standards committee members raised several >>>> issues about the comprehensibility of C. For >>>> example, C permits an implementation to insert >>>> padding into structures (but not into arrays) >>>> to ensure that all fields have a useful alignment >>>> for the target. If you zero a structure and then >>>> set some of the fields, will the padding bits >>>> all be zero? According to the results of the >>>> survey, 36 percent were sure that they would >>>> be, and 29 percent didn't know. Depending on >>>> the compiler (and optimization level), it may >>>> or may not be. >>> >>> Fun. He's a CS academic, so he probably doesn't write programs and so >>> doesn't realize how much stuff can't reasonably be done in his favourite toy >>> language, but it's a good read anyhow. >> >> Two choices: either the toy language is C, >> or it can't be reasonably be done in C :) > > Your point being? ;) > > In his case, the toy language is Erlang. Erlang is definitely not a toy language. It is the implementation language used for a significant proportion of the world's telco systems. It has many very significant advantages in systems where you can't turn them off, e.g. gradually upgrading /all/ parts of a /running/ system. Its philosophy and techniques are being incorporated into modern real-world languages. Is Erlang suited for low-level code? I'm skeptical and would need convincing. Is it suitable for HPC computing? More likely, if you can get the right granularity. >> There are too many poorly understood nooks >> and crannies in C; we need better. >> >> Simple example: if we flip to C++, ahem, even >> the language /designers/ didn't understand what >> they were creating. They refused to believe the >> complexity of the template language made it Turing >> complete - until someone forcibly rubbed their >> noses in it. He wrote a short legal C++ program >> that never finished compiling - because the compiler >> was emitting the sequence of prime numbers during >> compilation[1]. > > There's a latin tag, "Abusus non tollit usus", i.e. the abuse doesn't abolish > the use. > >> Now if even the language designers don't understand >> basic principles of their language, what chance have >> mere mortals. >> >> That's a Big Clue that the tool is part of the >> problem. I prefer tools that are part of the solution. > > As a chemist friend of mine says, "If you aren't part of the solution, you're > part of the precipitate." Ah, the old ones are the good ones :) >> But I've been using C for 35 years, and I imagine >> I'll continue to use it. > > Why on earth not? Just pissing off CS academics is reason enough, not to > mention that it gets the job done. ;) Because too often it only /looks/ like it gets the job done, sufficiently to pass the unit tests. Put it in a real-world environment and you start to find all sorts of /subtle unrepeatable/ errors that /very/ few people can even /begin/ to diagnose. And most of those people are retiring and being replaced by people that don't know that L3 caches even exist :( (Been there, seen that :( ) If you want to see the accumulated experience of someone that has been at the sharp end of HPC and C/C++ (and many other languages) since the 60s, have a look at http://people.ds.cam.ac.uk/nmm1/ Only a quarter of a century late C/C++ is apparently incorporating the concept of a memory model. It remains to be seen whether it can be used correctly by compiler writers and typical practitioners. > Phil Hobbs > > (Who has had enough of "pure science" types to last him a lifetime even in > physics and math. CS types pulling the same crap is just silly.) Oh indeed. Theory without practice is mental masturbation, but equally practice without theory is blind fumbling.
[toc] | [prev] | [next] | [standalone]
| From | tabbypurr@gmail.com |
|---|---|
| Date | 2018-05-12 15:46 -0700 |
| Message-ID | <4ed9f551-da97-4a4e-afa7-c59cc888efb5@googlegroups.com> |
| In reply to | #505237 |
On Saturday, 12 May 2018 21:15:20 UTC+1, Tom Gardner wrote: > For an amusing speed-read, have a look at > "C Is Not a Low-level Language. Your computer > is not a fast PDP-11." > https://queue.acm.org/detail.cfm?id=3212479 What!! The seller assured me it was a genuine fast PDP-11. I've been had! If it's not a fast PDP-11, what's this paper tape reader for? NT
[toc] | [prev] | [next] | [standalone]
| From | gnuarm.deletethisbit@gmail.com |
|---|---|
| Date | 2018-05-12 14:08 -0700 |
| Message-ID | <df4c7d8c-f917-422d-b751-24f5c123b007@googlegroups.com> |
| In reply to | #505232 |
On Saturday, May 12, 2018 at 2:57:21 PM UTC-4, Phil Hobbs wrote: > On 05/12/18 14:38, Tom Gardner wrote: > > On 12/05/18 18:51, gnuarm.deletethisbit@gmail.com wrote: > >> On Saturday, May 12, 2018 at 12:16:56 PM UTC-4, Tom Gardner wrote: > >>> On 12/05/18 16:53, gnuarm.deletethisbit@gmail.com wrote: > >>>> On Saturday, May 12, 2018 at 11:23:22 AM UTC-4, Tom Gardner wrote: > >>>>> On 12/05/18 15:43, upsidedown@downunder.com wrote: > >>>>>> On Sat, 12 May 2018 06:42:19 -0700 (PDT), > >>>>>> gnuarm.deletethisbit@gmail.com wrote: > >>>>>> > >>>>>>> On Sunday, August 27, 2017 at 5:43:56 PM UTC-4, bitrex wrote: > >>>>>>>> On 08/27/2017 03:40 PM, Tim Williams wrote: > >>>>>>>> > >>>>>>>>> Not so bad when you've got so many to spare: example, dedicate > >>>>>>>>> a few rows of cores as data routing (which can be any > >>>>>>>>> combination you like: duplexed, synchronous, packetized, > >>>>>>>>> variable length, addressed...), and use the remaining perimeter > >>>>>>>>> as your parallel processor. You might still get dozens of > >>>>>>>>> cores in parallel that way, even if the utilization is > >>>>>>>>> effectively maybe 20%. > >>>>>>>> > >>>>>>>> Each core can "know" what the load is for the cores on its > >>>>>>>> perimeter; if some core needs to send a message to the perimeter > >>>>>>>> a best-first/greedy-search algorithm like beam search might be > >>>>>>>> able to be used to find the path where passing would cause the > >>>>>>>> least disruption. > >>>>>>>> > >>>>>>>> <https://en.wikipedia.org/wiki/Beam_search> > >>>>>>> > >>>>>>> I know this is an old thread, but I came across it when looking > >>>>>>> for something else and had a few brain cells wakened. > >>>>>> > >>>>>> Not directly related to this issues, but some recollections of > >>>>>> articles in electronic journals from the early 1970's. > >>>>>> > >>>>>> In one article it was speculated that one day in the far future > >>>>>> the processor clock speed would be over 1 GHz and calculating sin/cos > >>>>>> etc. would be hyper fast. Apparently the editor assumed that those > >>>>>> functions were calculated using Taylor series. The article suggested > >>>>>> using the trigonometric equation > >>>>>> > >>>>>> sin(a+b) = sin(a)cos(b) + cos(a)sin(b) > >>>>>> > >>>>>> and doing sin(a) and cos(a) with table lookup. > >>>>> > >>>>> The CORDIC algorithm was invented in 1956. > >>>>> > >>>>> Two decades later implementing floating point plus CORDIC on a 6800 > >>>>> was > >>>>> my first paid job as a vacation student. I still have the code :) > >>>>> > >>>>> CORDIC was also easily implementable in hardware. > >>>>> > >>>>> > >>>>>> With sufficient small steps cos(b)=1 and sin(b) = b/2pi. In reality, > >>>>>> the trigonometrical functions in those days were calculated using 3rd > >>>>>> or 4th order polynomials for single precession, so not much > >>>>>> advantage. > >>>>> > >>>>> On the Sinclair Scientific calculator, maybe. > >>>>> > >>>>> > >>>>>> In an other article an Intel representative was interviewed what > >>>>>> happens, when it is possible to integrate a million transistors on a > >>>>>> single chip. He could not give a clear answer. > >>>>>> > >>>>>> My guess is that the situation today is similar with 1000 or a > >>>>>> million processor cores available. > >>>>> > >>>>> As always, the hardware is easy, but programming techniques for > >>>>> multiprocessor systems are still in their infancy. > >>>>> > >>>>> The *only* processors that have a decent hardware+software story are > >>>>> the XMOS xCORE processors with xC. They have been around in several > >>>>> generations for over a decade, and are *very* usable for *hard* > >>>>> realtime applications. > >>>>> > >>>>> The xC+xCORE has a good pedigree: the key concepts have been around > >>>>> since the 70s (xC/CSP) and 80s (xCORE/Treansputer). > >>>> > >>>> Oh, yeah, you are *that* guy. Yes, we've had this discussion before. > >>>> They are good for a small class of applications which they are > >>>> optimized > >>>> for. Otherwise the advantages of other processors or even FPGAs make > >>>> them > >>>> more suitable. > >>> > >>> Obviously. > >>> > >>> But I haven't seen *any* application of the GA144 you mentioned. As > >>> for the > >>> 1000 processors chips, I have seen zero implementations, zero > >>> programming > >>> techniques and zero applications for them. The XMOS devices are > >>> therefore > >>> (currently) infinitely superior. > >> > >> Yes, the GA144 was designed as an experiment rather than with any > >> application > >> in mind. However, I'm told they have customers, one application in > >> particular was for an advanced hearing aid using something much more > >> advanced > >> than a graphic equalizer type of filter. Seems the original prototype > >> required the use of a pair of TMS320C6xxx devices which use around a watt > >> each if I remember correctly. This type of signal processing app has > >> potential for a multiprocessor with little memory, as long as it > >> doesn't get > >> too complex or if it needs external memory the bandwidth isn't too high. > >> > >> > >>> Of those, the programming techniques are the most difficult; get those > >>> right and implementations and applications may *follow*. > >>> > >>> I strongly suspect that anything with 1000s of processors will have no > >>> significant advantages over an FPGA. > >> > >> I don't see that. The super computers of today use standard > >> processors, not > >> FPGAs. "Tianhee-2 uses over 3 million Intel Xeon E5-2692v2 12C cores", > >> although that is yesterday's fastest computer surpassed by "The Sunway > >> TaihuLight uses a total of 40,960 Chinese-designed SW26010 manycore > >> 64-bit > >> RISC processors based on the Sunway architecture.[6] Each processor chip > >> contains 256 processing cores, and an additional four auxiliary cores for > >> system management (also RISC cores, just more fully featured) for a > >> total of > >> 10,649,600 CPU cores across the entire system." This monster uses 15 > >> MW... > >> yes, 15 MW! A professor in college used to kid about throwing the power > >> switch on his CPUMOB machine and watching the lights dim in College Park. > >> The Sunway would do it for sure! > >> > >> A new machine is due out any time now running at 130 PFLOPS. Called > >> the AI > >> Bridging Cloud Infrastructure, "The system will consist of 1,088 Primergy > >> CX2570 M4 servers, mounted in Fujitsu's Primergy CX400 M4 multi-node > >> servers, > >> with each server featuring components such as two Intel Xeon Gold > >> processor > >> CPUs, four NVIDIA Tesla V100 GPU computing cards, and Intel SSD DC P4600 > >> storage." Expected power consumption will be down to only 3 MW. > > > > I was assuming comparing FPGAs with something /vaguely/ > > similar to the GA144, or that Sony cell processor, or > > that intel experiment with 80 cores on a chip. > > > > Comparing something that, as I intended, fitted on a large > > PCB and plus into the mains with something that fits on a > > tennis court and plugs into a substation isn't really very > > enlightening. > > > > There's a fundamental problem with parallel computing > > without shared memory[1]: choosing the granularity of > > parallelism. Too small and the comms costs dominate, > > too large and you have to copy too much context and > > wait a long time for other computations to complete. > > > > That has been an unsolved problem since the 1960s, > > except for applications that are known as "embarrassingly > > parallel". Canonical examples of embarrassingly parallel > > computations are monte carlo simulations, telecom/financial > > systems, some place/route algorithms, some simulated > > annealing algorithms. > > Cache coherence traffic grows faster than the number of cores, and > eventually dominates unless you go to a NUMA architecture. Not if you don't use cache. Rick C.
[toc] | [prev] | [next] | [standalone]
| From | Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> |
|---|---|
| Date | 2018-05-12 17:42 -0400 |
| Message-ID | <pd7n2k$juo$2@dont-email.me> |
| In reply to | #505241 |
On 05/12/18 17:08, gnuarm.deletethisbit@gmail.com wrote: > On Saturday, May 12, 2018 at 2:57:21 PM UTC-4, Phil Hobbs wrote: >> On 05/12/18 14:38, Tom Gardner wrote: >>> On 12/05/18 18:51, gnuarm.deletethisbit@gmail.com wrote: >>>> On Saturday, May 12, 2018 at 12:16:56 PM UTC-4, Tom Gardner wrote: >>>>> On 12/05/18 16:53, gnuarm.deletethisbit@gmail.com wrote: >>>>>> On Saturday, May 12, 2018 at 11:23:22 AM UTC-4, Tom Gardner wrote: >>>>>>> On 12/05/18 15:43, upsidedown@downunder.com wrote: >>>>>>>> On Sat, 12 May 2018 06:42:19 -0700 (PDT), >>>>>>>> gnuarm.deletethisbit@gmail.com wrote: >>>>>>>> >>>>>>>>> On Sunday, August 27, 2017 at 5:43:56 PM UTC-4, bitrex wrote: >>>>>>>>>> On 08/27/2017 03:40 PM, Tim Williams wrote: >>>>>>>>>> >>>>>>>>>>> Not so bad when you've got so many to spare: example, dedicate >>>>>>>>>>> a few rows of cores as data routing (which can be any >>>>>>>>>>> combination you like: duplexed, synchronous, packetized, >>>>>>>>>>> variable length, addressed...), and use the remaining perimeter >>>>>>>>>>> as your parallel processor. You might still get dozens of >>>>>>>>>>> cores in parallel that way, even if the utilization is >>>>>>>>>>> effectively maybe 20%. >>>>>>>>>> >>>>>>>>>> Each core can "know" what the load is for the cores on its >>>>>>>>>> perimeter; if some core needs to send a message to the perimeter >>>>>>>>>> a best-first/greedy-search algorithm like beam search might be >>>>>>>>>> able to be used to find the path where passing would cause the >>>>>>>>>> least disruption. >>>>>>>>>> >>>>>>>>>> <https://en.wikipedia.org/wiki/Beam_search> >>>>>>>>> >>>>>>>>> I know this is an old thread, but I came across it when looking >>>>>>>>> for something else and had a few brain cells wakened. >>>>>>>> >>>>>>>> Not directly related to this issues, but some recollections of >>>>>>>> articles in electronic journals from the early 1970's. >>>>>>>> >>>>>>>> In one article it was speculated that one day in the far future >>>>>>>> the processor clock speed would be over 1 GHz and calculating sin/cos >>>>>>>> etc. would be hyper fast. Apparently the editor assumed that those >>>>>>>> functions were calculated using Taylor series. The article suggested >>>>>>>> using the trigonometric equation >>>>>>>> >>>>>>>> sin(a+b) = sin(a)cos(b) + cos(a)sin(b) >>>>>>>> >>>>>>>> and doing sin(a) and cos(a) with table lookup. >>>>>>> >>>>>>> The CORDIC algorithm was invented in 1956. >>>>>>> >>>>>>> Two decades later implementing floating point plus CORDIC on a 6800 >>>>>>> was >>>>>>> my first paid job as a vacation student. I still have the code :) >>>>>>> >>>>>>> CORDIC was also easily implementable in hardware. >>>>>>> >>>>>>> >>>>>>>> With sufficient small steps cos(b)=1 and sin(b) = b/2pi. In reality, >>>>>>>> the trigonometrical functions in those days were calculated using 3rd >>>>>>>> or 4th order polynomials for single precession, so not much >>>>>>>> advantage. >>>>>>> >>>>>>> On the Sinclair Scientific calculator, maybe. >>>>>>> >>>>>>> >>>>>>>> In an other article an Intel representative was interviewed what >>>>>>>> happens, when it is possible to integrate a million transistors on a >>>>>>>> single chip. He could not give a clear answer. >>>>>>>> >>>>>>>> My guess is that the situation today is similar with 1000 or a >>>>>>>> million processor cores available. >>>>>>> >>>>>>> As always, the hardware is easy, but programming techniques for >>>>>>> multiprocessor systems are still in their infancy. >>>>>>> >>>>>>> The *only* processors that have a decent hardware+software story are >>>>>>> the XMOS xCORE processors with xC. They have been around in several >>>>>>> generations for over a decade, and are *very* usable for *hard* >>>>>>> realtime applications. >>>>>>> >>>>>>> The xC+xCORE has a good pedigree: the key concepts have been around >>>>>>> since the 70s (xC/CSP) and 80s (xCORE/Treansputer). >>>>>> >>>>>> Oh, yeah, you are *that* guy. Yes, we've had this discussion before. >>>>>> They are good for a small class of applications which they are >>>>>> optimized >>>>>> for. Otherwise the advantages of other processors or even FPGAs make >>>>>> them >>>>>> more suitable. >>>>> >>>>> Obviously. >>>>> >>>>> But I haven't seen *any* application of the GA144 you mentioned. As >>>>> for the >>>>> 1000 processors chips, I have seen zero implementations, zero >>>>> programming >>>>> techniques and zero applications for them. The XMOS devices are >>>>> therefore >>>>> (currently) infinitely superior. >>>> >>>> Yes, the GA144 was designed as an experiment rather than with any >>>> application >>>> in mind. However, I'm told they have customers, one application in >>>> particular was for an advanced hearing aid using something much more >>>> advanced >>>> than a graphic equalizer type of filter. Seems the original prototype >>>> required the use of a pair of TMS320C6xxx devices which use around a watt >>>> each if I remember correctly. This type of signal processing app has >>>> potential for a multiprocessor with little memory, as long as it >>>> doesn't get >>>> too complex or if it needs external memory the bandwidth isn't too high. >>>> >>>> >>>>> Of those, the programming techniques are the most difficult; get those >>>>> right and implementations and applications may *follow*. >>>>> >>>>> I strongly suspect that anything with 1000s of processors will have no >>>>> significant advantages over an FPGA. >>>> >>>> I don't see that. The super computers of today use standard >>>> processors, not >>>> FPGAs. "Tianhee-2 uses over 3 million Intel Xeon E5-2692v2 12C cores", >>>> although that is yesterday's fastest computer surpassed by "The Sunway >>>> TaihuLight uses a total of 40,960 Chinese-designed SW26010 manycore >>>> 64-bit >>>> RISC processors based on the Sunway architecture.[6] Each processor chip >>>> contains 256 processing cores, and an additional four auxiliary cores for >>>> system management (also RISC cores, just more fully featured) for a >>>> total of >>>> 10,649,600 CPU cores across the entire system." This monster uses 15 >>>> MW... >>>> yes, 15 MW! A professor in college used to kid about throwing the power >>>> switch on his CPUMOB machine and watching the lights dim in College Park. >>>> The Sunway would do it for sure! >>>> >>>> A new machine is due out any time now running at 130 PFLOPS. Called >>>> the AI >>>> Bridging Cloud Infrastructure, "The system will consist of 1,088 Primergy >>>> CX2570 M4 servers, mounted in Fujitsu's Primergy CX400 M4 multi-node >>>> servers, >>>> with each server featuring components such as two Intel Xeon Gold >>>> processor >>>> CPUs, four NVIDIA Tesla V100 GPU computing cards, and Intel SSD DC P4600 >>>> storage." Expected power consumption will be down to only 3 MW. >>> >>> I was assuming comparing FPGAs with something /vaguely/ >>> similar to the GA144, or that Sony cell processor, or >>> that intel experiment with 80 cores on a chip. >>> >>> Comparing something that, as I intended, fitted on a large >>> PCB and plus into the mains with something that fits on a >>> tennis court and plugs into a substation isn't really very >>> enlightening. >>> >>> There's a fundamental problem with parallel computing >>> without shared memory[1]: choosing the granularity of >>> parallelism. Too small and the comms costs dominate, >>> too large and you have to copy too much context and >>> wait a long time for other computations to complete. >>> >>> That has been an unsolved problem since the 1960s, >>> except for applications that are known as "embarrassingly >>> parallel". Canonical examples of embarrassingly parallel >>> computations are monte carlo simulations, telecom/financial >>> systems, some place/route algorithms, some simulated >>> annealing algorithms. >> >> Cache coherence traffic grows faster than the number of cores, and >> eventually dominates unless you go to a NUMA architecture. > > Not if you don't use cache. > > Rick C. > It's got nothing to do with you, it's the processor architecture. If you want global cache coherence in a highly multicore processor, it has to be architected to support that. If you do your own custom CPU in FPGA, you can do whatever you want, but general purpose means general purpose. Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC / Hobbs ElectroOptics Optics, Electro-optics, Photonics, Analog Electronics Briarcliff Manor NY 10510 http://electrooptical.net http://hobbs-eo.com
[toc] | [prev] | [next] | [standalone]
| From | Tom Gardner <spamjunk@blueyonder.co.uk> |
|---|---|
| Date | 2018-05-13 01:51 +0100 |
| Message-ID | <g_LJC.271303$yN1.229191@fx28.am4> |
| In reply to | #505248 |
On 12/05/18 22:42, Phil Hobbs wrote: > On 05/12/18 17:08, gnuarm.deletethisbit@gmail.com wrote: >> On Saturday, May 12, 2018 at 2:57:21 PM UTC-4, Phil Hobbs wrote: >>> On 05/12/18 14:38, Tom Gardner wrote: >>>> On 12/05/18 18:51, gnuarm.deletethisbit@gmail.com wrote: >>>>> On Saturday, May 12, 2018 at 12:16:56 PM UTC-4, Tom Gardner wrote: >>>>>> On 12/05/18 16:53, gnuarm.deletethisbit@gmail.com wrote: >>>>>>> On Saturday, May 12, 2018 at 11:23:22 AM UTC-4, Tom Gardner wrote: >>>>>>>> On 12/05/18 15:43, upsidedown@downunder.com wrote: >>>>>>>>> On Sat, 12 May 2018 06:42:19 -0700 (PDT), >>>>>>>>> gnuarm.deletethisbit@gmail.com wrote: >>>>>>>>> >>>>>>>>>> On Sunday, August 27, 2017 at 5:43:56 PM UTC-4, bitrex wrote: >>>>>>>>>>> On 08/27/2017 03:40 PM, Tim Williams wrote: >>>>>>>>>>> >>>>>>>>>>>> Not so bad when you've got so many to spare: example, dedicate >>>>>>>>>>>> a few rows of cores as data routing (which can be any >>>>>>>>>>>> combination you like: duplexed, synchronous, packetized, >>>>>>>>>>>> variable length, addressed...), and use the remaining perimeter >>>>>>>>>>>> as your parallel processor. You might still get dozens of >>>>>>>>>>>> cores in parallel that way, even if the utilization is >>>>>>>>>>>> effectively maybe 20%. >>>>>>>>>>> >>>>>>>>>>> Each core can "know" what the load is for the cores on its >>>>>>>>>>> perimeter; if some core needs to send a message to the perimeter >>>>>>>>>>> a best-first/greedy-search algorithm like beam search might be >>>>>>>>>>> able to be used to find the path where passing would cause the >>>>>>>>>>> least disruption. >>>>>>>>>>> >>>>>>>>>>> <https://en.wikipedia.org/wiki/Beam_search> >>>>>>>>>> >>>>>>>>>> I know this is an old thread, but I came across it when looking >>>>>>>>>> for something else and had a few brain cells wakened. >>>>>>>>> >>>>>>>>> Not directly related to this issues, but some recollections of >>>>>>>>> articles in electronic journals from the early 1970's. >>>>>>>>> >>>>>>>>> In one article it was speculated that one day in the far future >>>>>>>>> the processor clock speed would be over 1 GHz and calculating sin/cos >>>>>>>>> etc. would be hyper fast. Apparently the editor assumed that those >>>>>>>>> functions were calculated using Taylor series. The article suggested >>>>>>>>> using the trigonometric equation >>>>>>>>> >>>>>>>>> sin(a+b) = sin(a)cos(b) + cos(a)sin(b) >>>>>>>>> >>>>>>>>> and doing sin(a) and cos(a) with table lookup. >>>>>>>> >>>>>>>> The CORDIC algorithm was invented in 1956. >>>>>>>> >>>>>>>> Two decades later implementing floating point plus CORDIC on a 6800 >>>>>>>> was >>>>>>>> my first paid job as a vacation student. I still have the code :) >>>>>>>> >>>>>>>> CORDIC was also easily implementable in hardware. >>>>>>>> >>>>>>>> >>>>>>>>> With sufficient small steps cos(b)=1 and sin(b) = b/2pi. In reality, >>>>>>>>> the trigonometrical functions in those days were calculated using 3rd >>>>>>>>> or 4th order polynomials for single precession, so not much >>>>>>>>> advantage. >>>>>>>> >>>>>>>> On the Sinclair Scientific calculator, maybe. >>>>>>>> >>>>>>>> >>>>>>>>> In an other article an Intel representative was interviewed what >>>>>>>>> happens, when it is possible to integrate a million transistors on a >>>>>>>>> single chip. He could not give a clear answer. >>>>>>>>> >>>>>>>>> My guess is that the situation today is similar with 1000 or a >>>>>>>>> million processor cores available. >>>>>>>> >>>>>>>> As always, the hardware is easy, but programming techniques for >>>>>>>> multiprocessor systems are still in their infancy. >>>>>>>> >>>>>>>> The *only* processors that have a decent hardware+software story are >>>>>>>> the XMOS xCORE processors with xC. They have been around in several >>>>>>>> generations for over a decade, and are *very* usable for *hard* >>>>>>>> realtime applications. >>>>>>>> >>>>>>>> The xC+xCORE has a good pedigree: the key concepts have been around >>>>>>>> since the 70s (xC/CSP) and 80s (xCORE/Treansputer). >>>>>>> >>>>>>> Oh, yeah, you are *that* guy. Yes, we've had this discussion before. >>>>>>> They are good for a small class of applications which they are >>>>>>> optimized >>>>>>> for. Otherwise the advantages of other processors or even FPGAs make >>>>>>> them >>>>>>> more suitable. >>>>>> >>>>>> Obviously. >>>>>> >>>>>> But I haven't seen *any* application of the GA144 you mentioned. As >>>>>> for the >>>>>> 1000 processors chips, I have seen zero implementations, zero >>>>>> programming >>>>>> techniques and zero applications for them. The XMOS devices are >>>>>> therefore >>>>>> (currently) infinitely superior. >>>>> >>>>> Yes, the GA144 was designed as an experiment rather than with any >>>>> application >>>>> in mind. However, I'm told they have customers, one application in >>>>> particular was for an advanced hearing aid using something much more >>>>> advanced >>>>> than a graphic equalizer type of filter. Seems the original prototype >>>>> required the use of a pair of TMS320C6xxx devices which use around a watt >>>>> each if I remember correctly. This type of signal processing app has >>>>> potential for a multiprocessor with little memory, as long as it >>>>> doesn't get >>>>> too complex or if it needs external memory the bandwidth isn't too high. >>>>> >>>>> >>>>>> Of those, the programming techniques are the most difficult; get those >>>>>> right and implementations and applications may *follow*. >>>>>> >>>>>> I strongly suspect that anything with 1000s of processors will have no >>>>>> significant advantages over an FPGA. >>>>> >>>>> I don't see that. The super computers of today use standard >>>>> processors, not >>>>> FPGAs. "Tianhee-2 uses over 3 million Intel Xeon E5-2692v2 12C cores", >>>>> although that is yesterday's fastest computer surpassed by "The Sunway >>>>> TaihuLight uses a total of 40,960 Chinese-designed SW26010 manycore >>>>> 64-bit >>>>> RISC processors based on the Sunway architecture.[6] Each processor chip >>>>> contains 256 processing cores, and an additional four auxiliary cores for >>>>> system management (also RISC cores, just more fully featured) for a >>>>> total of >>>>> 10,649,600 CPU cores across the entire system." This monster uses 15 >>>>> MW... >>>>> yes, 15 MW! A professor in college used to kid about throwing the power >>>>> switch on his CPUMOB machine and watching the lights dim in College Park. >>>>> The Sunway would do it for sure! >>>>> >>>>> A new machine is due out any time now running at 130 PFLOPS. Called >>>>> the AI >>>>> Bridging Cloud Infrastructure, "The system will consist of 1,088 Primergy >>>>> CX2570 M4 servers, mounted in Fujitsu's Primergy CX400 M4 multi-node >>>>> servers, >>>>> with each server featuring components such as two Intel Xeon Gold >>>>> processor >>>>> CPUs, four NVIDIA Tesla V100 GPU computing cards, and Intel SSD DC P4600 >>>>> storage." Expected power consumption will be down to only 3 MW. >>>> >>>> I was assuming comparing FPGAs with something /vaguely/ >>>> similar to the GA144, or that Sony cell processor, or >>>> that intel experiment with 80 cores on a chip. >>>> >>>> Comparing something that, as I intended, fitted on a large >>>> PCB and plus into the mains with something that fits on a >>>> tennis court and plugs into a substation isn't really very >>>> enlightening. >>>> >>>> There's a fundamental problem with parallel computing >>>> without shared memory[1]: choosing the granularity of >>>> parallelism. Too small and the comms costs dominate, >>>> too large and you have to copy too much context and >>>> wait a long time for other computations to complete. >>>> >>>> That has been an unsolved problem since the 1960s, >>>> except for applications that are known as "embarrassingly >>>> parallel". Canonical examples of embarrassingly parallel >>>> computations are monte carlo simulations, telecom/financial >>>> systems, some place/route algorithms, some simulated >>>> annealing algorithms. >>> >>> Cache coherence traffic grows faster than the number of cores, and >>> eventually dominates unless you go to a NUMA architecture. >> >> Not if you don't use cache. >> >> Rick C. >> > > It's got nothing to do with you, it's the processor architecture. If you want > global cache coherence in a highly multicore processor, it has to be architected > to support that. If you do your own custom CPU in FPGA, you can do whatever you > want, but general purpose means general purpose. Caches are a red herring. If you get rid of them (hello xCORE!) then you still have global memory coherence to screw you up. IMNSHO you /don't/ want global memory coherence in a highly multicore system, because the penalties for achieving that are unacceptable. Ditto global clocks. Ditto global time. (Read Leslie Lamport for the latter!)
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | sci.electronics.design
csiph-web