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


Groups > sci.electronics.design > #505232

Re: Best bang-for-buck uC

Subject Re: Best bang-for-buck uC
Newsgroups sci.electronics.design
References (11 earlier) <GFDJC.148144$tw.137829@fx42.am4> <b14ebae9-9812-433e-82fd-dff78c80251c@googlegroups.com> <TrEJC.198039$r6.84419@fx10.am4> <d44d5a36-c17e-4109-9de9-0fb62d8686b5@googlegroups.com> <vwGJC.265601$sl2.153717@fx46.am4>
From Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net>
Date 2018-05-12 14:57 -0400
Message-ID <zsGdnV96VvuUpGrHnZ2dnUU7-SWdnZ2d@supernews.com> (permalink)

Show all headers | View raw


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

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web