<?xml version='1.0' encoding='UTF-8'?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>An unusual hardware architecture: APA (Associative Processing Array) - comments</title>
    <link>https://yosefk.com/cgi-bin/comments.cgi?post=blog/an-unusual-hardware-architecture-apa-associative-processing-array#comments</link>
    <description>Comments on "An unusual hardware architecture: APA (Associative Processing Array)" by Yossi Kreinin</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>Yossi Kreinin's ugly publishing software</generator>
    <image>
      <url>https://yosefk.com/blog/self.jpg</url>
      <title>An unusual hardware architecture: APA (Associative Processing Array) - comments</title>
      <link>https://yosefk.com/cgi-bin/comments.cgi?post=blog/an-unusual-hardware-architecture-apa-associative-processing-array#comments</link>
      <width>144</width>
      <height>144</height>
    </image>
    <language>en</language>
    <lastBuildDate>Mon, 23 Nov 2026 11:00:04 +0000</lastBuildDate>
    <item>
      <title>Ray McConnell</title>
      <link>https://yosefk.com/cgi-bin/comments.cgi?post=blog/an-unusual-hardware-architecture-apa-associative-processing-array#comment-1114</link>
      <description><![CDATA[<html><head>
</head><body><p>Hired a small team with a retired DRAM designer, and build a custom
DRAM that coupled directly to a small but highly replicated processor.
It wasn't so much the DRAM design but the pain needed in additional
process steps to support the DRAM cell. So many unexpected side effects
on other blocks, (including SRAMS) made the effort way too hard. Best to
avoid mixed designs.</p>
<p>However, IBM have worked a great side effect free process with DRAM
macros. Extra process steps are still necessay. They even use a modified
cell for decoupling. And bizarrely DRAMS are also more rad hard than
SRAMS by many orders of magnitude, but thats another story.</p>
<p>Take your point re FPGA. Hard to really measure without a detail
spreadsheet. As you acked, the point is they have evolved to hard macros
to do number crunching and this is telling.</p>
]]></description>
      <pubDate>Tue, 24 Apr 2012 08:45:00 +0000</pubDate>
      <dc:creator>Ray McConnell</dc:creator>
    </item>
    <item>
      <title>Yossi Kreinin</title>
      <link>https://yosefk.com/cgi-bin/comments.cgi?post=blog/an-unusual-hardware-architecture-apa-associative-processing-array#comment-1113</link>
      <description><![CDATA[<html><head>
</head><body><p>Well, I certainly don't recommend this, either :) And yeah, there's
memory vs compute density problem [paralleling your comment at the GPU
article :) ]</p>
<p>Regarding DRAM: it's an interesting point in a geeky discussion,
which doesn't make it a good thing to bet for a real business (I know a
real case when this bet didn't work out; BTW – "been there, done that" –
you mean literally, or with something similar but not actually the
same?)</p>
<p>Regarding FPGAs – and largely agreeing with the fact that DSP slices
in modern FPGAs are a telling data point with respect to the efficiency
of configurable logic – I think one big difference is how routing works;
in FPGAs, bits will undergo quite a bit of processing before reaching a
flip-flop, so it seems a more computationally dense design. (Of course
there are also bits needed to configure which processing it should be,
taking some of the density away, but I'd still think that overall, in an
FPGA without fixed logic, the ratio of memory to compute resources is
smaller than in CAPPs.)</p>
<p></p>]]></description>
      <pubDate>Mon, 16 Apr 2012 22:17:00 +0000</pubDate>
      <dc:creator>Yossi Kreinin</dc:creator>
    </item>
    <item>
      <title>Ray McConnell</title>
      <link>https://yosefk.com/cgi-bin/comments.cgi?post=blog/an-unusual-hardware-architecture-apa-associative-processing-array#comment-1112</link>
      <description><![CDATA[<html><head>
</head><body><p>Been there, done that. Not recommended.</p>
<p>The ratio of memory storage vs computational hardware is critical.
Even though one can simpliy increase the parallelism, in the end, for
any given algorithm there has to be a minimal amount of storage, the
working set, for the algorithm to work. So, increasing parallism will
increase this working set as fast as you increase the computational
resources. If the balance between memory and compute swings toward more
memory, then bit serial hardware isn't efficient. Your hadware will be
mostly memory, poorly utilised. Its just a fact of life that few
algorithms will gain from this bit squeeze, because the replicated
footprint of the memory working set will just remove any gains you may
achieve.</p>
<p>Minimising the footprint of the memory by utilising DRAM is fraught
with silicon process issues. There are few processes that can do this
(IBM for instance) and they are expensive. In the end its a route that
doesn't provide enough benefit over and above what you could achieve by
conventional means.</p>
<p>FPGAs have evolved to generalise logic function at the bit level.
(what really is the difference in a single bit ALU and an FPGA CLB?)
However if you look at the trends, they are nowhere near as area
efficient as fixed function or wider bit operations. Indeed, newer FPGAs
have embedded DSP units sprinkled in a sea of configurable hardware.</p>
<p></p>]]></description>
      <pubDate>Mon, 16 Apr 2012 03:32:00 +0000</pubDate>
      <dc:creator>Ray McConnell</dc:creator>
    </item>
    <item>
      <title>Vladimir</title>
      <link>https://yosefk.com/cgi-bin/comments.cgi?post=blog/an-unusual-hardware-architecture-apa-associative-processing-array#comment-1111</link>
      <description><![CDATA[<html><head>
</head><body><p>Hi Yossi, I was indeed being dyslexic — repeatedly I misspelled your
email address!</p>
<p>Anyhow, I sent you and Ed an e-mail to introduce you to each other.
Hopefully you got it.</p>
<p></p>]]></description>
      <pubDate>Wed, 19 Oct 2011 14:09:00 +0000</pubDate>
      <dc:creator>Vladimir</dc:creator>
    </item>
    <item>
      <title>Yossi Kreinin</title>
      <link>https://yosefk.com/cgi-bin/comments.cgi?post=blog/an-unusual-hardware-architecture-apa-associative-processing-array#comment-1110</link>
      <description><![CDATA[<html><head>
</head><body><p>@Vladimir: Sure; your friend can reach me at <a class="email" href="mailto:Yossi.Kreinin@gmail.com">Yossi.Kreinin@gmail.com</a> :) – the same address listed
everywhere on the site, and it <em>is</em> quite functional – or you can
give me an e-mail address I could contact first instead. Comment
deleted...</p>
<p></p>]]></description>
      <pubDate>Wed, 19 Oct 2011 00:03:00 +0000</pubDate>
      <dc:creator>Yossi Kreinin</dc:creator>
    </item>
    <item>
      <title>Yossi Kreinin</title>
      <link>https://yosefk.com/cgi-bin/comments.cgi?post=blog/an-unusual-hardware-architecture-apa-associative-processing-array#comment-1109</link>
      <description><![CDATA[<html><head>
</head><body><p>I do intend to write about it, however, my writing style has since
changed, so it's going to be a bit of a different experience.</p>
<p></p>]]></description>
      <pubDate>Thu, 01 Sep 2011 08:43:00 +0000</pubDate>
      <dc:creator>Yossi Kreinin</dc:creator>
    </item>
    <item>
      <title>Zee</title>
      <link>https://yosefk.com/cgi-bin/comments.cgi?post=blog/an-unusual-hardware-architecture-apa-associative-processing-array#comment-1108</link>
      <description><![CDATA[<html><head>
</head><body><p>Hi.</p>
<p>You've promised to make new section in your FQA when С++0x is going
to be accepted.<br>
Hope you didn't change your mind =)</p>
<p></p>]]></description>
      <pubDate>Thu, 01 Sep 2011 04:16:00 +0000</pubDate>
      <dc:creator>Zee</dc:creator>
    </item>
    <item>
      <title>Yossi Kreinin</title>
      <link>https://yosefk.com/cgi-bin/comments.cgi?post=blog/an-unusual-hardware-architecture-apa-associative-processing-array#comment-1107</link>
      <description><![CDATA[<html><head>
</head><body><p>@gus3: whether you could encrypt efficiently with an APA I don't know
since I'm not familiar with the different encryption algorithms enough
to envision their different data flows; however, if you saw low
<em>latency</em>, it rules out APA as well as any other
<em>high-throughput, high-latency</em> design. Generally, anything that
can be done to a stream of data without keeping much state – roughly
O(1) rather than O(N) state, assuming N is large or unbound – is very
naturally handled by non-programmable hardware with a deep pipeline,
where you have a piece of hardware dedicated to each processing phase
and inputs flow into the first box and a few cycles later, outputs flow
out of the the last box. The APA, on other hand, wants to have a large
chunk of the stream put into it, then processes the entire chunk and
then spits it out. (Of course the "large" chunk could be quite small in
absolute terms – it's just not the typical way people parallelize things
in hardware when they make fixed-function stream-processing boxes, it's
more usual to see stage 1 run in parallel with stage 2, 3, ... N than to
see stage 1 run in parallel on inputs 1..K). So this is how it worked if
I had to bet.</p>
<p></p>]]></description>
      <pubDate>Sat, 27 Aug 2011 05:28:00 +0000</pubDate>
      <dc:creator>Yossi Kreinin</dc:creator>
    </item>
    <item>
      <title>gus3</title>
      <link>https://yosefk.com/cgi-bin/comments.cgi?post=blog/an-unusual-hardware-architecture-apa-associative-processing-array#comment-1106</link>
      <description><![CDATA[<html><head>
</head><body><p>I heard about ten years ago, of a memory-mapped PCI card that did
near-instantaneous encryption. (It was probably DES, but it might have
been RSA.) A program wrote parameters (key, algo, and enc/dec operation)
to the card, and then the fun began. As soon as a block of input data
was finished transferring to the card, the block of output data was
ready to be read back by the program. Being PCI, read/write via DMA was
also supported, so however much data the bus could transfer, was how
fast the card could operate.</p>
<p>I don't remember many specific details about the card, except that
the developer supplied drivers only for Windows NT, with a Linux driver
in development at the time.</p>
<p>Could this card have been using an architecture similar to APA/CAPP?
I mean, would APA/CAPP lend itself to a task like this?</p>
<p></p>]]></description>
      <pubDate>Fri, 26 Aug 2011 13:46:00 +0000</pubDate>
      <dc:creator>gus3</dc:creator>
    </item>
    <item>
      <title>Yossi Kreinin</title>
      <link>https://yosefk.com/cgi-bin/comments.cgi?post=blog/an-unusual-hardware-architecture-apa-associative-processing-array#comment-1105</link>
      <description><![CDATA[<html><head>
</head><body><p>@nick: thanks! :)</p>
<p></p>]]></description>
      <pubDate>Tue, 23 Aug 2011 22:53:00 +0000</pubDate>
      <dc:creator>Yossi Kreinin</dc:creator>
    </item>
    <item>
      <title>nick black</title>
      <link>https://yosefk.com/cgi-bin/comments.cgi?post=blog/an-unusual-hardware-architecture-apa-associative-processing-array#comment-1104</link>
      <description><![CDATA[<html><head>
</head><body><p>what an absolutely outstanding writeup! thank you, yossi!</p>
<p></p>]]></description>
      <pubDate>Tue, 23 Aug 2011 22:40:00 +0000</pubDate>
      <dc:creator>nick black</dc:creator>
    </item>
    <item>
      <title>Yossi Kreinin</title>
      <link>https://yosefk.com/cgi-bin/comments.cgi?post=blog/an-unusual-hardware-architecture-apa-associative-processing-array#comment-1103</link>
      <description><![CDATA[<html><head>
</head><body><p>@Z.T.: well, image convolution with a small fixed-sized filter is a
good example; &gt;10 additions/cycle is also not bad at all for an
accelerator from 2003 (ARM had no Neon back then). As to how much better
things would be in terms of performance per cost metric – well, it's the
numbers everyone wants to lay their hands on when comparing
architectures and nobody can because you get drowned in details –
different algorithm implementations will have different precision
characteristics on different machines, will be optimized to a different
extent due to programmer performance differences, and the chips won't be
comparable because of being manufactured using a different process and
under different constraints. This means you have to gather statistics
carefully for your case and then rely on gut feeling and general
attraction/aversion towards an architecture – one reason the best
performing machines aren't necessarily the most popular; anyway, I
figured spitting out poorly supported numbers would be worse than
nothing, so I didn't.</p>
<p></p>]]></description>
      <pubDate>Tue, 23 Aug 2011 22:29:00 +0000</pubDate>
      <dc:creator>Yossi Kreinin</dc:creator>
    </item>
    <item>
      <title>Z.T.</title>
      <link>https://yosefk.com/cgi-bin/comments.cgi?post=blog/an-unusual-hardware-architecture-apa-associative-processing-array#comment-1102</link>
      <description><![CDATA[<html><head>
</head><body><p>"there are so many ways to fail irregardless of your accelerator
quality" – s/irregardless/regardless/</p>
<p>A real world example of an algorithm well suited to implementation on
such devices and how much better (throughput and latency per mm and per
watt) it would run on such a device compared to an Intel chip or an ARM
chip manufactured using the same process technology is what's really
lacking for me to appreciate this idea. All I can think of is how weird
it would be to program.</p>
<p></p>]]></description>
      <pubDate>Tue, 23 Aug 2011 07:26:00 +0000</pubDate>
      <dc:creator>Z.T.</dc:creator>
    </item>
    <item>
      <title>maht</title>
      <link>https://yosefk.com/cgi-bin/comments.cgi?post=blog/an-unusual-hardware-architecture-apa-associative-processing-array#comment-1101</link>
      <description><![CDATA[<html><head>
</head><body><p>I also found "Content Addressable Parallel Processor" by Lambert M.
Surhone</p>
<p>but Foster's was only $10 so I bought that :)</p>
<p></p>]]></description>
      <pubDate>Tue, 23 Aug 2011 01:01:00 +0000</pubDate>
      <dc:creator>maht</dc:creator>
    </item>
    <item>
      <title>Yossi Kreinin</title>
      <link>https://yosefk.com/cgi-bin/comments.cgi?post=blog/an-unusual-hardware-architecture-apa-associative-processing-array#comment-1100</link>
      <description><![CDATA[<html><head>
</head><body><p>@Øystein Gran Larsen: thanks!</p>
<p></p>]]></description>
      <pubDate>Mon, 22 Aug 2011 23:12:00 +0000</pubDate>
      <dc:creator>Yossi Kreinin</dc:creator>
    </item>
    <item>
      <title>Øystein Gran Larsen</title>
      <link>https://yosefk.com/cgi-bin/comments.cgi?post=blog/an-unusual-hardware-architecture-apa-associative-processing-array#comment-1099</link>
      <description><![CDATA[<html><head>
</head><body><p>Want to read more? My favorite, although old, is Caxton C Foster's
"Content Addressable Parallel Processors" published by Van Nostrand
Reinhold in 1976.</p>
<p></p>]]></description>
      <pubDate>Mon, 22 Aug 2011 22:54:00 +0000</pubDate>
      <dc:creator>Øystein Gran Larsen</dc:creator>
    </item>
    <item>
      <title>Yossi Kreinin</title>
      <link>https://yosefk.com/cgi-bin/comments.cgi?post=blog/an-unusual-hardware-architecture-apa-associative-processing-array#comment-1098</link>
      <description><![CDATA[<html><head>
</head><body><p>@Bryce: I think the market is open enough to make any particular
large company unable to prevent any sort of competition; the market may
have sufficient inertia (it's inherently cheaper to keep doing what
you're doing than switching to something else) to prevent some sorts of
innovation without any sort of "sabotage" by anyone. BTW Intel buys
loads of IPs and it would most certainly buy the APA patents if it
figured it was worth it.</p>
<p>As to "resistor count" ("per performance") – I don't know, really, as
it's very much a matter of constants – many of them – depending on what
you do and how you do it; could reduce or increase that count as far as
I can tell without (much) additional info and experiments.</p>
<p>@Kragen: I think you'll almost certainly reach millions if you want a
marketable product, things you'll have to spend heavily on including IPs
such as DRAM, Ethernet, etc. controllers (and, very likely, CPU and
on-chip interconnect); EDA tools for optimizing implementation; and
verification – both tools and man hours. Also, if you count time spent –
a million dollars is what, ten man years? Not that much time.</p>
<p>Chuck Moore's chips don't appear very marketable so currently don't
quite disprove this point; or rather, they aren't a huge hit – but we
(or at least I) don't know that any generation was particularly cheap to
make overall, either.</p>
<p></p>]]></description>
      <pubDate>Mon, 22 Aug 2011 22:46:00 +0000</pubDate>
      <dc:creator>Yossi Kreinin</dc:creator>
    </item>
    <item>
      <title>Kragen Javier Sitaker</title>
      <link>https://yosefk.com/cgi-bin/comments.cgi?post=blog/an-unusual-hardware-architecture-apa-associative-processing-array#comment-1097</link>
      <description><![CDATA[<html><head>
</head><body><p>"it probably won’t get any cheaper to make a new chip" — but it was
cheaper when MOSIS was founded, wasn't it? Around 1980? You can still
get chips fabbed through MOSIS and similar services, and it only costs a
few thousand dollars. Designing the chip may cost more than a few
thousand dollars, but it's still within reach of the occasional
middle-class US hobbyist: tens of thousands, maybe, but not
millions.</p>
<p>At least in theory. Chuck Moore is the only one I know of who ever
succeeded.</p>
<p></p>]]></description>
      <pubDate>Mon, 22 Aug 2011 20:38:00 +0000</pubDate>
      <dc:creator>Kragen Javier Sitaker</dc:creator>
    </item>
    <item>
      <title>Bryce</title>
      <link>https://yosefk.com/cgi-bin/comments.cgi?post=blog/an-unusual-hardware-architecture-apa-associative-processing-array#comment-1096</link>
      <description><![CDATA[<p>Pretty interesting stuff, as usual. You could use this to replace 80%
of SIMD instructions with a much smaller resistor count. Hopefully this
will happen some day though it doesn't really benefit intel much to make
standards that skimp on resistor count.</p>
<p></p>]]></description>
      <pubDate>Mon, 22 Aug 2011 17:15:00 +0000</pubDate>
      <dc:creator>Bryce</dc:creator>
    </item>
  </channel>
</rss>
