Live data from Hacker News

Huawei Seeks Independence from the US with RISC-V and Ascend Chips

tomshardware.com

141–150 of 162 posts

Re: Huawei Seeks Independence from the US with RISC-V and Ascend Chips

#141
post #65
post #56

Earlier quoted context omitted.

Nvidia are supposed to be using RISC-V inside future GPUs.

Yes, as a replacement for their internal proprietary logic controllers which operate in the periphery. That has nothing to do with the RISC-V ISA being the right choice for core functionality like shader cores.

AFAIU their RISC-V variant can also be proprietary, akin to FreeBSD based products such as Junyper or macOS

Re: Huawei Seeks Independence from the US with RISC-V and Ascend Chips

#142
post #51

Earlier quoted context omitted.

The biggest issue is lack of huge caches, and the extreme latency to main memory due to the speed of light. GPU’s are fine or even better for a wide range of compute tasks see CUDA etc, they just end up being very slow at a subset of common tasks.

Circuits don't operate at speed of light, though. People like to say this over and over again, but electron mobility through a circuit is only around 2/3s the speed of light, IIRC. They may have very tiny mass, but they still have mass.

No, it's the electromagnetic field which propagates at around 2/3c in the conductor. The electron drift velocity is on the order of a fraction of a mm/s.

Re: Huawei Seeks Independence from the US with RISC-V and Ascend Chips

#143
post #4

Earlier quoted context omitted.

Why would we want RISC-V on laptops?

Just reading up on it, the big thing pushing this is that the instruction set is completely open source. That's why someone might want it. https://hackernoon.com/why-we-need-risc-v-f94e3929891b

The cost of licensing instruction set is very small part of licensing.

High performance microarchitecture is never going to be open source. They cost hundreds of millions to design and the design stays relevant only 4-5 years.

Re: Huawei Seeks Independence from the US with RISC-V and Ascend Chips

#144

So there are basically 2 possibilities. It is possible for Huawei, and Chinese companies in general, to build a successful alternative without using American technology (for the purposes of this post, I'm defining successful as equivalent to their American tech using competitors). It's not possible. What the actions on Huawei have done, however, is ensure that if that possibility exists, very significant chunks of Ch…

> without using American technology Eh, RISC-V was developed at UC Berkeley. In the United States.

The implication there was patented. Linux for example has been developed all over the world, yet am sure the administration would happily claim it's American as well, just because of where the Linux Foundation is located, but that doesn't matter as long as it's open.

Re: Huawei Seeks Independence from the US with RISC-V and Ascend Chips

#145

Earlier quoted context omitted.

Actually, what's to stop Huawei from just copying and incorporating whatever they need into their IC designs regardless of patents? I can imagine foreign foundaries refusing orders from Huawei to avoid manufacturing IP infringing designs, but are there foundaries in China that can produce the chips necessary while ignoring foreign patents? As an aside to that, how do foundaries know whether their client designs infri…

Infringement is detected by display of patented features or potentially reverse engineering relevant portions of an IC. There is no practical way to police infringement using the disparate array of design inputs mapped onto proprietary gate libraries.

Infringement would most likely be detected by reading data sheets and looking for similarities. Armed with that, an IP holder would go through the very expensive reverse engineering process. They're unlikely to do that unless a win in court is likely.

Re: Huawei Seeks Independence from the US with RISC-V and Ascend Chips

#146
post #49
post #39

Earlier quoted context omitted.

>Generational benchmarks show big leaps in every new arch on userbenchmark, That is because GPU scales very well with Transistor count, throw in more transistor and memory bandwidth and you are good. On the CPU you could have doubled the transistor budget and get marginal improvement in IPC.

Why can't a GPU power a computer?

GPUs are made to execute a limited set of the same operations operation on on a huge amount of data in parallel. This is a totally different workload than your usual computer programs, that commonly have a long and complicated series of commands. Thus just translating your program 1:1 to your GPU computer would make it way slower. Your GPU runs probably around ~1.5GHz, a third of your CPUs. The GPU does have a few thousand cores that run in parallel while our consumer CPUs does have at best a dozen (that are more capable than any single GPU core), but most of those are often already idle, since it's a lot of work to make your software take advantage of them. For some tasks it's worth it, and those take advantage of e.g. you GPU.

Re: Huawei Seeks Independence from the US with RISC-V and Ascend Chips

#147
post #39

Earlier quoted context omitted.

> GPUs have sort of plateaued except for the raytracing component What? As far as I understood it, CPUs had plateaued outside of efficiencies, GPU power still follows Moore's. Generational benchmarks show big leaps in every new arch on userbenchmark, whereas CPUs from 7 or 8 years ago are only marginally slower (SC) than modern ones.

>Generational benchmarks show big leaps in every new arch on userbenchmark, That is because GPU scales very well with Transistor count, throw in more transistor and memory bandwidth and you are good. On the CPU you could have doubled the transistor budget and get marginal improvement in IPC.

To expand on that, this is my understanding: process shrinks used to lead to faster clocks AND more transistors, but a wall was hit and since then they only lead to more transistors. GPU's can use those extra transistors because their workload is embarrassingly parallel (thousands of parallel things), but CPU's can't because their workload is mostly sequential (developers have to explicitly write code for every thread to do something useful, and find this hard to do). You can see the clock rates peaking with the Pentium 4, crashing when that design proved a dead end, and then plateauing: https://i.stack.imgur.com/z94Of.png

IPC improvements are still happening, which is why Intel has been on 14nm for years and still makes CPU's every year that are a little bit faster, but they are hard to do and you only get incremental improvements.

If someone could figure out a way to write regular software that easily parallelized to hundreds of cores, CPU's could also get the same leaps in performance that GPU's have been enjoying. It's a software problem more than it is a hardware problem.

Re: Huawei Seeks Independence from the US with RISC-V and Ascend Chips

#148
post #6

I think that RISC-V has a long way to go to be actually competitive with ARM on a IPC basis. Although it is great to have more competition in the market I believe that this is more of a 5-10 year goal rather than distinctly near term.

I can recommend the book The RISC-V Reader: An Open Architecture Atlas by David Patterson and Andrew Waterman.

http://riscvbook.com/

https://www.amazon.com/RISC-V-Reader-Open-Architecture-Atlas...

In the book the authors compare the expressiveness (and thus code density) of code implemented with the RISC-V ISA with instructions for x86, ARM and MIPS. They show that the RISC-V ISA is able to give ARM a good fight in terms of IPC, and that it beats MIPS. (Mainly due to the delay slots which can't be filled in many real world cases.)

They also show why the R5 should make implementations scale better in clock speed compared to ARM. This is the kind of stuff Patterson has been doing research on the last 3-4 decades, and it is quite interesting to see how this experience has guided the design of the RISC-V ISA.

Re: Huawei Seeks Independence from the US with RISC-V and Ascend Chips

#149
post #147
post #39

Earlier quoted context omitted.

>Generational benchmarks show big leaps in every new arch on userbenchmark, That is because GPU scales very well with Transistor count, throw in more transistor and memory bandwidth and you are good. On the CPU you could have doubled the transistor budget and get marginal improvement in IPC.

To expand on that, this is my understanding: process shrinks used to lead to faster clocks AND more transistors, but a wall was hit and since then they only lead to more transistors. GPU's can use those extra transistors because their workload is embarrassingly parallel (thousands of parallel things), but CPU's can't because their workload is mostly sequential (developers have to explicitly write code for every threa…

>If someone could figure out a way to write regular software that easily parallelized to hundreds of cores, CPU's could also get the same leaps in performance that GPU's have been enjoying. It's a software problem more than it is a hardware problem.

Amdahl's law [1] , and while we have demonstrate parallelised code can speed things up, generally speaking Software performance still have lots of low hanging fruit without even going deep into parallel and concurrency world, it is just a matter of cost whether it is worthwhile to improve or fix it.

[1] https://en.wikipedia.org/wiki/Amdahl%27s_law

Re: Huawei Seeks Independence from the US with RISC-V and Ascend Chips

#150

Earlier quoted context omitted.

It's a lot of work, and I don't know that there's any support for the effort to port V8 and ART to RISC-V. When I was starting on V8 port, I didn't see much in terms of interest in providing material support for it. I got one interview out of it, but I feel like maybe the Foundation is the right place for that. They'd have to delegate the hiring and management to a member, but I think it could work. Huawei has their…

Absolutely, giants like Google or Huawei could pull this off, I really don't know if we'll see Java without someone like that. Personally I'm keen to see Mozilla's JavaScript VM (is it still called SpikerMonkey?) ported, but I doubt it will happen until we see more widely available/affordable RISC-V hardware.

I just don't have any interest in running any software that uses mozilla's JavaScript runtime. It has a lot going for it but I just find Mozilla based browsers misbehave and perform poorly on all my hardware, in ways that upset and frustrate me.
Post reply on HN