* Re: [libre-riscv-dev] Fall 2022 Interfaces
2020-06-12 4:01 ` Jacob Lifshay
@ 2020-06-12 4:33 ` Cole Poirier
2020-06-12 5:46 ` Yehowshua
` (2 subsequent siblings)
3 siblings, 0 replies; 17+ messages in thread
From: Cole Poirier @ 2020-06-12 4:33 UTC (permalink / raw)
To: Libre-RISCV General Development
> On Jun 11, 2020, at 9:01 PM, Jacob Lifshay <programmerjake@gmail.com> wrote:
>
> On Thu, Jun 11, 2020, 19:59 Yehowshua <yimmanuel3@gatech.edu> wrote:
>
>> Was talking with Pine64 and Raptor about Fall2022 interfaces which I’m
>> trying to finalize.
>> We need 10rx and 14tx SERDES.
>> 4rx and 4tx for the OMI will need to run at 25GHz for DDR4 over OMI.
>>
>
> 25GHz seems *really* fast, probably impractically so unless going to *lots*
> of effort, did you mean 2.5GHz?
Maybe 25GB/s? “The OMI DDR4 Differential DIMM memory module supports a data throughput rate of 25.6GB/s with a latency of 40ns and densities up to 256GB. The new 84-pin DDR4 DDIMM is intended for use in standard server environments, using a serial interface and a differential Data Buffer (dDB) from Microchip. The DDIMM supports IBM’s P9 AIO and P10 processors’ memory attached architecture. The P9 AIO and P10 memory bus is defined with one read port and one write port per channel, each having eight unidirectional differential lanes supporting 25.6 Gbps data rate over the OMI direct attached to the DDIMM.”
https://www.eenewseurope.com/news/ddr4-differential-dimm-grows-opencapi-ecosystem
Still that’s for power 10 and late generation power 9 server processors.
Cole
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: [libre-riscv-dev] Fall 2022 Interfaces
2020-06-12 4:01 ` Jacob Lifshay
2020-06-12 4:33 ` Cole Poirier
@ 2020-06-12 5:46 ` Yehowshua
2020-06-12 7:07 ` Yehowshua
2020-06-12 11:03 ` Luke Kenneth Casson Leighton
3 siblings, 0 replies; 17+ messages in thread
From: Yehowshua @ 2020-06-12 5:46 UTC (permalink / raw)
To: Libre-RISCV General Development
>
> hdmi has issues with libre licensing and DRM content, if we're going that
> fast, we should just go with display port or similar, since it's an open
> standard, I think.
Perhaps - was reading Dave Shah’s convo on gitter…
He said Display Port is an absolute pain…
Yehowshua
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [libre-riscv-dev] Fall 2022 Interfaces
2020-06-12 4:01 ` Jacob Lifshay
2020-06-12 4:33 ` Cole Poirier
2020-06-12 5:46 ` Yehowshua
@ 2020-06-12 7:07 ` Yehowshua
2020-06-12 11:03 ` Luke Kenneth Casson Leighton
3 siblings, 0 replies; 17+ messages in thread
From: Yehowshua @ 2020-06-12 7:07 UTC (permalink / raw)
To: Libre-RISCV General Development
> On Jun 12, 2020, at 12:01 AM, Jacob Lifshay <programmerjake@gmail.com> wrote:
>
> 25GHz seems *really* fast, probably impractically so unless going to *lots*
> of effort, did you mean 2.5GHz?
I think its actually 5GHz - currently checking with somebody from IBM.
Yehowshua
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [libre-riscv-dev] Fall 2022 Interfaces
2020-06-12 4:01 ` Jacob Lifshay
` (2 preceding siblings ...)
2020-06-12 7:07 ` Yehowshua
@ 2020-06-12 11:03 ` Luke Kenneth Casson Leighton
2020-06-12 11:21 ` Luke Kenneth Casson Leighton
` (2 more replies)
3 siblings, 3 replies; 17+ messages in thread
From: Luke Kenneth Casson Leighton @ 2020-06-12 11:03 UTC (permalink / raw)
To: Libre-RISCV General Development
On Friday, June 12, 2020, Jacob Lifshay <programmerjake@gmail.com> wrote:
> On Thu, Jun 11, 2020, 19:59 Yehowshua <yimmanuel3@gatech.edu> wrote:
>
> > Was talking with Pine64 and Raptor about Fall2022 interfaces which I’m
> > trying to finalize.
> > We can do everything including HDMI, ethernet, DDR4(via OpenCAPI OMI),
> and
> > PCIE with SERDES lanes.
> >
>
> hdmi has issues with libre licensing and DRM content,
indeed. DVI however does not (and is pin compatible). HDMI is just a
protocol over DVI.
> if we're going that
> fast, we should just go with display port or similar, since it's an open
> standard, I think.
i added Richard Herveille's RGBTTL to the list. a TI TFP410a will convert
to at least 1600 x 1200 DVI no problem.
the TFP410a is a well known solution.
if we make it DDR RGBTTL then 1920x1080 is also no problem, via some
Chrontel ASICs.
>
>
> > We need 10rx and 14tx SERDES.
that is one hell of a lot.
> > 4rx and 4tx for the OMI will need to run at 25GHz for DDR4 over OMI.
that may not be enough to handle framebuffers as well as run an OS.
framebuffers are scarily demanding of memory bandwidth and they absolutely
MUST have total absolute top priority.
you cannot have a video scan line go blank. evverrr.
to give some idea: 1920 x 1080 is 2 million pixels. each pixel is 4
bytes. that is 64 million bytes per frame. 60 frames? that is 360
MEGABYTES per second.
DDR3 800 Mhz is only 6400 MB per second so we are looking at 20 percent of
memory bandwidth taken by feeding the framebuffer!!!!
if you want 4k that is now 1200 MEGABYTES per second just to feed the
frickin framebuffer!
doesn't even matter if it contains blank lines, that's 1.2 gigabytes per
second full of zeros!
> >
>
> 25GHz seems *really* fast, probably impractically so unless going to *lots*
> of effort, did you mean 2.5GHz?
no it really is 25GHz.
we will need Rudi from ASICS.ws for this. he can handle that kind of
work. when i went to visit him he was doing some SERDES PHY related work
at these speeds.
i do not know if 45nm can handle it, though.
l.
--
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: [libre-riscv-dev] Fall 2022 Interfaces
2020-06-12 11:03 ` Luke Kenneth Casson Leighton
@ 2020-06-12 11:21 ` Luke Kenneth Casson Leighton
2020-06-12 12:38 ` Yehowshua
2020-06-12 19:34 ` Yehowshua
2 siblings, 0 replies; 17+ messages in thread
From: Luke Kenneth Casson Leighton @ 2020-06-12 11:21 UTC (permalink / raw)
To: Libre-RISCV General Development
(offlist conversation moved onlist after removing names).
phone messing formatting. blech. sorry.
the bandwidth requirements for video framebuffer are so insane i am leaning
towards suggesting use a multi scanline compression hardware algorithm.
similar to the old fax machines, huffman encoding, blah blah.
multi scanline because this will pick up vertical compression opportunities.
On Friday, June 12, 2020, Yehowshua <yimmanuel3@gatech.edu> wrote:
> two uses
>
1. Stand alone SBC
2. GPU for POWER systems, and any system really.
yep. this you can see on the original pages and descriptions i created.
glad to see you also worked it out.
> We can then literally provide identical GPU drivers to the host machine,
> except now, commands are sent over PCIE to LibreSOC where they are
> then issued as instructions on the hybrid CPU/GPU.
>
indeed. with associated insanity and complexity, for which an entire
special team will be needed.
And remember, LibreSOC already has video output -
>
only if Richard Herveille's RGBTTL interface is included.
so just send out the frame!
>
yyep :)
fortunately PCIe just memorymaps the framebuffer (i think)
so for nonaccelerated video it at least becomes braindead simple.
what is nice however is that by running an entire OS on the GPU, and it
being a full OS, a protocol can be invented which transfers video.
OR
just run the XServer *on the GPU*.
run xhost +
and... um... that's it.
done.
no need to write any drivers.
just treat the graphics card as if it was a networked Xserver.
> OK now to talk performance. When doing the discrete GPU, we can lift power
> restrictions.
> So lets say we double vector land widths, run the chip at 2GHz…
>
> We're talking 100 maybe 200GFLOPS.
>
yes.
it comes down to memory bandwidth at L0CacheBuffer.
4 core 800mhz dual issue is 1600 x 4 = 6.400 Giga vectors. and a FMAC is 2
already.
each vector is 4 FP32 therefore we are 50 GFLOPs
double the clock rate and 100 GFLOPs is achievable.
however to sustain that we need *SIXTEEN* LDST FunctionUnits.
and each one will have 2x LDST Ports.
32 ports @ around 160 bits wide
that's an internal routing of FIVE THOUSAND wires between the Function
Units and the L0 Cache Buffer.
in addition we will need a minimum of something mad like 8 way striped L1
data caches, and 16x 64 bit Wishbone Buses down into the L2 cache.
it's achievable, it's just going to be a handful.
l.
--
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [libre-riscv-dev] Fall 2022 Interfaces
2020-06-12 11:03 ` Luke Kenneth Casson Leighton
2020-06-12 11:21 ` Luke Kenneth Casson Leighton
@ 2020-06-12 12:38 ` Yehowshua
2020-06-12 13:30 ` Luke Kenneth Casson Leighton
2020-06-12 19:34 ` Yehowshua
2 siblings, 1 reply; 17+ messages in thread
From: Yehowshua @ 2020-06-12 12:38 UTC (permalink / raw)
To: Libre-RISCV General Development
> that may not be enough to handle framebuffers as well as run an OS.
> framebuffers are scarily demanding of memory bandwidth and they absolutely
> MUST have total absolute top priority.
The OMI interface has 3200MT/s which is the same spec as DDR4.
**Should be fine depending on line sized which is usually 8 - 64Bytes.
Yehowshua
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [libre-riscv-dev] Fall 2022 Interfaces
2020-06-12 12:38 ` Yehowshua
@ 2020-06-12 13:30 ` Luke Kenneth Casson Leighton
2020-06-12 14:06 ` Hendrik Boom
0 siblings, 1 reply; 17+ messages in thread
From: Luke Kenneth Casson Leighton @ 2020-06-12 13:30 UTC (permalink / raw)
To: Libre-RISCV General Development
On Fri, Jun 12, 2020 at 1:38 PM Yehowshua <yimmanuel3@gatech.edu> wrote:
>
>
> > that may not be enough to handle framebuffers as well as run an OS.
> > framebuffers are scarily demanding of memory bandwidth and they absolutely
> > MUST have total absolute top priority.
>
>
> The OMI interface has 3200MT/s which is the same spec as DDR4.
3200 million transactions/sec, let's assume 8 bytes. that's 3200
megabytes per second. 25 gigabit / 8 equals 3.125 so that fits with
the math , there. one 25 gigabit lane provides 3200 million 8-bit
transactions per second (3.125).
4k is 1200 megabytes per second: 37.5% *percent* of the total memory
bandwidth consumed by a 4k 60fps framebuffer! and if people wanted
120 fps instead, that's now a staggering 75% of a single OMI interface
dedicated to the framebuffer!
bear in mind that that is *just* the framebuffer hardware. the CPU -
the GPU - is contending for the exact same memory resource.
we cannot possibly expect the GPU to operate effectively at that kind
of resource-starved level. bear in mind that not only the GPU 3D
Vulkan / bitmap / texturisation data has to go over that same
interface, the Operating System *also* has to swap in and out as well
to get that down to only 5% of total bandwidth, going to 64 bytes per
transaction would, if i am reading this correctly, require *eight* of
those 25 gigabit per second SERDES.
and that alone is going to be mental as far as power consumption is
concerned. i don't exactly know what the power consumption of a
single lane 25 gigabit SERDES is going to be, i am trying to recall
the conversations last year with Rudi when i visited him: it will
however be extremely important to find out.
i have a *vague* recollection of a number somewhere around 300mW. if
we assume that to be correct, then those 10x Rx and 14x Tx would be
somewhere around *eight watts* just for the SERDES alone!
so here we have the basis of actionpoints, which i would suggest be
put into the bugtracker (otherwise we'll lose track, which i'm
starting to do, already, thank you gmail)
* to make a decision as to what top level of visual performance is
needed (maximum resolution, maximum framerate)
* calculate the framebuffer data transfer rate for that.
* to decide some top level of GFLOPs and MTriangles/sec (and other
waffly figures for the GPU side)
* estimate the memory bandwidth for the GPU side
* decide if we want to develop a hardware compression algorithm
between memory and framebuffer (an augmentation of Richard Herveille's
RGBTTL framebuffer RTL)
* find out the power consumption in 45nm for these SERDES
* talk to Rudi to see if he can do a SERDES PHY for us
* talk to SymbioticEDA likewise
* talk to Dmitri from LIP6.fr to see what he can do, whether a stable
50 GHz clock is achievable in 45nm (i understand from Dmitri that for
a given target clock - 25 gbit/sec in this case - you need the PLL to
do double the clockrate)
l.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [libre-riscv-dev] Fall 2022 Interfaces
2020-06-12 13:30 ` Luke Kenneth Casson Leighton
@ 2020-06-12 14:06 ` Hendrik Boom
2020-06-12 14:23 ` Cole Poirier
0 siblings, 1 reply; 17+ messages in thread
From: Hendrik Boom @ 2020-06-12 14:06 UTC (permalink / raw)
To: libre-riscv-dev
On Fri, Jun 12, 2020 at 02:30:42PM +0100, Luke Kenneth Casson Leighton wrote:
> On Fri, Jun 12, 2020 at 1:38 PM Yehowshua <yimmanuel3@gatech.edu> wrote:
> >
> >
> > > that may not be enough to handle framebuffers as well as run an OS.
> > > framebuffers are scarily demanding of memory bandwidth and they absolutely
> > > MUST have total absolute top priority.
> >
> >
> > The OMI interface has 3200MT/s which is the same spec as DDR4.
>
> 3200 million transactions/sec, let's assume 8 bytes. that's 3200
> megabytes per second. 25 gigabit / 8 equals 3.125 so that fits with
> the math , there. one 25 gigabit lane provides 3200 million 8-bit
> transactions per second (3.125).
>
> 4k is 1200 megabytes per second: 37.5% *percent* of the total memory
> bandwidth consumed by a 4k 60fps framebuffer! and if people wanted
> 120 fps instead, that's now a staggering 75% of a single OMI interface
> dedicated to the framebuffer!
>
> bear in mind that that is *just* the framebuffer hardware. the CPU -
> the GPU - is contending for the exact same memory resource.
>
It's just possibe that we may not *need* 4k at 120 fps.
Certainly there are many potential applications for our chip that don't
need that kind of video.
-- hendrik
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [libre-riscv-dev] Fall 2022 Interfaces
2020-06-12 14:06 ` Hendrik Boom
@ 2020-06-12 14:23 ` Cole Poirier
0 siblings, 0 replies; 17+ messages in thread
From: Cole Poirier @ 2020-06-12 14:23 UTC (permalink / raw)
To: Libre-RISCV General Development; +Cc: libre-riscv-dev
On Jun 12 2020, at 7:06 am, Hendrik Boom <hendrik@topoi.pooq.com> wrote:
> It's just possibe that we may not *need* 4k at 120 fps.
> Certainly there are many potential applications for our chip that
> don't
> need that kind of video.
I concur. If we are planning on selling 100 million units, shouldn't we
have several different levels of IO/GPU capablilty, each targeting
different power requirements? For example, a phone or a tablet doesn't
need 4k 120HZ video right?
Cole
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [libre-riscv-dev] Fall 2022 Interfaces
2020-06-12 11:03 ` Luke Kenneth Casson Leighton
2020-06-12 11:21 ` Luke Kenneth Casson Leighton
2020-06-12 12:38 ` Yehowshua
@ 2020-06-12 19:34 ` Yehowshua
2020-06-12 19:43 ` Yehowshua
2020-06-12 21:42 ` Luke Kenneth Casson Leighton
2 siblings, 2 replies; 17+ messages in thread
From: Yehowshua @ 2020-06-12 19:34 UTC (permalink / raw)
To: Libre-RISCV General Development
>
> no it really is 25GHz.
Just talked with an engineer who has used the OpenCAPI
SMC 100 from Microchip. It actually is 25GHz. 25.6 GHz to
be precise.
Some notes from my conversation with Michael:
>> from the ecp5 note on the serdes
>> - "3.2 Gbps operation with low 85
>> mW power per channel”
>
> Ok
> hmm
> channel i say 1rx or 1tx?
>
>> 1 tx/rx pair
>
>
> so 8 pairs at 3.2Gbps is about a watt
> Can't imagine for 25Gbps
>
>> Oh, and ecp5 is a 40nm chip
>> so it should be comparable to ours
>
>
> that’s what I’m afraid of
>
>
>> they might be targeting a different subprocess
>> than us though. I think most fabs offer the
>> options of like "low power", "high performance”,
>> or "high density"
>
>> and I suspect ours will need to be less flexible than the ecp5's so that might save us some power
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 17+ messages in thread