Better HN
topnewbestaskshowjobs
Log inSign up

slizard

531 karma · joined Feb 9, 2016 (10y ago) · 159 submissions

Submissions

comment 9y ago · link · parent

Sadly these gen-1 ThunderX cores are pretty poor in performance and not particularly power-efficient either. Cache performance is especially sucky. https://www.servethehome.com/exclusive-first-cavium-thunderx... http://www.anandtech.com/show/10353/investigating-cavium-thu...

I hope that this is just a rebranded system showing the redyness of System76 and raising awareness about such products so that they're better positioned for the ThunderX2 release later this year.

comment 9y ago · link · parent

The CPU has 24 lanes and the chipset can add up to 8 additional lanes, see [1] first table.

It's a pity that they did not include at least 32 lanes on-chip to allow two full x16 GPUs at least on the 1800X, but I hope there is a 1900X in the pipeline with more lanes.

[1] https://arstechnica.com/gadgets/2017/03/amd-ryzen-review/

comment 9y ago · link · parent

FTFY: some major parallel workloads are done on the GPU anyway, so parallel work on CPUs is often still relevant. ;)

comment 9y ago · link · parent

If you end up buying high TDP chip, you can simply cap the clock either in BIOS or in kernel to save power.

comment 9y ago · link · parent

> On all those benchmarks, (i.e. your standard LU matrix decomposition which previously was the basis of the LAPACK benchmarks, though things might have changed in the ~10 years since I've really looked at things) isn't CPU-bound anymore, so of course your instruction-per-cycle load on the CPU isn't where you'll be bottlenecking [...]

That's incorrect, DGEMM and most BLAS3 is way above most if not all processor uarch's aritmetic intensity threshold [1]. Broadwell CPUs are at 10 Flops/byte [1] while e.g. DGEMM is 32 Flops/byte [2], so that's definitely FLOP/instruction bound and not memory.

> Your processor can very easily anticipate from where in that sparse-matrix your next data fetch is going to be. It's the cost of that RAM fetch[1] going along that copper trace which is going to be where you're going to bottleneck on any heavy numerical computation.

You're mixing things up, it seems! LAPACK/BLAS is dense matrix, not sparse, so now you switched topics. Sparse matrix ops are generally >1 Flops/byte (see [2]), so that's indeed memory bound.

[1] https://www.karlrupp.net/wp-content/uploads/2013/06/flop-per... [2] http://www.siam.org/pdf/news/2090.pdf

comment 9y ago · link · parent

Sure, in this particular file every year in the interval is listed, but in a large codebase that's not always the case. Always listing every year keeps things simple, consistent, avoids complications around extra statement and clauses, and makes auto-generating headers easier.

comment 9y ago · link · parent

This is why: "For software with several releases over multiple years, it's okay to use a range (“2008-2010”) instead of listing individual years (“2008, 2009, 2010”) if and only if every year in the range, inclusive, really is a “copyrightable” year that would be listed individually; and you make an explicit statement in your documentation about this usage."

Source: https://www.gnu.org/licenses/gpl-howto.en.html

comment 9y ago · link · parent

Harder in what sense? There is nothing (or very little) that makes OpenCL significantly harder by nature!

OpenCL developer tools and libraries are however a disadvantage compared to NVIDIA's CUDA stack. That's partly thanks to AMD's rather poor tools (I still hope that their OSS initiative might change that). Intel's half-assed attitude towards OpenCL support didn't help either. Most importantly, NVIDIA's attitude of intentionally crippling OpenCL on their hardware by providing piss poor dev tools, only v1.2 support, no extensions that would allow making use of their hardware's features etc. has surely contributed to successful​ly holding back the adoption of the OpenCL standard.

I hope the community wakes up sooner rather than later.

comment 9y ago · link · parent

The real problem starts with the idea/wording of "one / two income family". It trivializes the issue and is likely rooted in the dated "housewife" concept that forces people into a permanent role, dependence, and general lack of choice, a social structure that really needs reform (and has been to a great extent in many countries).

Why can't parents work (earn) and take care of their kids at the same time? Why assign a (permanent) role of stay-at-home-parent to essentially half of the adults (with children) risking unnecessarily trapping them in roles and financial state that's unfair.

comment 9y ago · link · parent

Support for a lot of the statements can be found in the refs of this Science VS podcast episode [1] which, in its 3rd part, deals specifically with the environmental impact of organic farming.

[1] https://gimletmedia.com/episode/5-organic-food/

comment 9y ago · link · parent

Note that this is biomedicine. I doubt many other fields will show wildly different trends, but some will likely have less grim trends (e.g. engineering sciences, computing).

102.

The price of doing a postdoc(sciencemag.org ↗)

2 points · by slizard · 9y ago · 1 comment

comment 9y ago · link · parent

The concept that a job gives meaning and structure to life, builds character, etc." is not sustainable in the future.

Related, interesting read: https://aeon.co/essays/what-if-jobs-are-not-the-solution-but...

comment 9y ago · link · parent

> I don't understand why we expect people to be paid the same for less work.

Because the "standard" work week is an artificial construct that has arbitrary definition. Also because this is a way to bridge the gap between accepting universal income and re-evaluating what is the role and importance of work/job in the society.

comment 9y ago · link · parent

Even if it is not found to be acceptable now (which might sadly turn out to be the case even in Sweden), at least when jobs start to dry out, people will realize that an intermediate solution to increasing unemployment is letting people work less -- hopefully for similar pay.

106.

In Sweden, Happiness in a Shorter Workday Can’t Overcome the Cost(nytimes.com ↗)

48 points · by slizard · 9y ago · 70 comments

107.

Putting the Rise of Chinese Supercomputing in Perspective(top500.org ↗)

2 points · by slizard · 9y ago · discuss

108.

Beauty Meets HPC: An Overview of the Barcelona Supercomputing Center(insidehpc.com ↗)

3 points · by slizard · 9y ago · discuss

comment 9y ago · link · parent

> But it's interesting to consider why HIP doesn't support compiling to OpenCL.

It's not HIP that will support compiling _to_ OpenCL, but rather the compiler toolchain will have an OpenCL compiler that will compile down to ISA [1], promised to be released for the ROCm stack in the coming weeks [2].

[1] https://www.phoronix.com/forums/forum/linux-graphics-x-org-d... [2] https://github.com/RadeonOpenCompute/ROCm/issues/30

comment 9y ago · link · parent

> GM1XX is Maxwell 1st Gen, which was the 750ti, the Gefore 800M series, Tegra K1 and Tesla M10, GM2XX is Maxwell 2nd Gen.

My bad, forgot about 5.0 devices being called GM1xx. Still, AFAIR there was little practical difference (in particular instruction set) between all but the compute capability 5.3 Tegra.

> Maxwell wasn't 1/3 it was 1/32 (no this isn't a typo) ;) this is the same (or even worse IIRC it's 1/64 now) with Pascal with the exclusion of the GP100, the Pascal Titan and Quadro cards are 1/32 or 1/64.

I did not say Maxwell had 1/3 DP flop rate, I said Kepler had that, but Maxwell was pushed by the 28 nm process (so they had to get rid of all DP ALUs).

> As I said NVIDIA keeps this for very limited silicon if you buy a desktop/workstation GPU even with Pascal don't expect DP/HP performance.

Never disagreed, but they can only do that because their professional compute division has grown big enough that it it worth designing different silicon; that shift happened in fact after Kepler, GK110 was more or less the same on GeForce and Tesla (e.g. 780 Ti and K40). They're also trying to find a good way to do market segmentation and DP ALU die area is an obvious candidate to play with. Still, no HP on GP102/104 is a curious thing, especially as the Tesla P4/P40 that oficially target ML/DL would really need it. My bet is they won't "forget" HP on lower-end Volta; not all consumer chips will support it, but unless they'll design different dies for GV102/104 (or whatever they'll call the non-DP Tesla uarch), which I doubt, some desktop parts will also support it.

comment 9y ago · link · parent

> Not sure if Maxwell came out of the blue, Maxwell 1 was designed for mobile, embedded and tesla, Maxwell 2 came out most likely because Pascal at large was delayed.

First off not sure what you are referring to by "Maxwell 1" and "Maxwell 2"; there's GM204, GM206, GM200 all very similar, and GM20B the slight outlier.

Maxwell was an arch tweak on Kepler which, due to everyone but Intel stuck at 28 nm, had to cut down on all but the gaming-essential stuff to deliver what the consumers expected (>1.5x gen-boost). For that reason, and because HPC has traditionally been thought to need DP, IIRC no public roadmap mentioned Maxwell Tesla at all. Instead, the GK210 (K80) was the attempt to be the bridge-gap chip for HPC until Pascal; it was released just a few months before the big GM200 consumer chips came out. That is until fall '15 when the late arriving M40 and M4 were pitched as "Deep learning accelerators" (though GRID/virtualization version were released a little earlier in August). Quite obvious naming, plus no sane HPC shop would buy a crippled (no DP) chip <1 year before the promised miracle-chip, Pascal was planned to be released. Let's not forget that P100 was known to be quite late, K80 was insufficient for the needs of many customers, so another bridge-gap was necessary, and that what the M Teslas were: bridge-gap ML/DL cards that Google/FB/Baidu and the like wanted, and picked up pretty quickly e.g. see [1].

> As for the half precision, it's pretty much the same thing NVIDIA been doing since Kepler dumping FP64 and FP16, especially FP16 due to the silicon costs.

Not really. In Kepler they experimented with the SP/DP balance a bit (1/3), in Maxwell they were pushed by 28 nm, in Pascal they returned to the DP = 1/2 SP throughput.

Also, FP16 is not completely separate silicone, AFAIK FP16 instructions are dual-issued on the SP hardware.

> NVIDIA came out with the Titan and Titan Black with baller FP16 performance and no one seem to care

Source? AFAIK earlier FP16 was only supported natively by textures and by some conversion instructions. First chip was the GM20X/Tegra X1 with native FP16.

> As for Google and Baidu while they are huge I'm not sure how "important" they are, Google can pretty much design their own hardware at this point,

Some hardware that allows large benefits, but definitely not all hardware. They're happily relying heavily on GPUs, are planning to pick up Power8+NVlink, etc. Designing chips is expensive, especially if there isn't a huge market to pay for it.

> and as you mentioned they don't really use the software ecosystem that much as they can write everything from scratch even the driver if need be.

Note that they "only" wrote the fronted and IR optimizer, the code generator is NVIDIA's NVPTX [3]!

To wrap up because this is getting long, to your last points I'd say the big DL players are very important for NVIDIA because they are the trendsetters leading in many aspects of AI/DNN research with OSS toolkits for GPUs, and they'd be silly to not use GPUs in-house for their own needs which they're happy to talk about at various conferences and trade shows (e.g. both keynotes GTC 2015 [3] [4]).

[1] http://arstechnica.com/information-technology/2015/12/facebo... [2] http://llvm.org/devmtg/2015-10/slides/Wu-OptimizingLLVMforGP... [3] http://www.ustream.tv/recorded/60071572 [4] http://www.ustream.tv/recorded/60071572

comment 9y ago · link · parent

NVIDIA is playing catch-up with themselves and the shifting market too!

Just look at the Maxwell-based Tesla cards that came out of the blue (as if they were an afterthought); I bet Facebook, Baidu, Google, etc. told NVIDIA that Kepler was shit for their use-cases and they did not want to wait for Pascal.

Or look at the bizarre Pascal product line where the GP100 does support half precision, but the others don't, not even the P4 or P40. Strange, isn't it?

Things are changing so quickly that it isn't hard at all to find footing as long as you have something useful to offer. At the same time, I agree, a robust software stack is an advantage, but for the likes of Google or Baidu even that is not so big of a deal (Google wrote their own CUDA compiler!).

comment 9y ago · link · parent

It's clearly indicated on the slide that those are Deepbench [1] GEMM and GEMM-convolution numbers. Data for M40, TITAN Maxwell/Pascal and Intel KNL is actually provided by Baidu in their Github repo.

[1] https://github.com/baidu-research/DeepBench

comment 9y ago · link · parent

> So it's a headless passively cooled server version of the R9 Fury X? I figured this was a faster and improved version.

Almost. My guess is R9 Nano [1] given the same 8.2 Tflops (SP) Flop rate [2].

[1] http://www.anandtech.com/show/9621/the-amd-radeon-r9-nano-re... [2] http://images.anandtech.com/doci/10905/AMD%20Radeon%20Instin...

> Not sure if AMD is going to go all HBM on all it's high performance GPUs in 2017, or only offer one or two models with it.

It would make perfect sense to have some GDDR5X-based medium-range GPUs. HBM2 will be expensive, too expensive for the top of the medium range (and the same applies for NVIDIA). GDDR5X has plenty of room for improvement over GDDR5 and by next year they should have it figured out better.

comment 9y ago · link · parent

The tricky, but fun parts. It's certainly not trivial to port those, but I'm not too worried about it as long as there is solid runtime support in ROCm. More fun work for perf engineers like me. ;)

Massive amount of boilerplate, heavy APIs or crappy software stack are more dangerous IMO than having to drop in replacements for NVIDIA-specific optimizations of GPU-to-NIC or GPU-to-GPU communication.

comment 9y ago · link · parent

The ML/deep learning technologies are peaking or will peak in the coming years on the hype curve [1], so it is not too late for AMD to join the show, there is plenty of newcomers and growing entities to buy hardware. So even though the CUDA ecosystem is far more established, let's not forget how much room for growth there is under an exponential growth curve!

Even Intel is late to the game (and so far can't even compete with AMD in terms of hardware).

[1] https://www.gartner.com/newsroom/id/3412017

comment 9y ago · link · parent

> can't interop the "operational" CUDA features

What exactly do you that mean?

comment 9y ago · link · parent

What's particularly interesting here is that the Fiji card they propose is a very different beast than any of the NVIDIA offerings.

The MI8 card's HBM has a great power and performance advantage (512 GB/s peak bandwidth) even if it's on 28 nm. NVIDIA has nothing that has even remotely comparable bandwidth in this price/perf/TDP regime. None of the NVIDIA GP10[24] Teslas have GDDR5X -- not to surprising given that it was rushed to marked, riddled with issues, and barely faster than GDDR5. Hence, the P4 has only 192 Gb/s peak BW; while the P40 does have 346 GB/s peak, it is far higher TDP, different form factor and not intended for cramming in into custom servers.

[I don't work in the field, but] To the best of my knowledge inference is often memory bound (AFAIK GEMV-intensive so low flops/byte), so the Fiji card should be pretty good at inference. In such use-cases GP102 can't compete in bandwidth. So the MI8 with 1.5 the Flop rate, 2.5x bandwidth and likely ~2x higher TDP (possibly configurable like the P4) offers an interesting architectural balance which might very well be quite appealing for certain memory-bound use-cases -- unless of course the same cases are also need large memory.

Update: should have looked closer at the benchmarks in the announcement; in particular the MIOpen benchmarks [1] MI8 clearly beating even TitanX-Pascal which has higher BW than the P40 indicates that this card will be pretty good for latency-sensitive inference as long as stuff fits in 4 GB.

[1] http://images.anandtech.com/doci/10905/AMD%20Radeon%20Instin...

comment 9y ago · link · parent

Additionally, here's an example of how Caffe was porting using HIP [1]. To be honest, if the approach really does work, you might see a very quick increase in the number of applications ported.

All in all, given how elegant HIP is and that HCC seems to make GPUs more approachable than CUDA (and less silly than OpenACC), there is a great potential for AMD to gain some traction. My greatest concern is the quality and robustness of their software stack, their overly optimistic view (at least from the outside), and their relationship with the rest of the OSS world, especially given the conflicts that they seems to be running into with upstream contrib [2].

[1] https://www.youtube.com/watch?v=I7AfQ730Zwc [2] https://news.ycombinator.com/item?id=13136426

120.

Is AMD Licensing Radeon Graphics to Intel?(forbes.com ↗)

3 points · by slizard · 10y ago · discuss

123456