HNHacker News
TopNewBestAskShowJobs

tntn

1,101 karma · joined January 24, 2018

submissionscomments
tntn··on Eating Jell-O with Chopsticks
Ditto, but late 1990s instead of 1970s. I survived (so far) as well :)
tntn··on The Boring Company will develop an underground “people mover” for Las Vegas
That would be great. Subway costs are absolutely ridiculous, so it would be fantastic if the boring company decides to build exactly the same thing for much less.
tntn··on Why Ice Lake is Important – a bit-basher’s perspective
> good cache-DMA integration but this not working across NUMA nodes. Ideally Intel would improve this feature to be NUMA-aware

How do you propose they do this? You can't magically move the physical devices to the other socket, and transferring the data between sockets is what those "NUMA-scheduling kludges" are trying to avoid. The only solution is to have software put the data close to the device.

tntn··on The Books of College Libraries Are Turning into Wallpaper
I have strong feelings about this. When I was in university, I would quite frequently just going wander through the stacks in random sections, look at the titles, and pick up some that seemed interesting. I'd also go to some sections I liked (physics, math) and browse for hours. Frequently I'd end up spending a while looking though several hundred year old books written by the people that invented what the book was about.

There weren't many people that did this, so in my senior year the library decided that the books were a poor use of space, and started tagging books that hadn't been checked out for N years for removal (just with a sticker, I had to ask to find out what the tags were for). Then they started to remove the books, so the 10 aisle section (each aisle with 20 or so full size bookshelves) on physics got reduced down to ~3 shelves. I asked the librarians where they had gone, and they assured me that I shouldn't be concerned because they had just gone to storage, so they could still be requested if needed. But this change meant that instead of just quickly checking several relativity books (indices are great) when I needed further explanation, I would have to search in the catalog and individually request them, which took several orders of magnitude longer.

I have never seen a catalog with an interface that allows replicating the experience of walking through the stacks. Most interfaces allow you to find 1) popular books in some field which are almost always from the last decade or so and reflect what is currently hype, or 2) books with a particular title or author that you are already looking for.

I'm reminded of a study on the dynamics and distribution of academic citations over the past century. I can't seem to find it at the moment (maybe it was referenced in one of Carr's works), but I think the gist is that the breadth of citations has reduced substantially in the last decades. Rather than citing many different papers from many different times, papers have begun to cite that same most-cited papers over and over again (that show up first in the search results), if I recall correctly. Reading a single pdf excerpted from a journal is a very different experience from reading the same article in the physical journal, because in the second you end up flipping past all the other articles which may catch your eye. In the same vein, reading a single ebook (or even requested book from storage) is a very different experience that finding it on the shelf and maybe running across several other awesome books on the way.

It makes me very sad that centuries of knowledge from the best minds of humanity are getting shoved in storage, accessible only via search terms and the like, and replaced by couches where students can sit and browse Facebook/reddit/etc and occasionally work on schoolwork.

tntn··on Arm announces its new premium CPU and GPU designs
CM-1, linked in 'dragontamer's comment.
tntn··on Speech2Face: Learning the Face Behind a Voice
There are some recent developments that are potentially scary, but I don't see how this is one of them. Humans are really good at guessing approximate age, sex, and ethnicity from a voice. I'm not surprised in the least that some machine learning can do it too. I think the "whole of a person" is a lot more than age, sex, and ethnicity, so I don't agree that we are "getting close."
tntn··on Ways to break your systems code using volatile (2010)
But if the duration is > 65535 ticks, the calculated duration will be wrong, no? There is no mechanism to count how many times TCNT1 overflows, so it will be incorrect if the duration of what you are timing exceeds 65535 ticks.
tntn··on Intel Announces 8 Core I9-9900KS: Every Core at 5Ghz, All the Time
Apple and AMD just have to ask TSMC to do their magic to make 7nm chips - they haven't had to do anything spectacular, just use TSMCs design libraries.

Intel is struggling because of their struggles with 10nm. Apple and AMD are not because TSMC has pulled off 7nm. Architecture matters, but process node matters a lot too.

tntn··on Intel Announces 8 Core I9-9900KS: Every Core at 5Ghz, All the Time
Right, but Intel isn't falling behind AMD or apple in this comparison - it is falling behind TSMC.
tntn··on How Screwed is Intel without Hyper-Threading?
Still need the tag to know which way to read and whether there is a hit, so the statement is pretty much accurate.
tntn··on How Screwed is Intel without Hyper-Threading?
That paper primarily discusses a (cooperative) covert channel between processes using the FPU TS register, then mentions that caches or the TLB could similarly be used to implement a covert channel. IMO, meltdown and Spectre and MDS are a different class of vulnerability, so I don't know that I would say that paper was about "such vulnerabilities."
tntn··on How Screwed is Intel without Hyper-Threading?
Linux ignored those concerns as well. Torvalds didn't think hyperthreading was at fault, and Kleen stated that it was a "user space problem." In other words, there wasn't exactly consensus that there was something to fix.

Anyway, that's not the same vulnerability as any of those that have become public in the last 18 months.

tntn··on How Screwed is Intel without Hyper-Threading?
And how about the generations of computer architecture professors that have promulgated the lie that is "architecturally visible state," am I right? Speculative execution is fine, cause we just throw away the results before they become architecturally visible.

Those professors aren't doing too bad now either, with plenty of papers to be published outlining the flaws and proposing solutions.

/s

Really, though, humanity is still pretty new to this whole computer architecture thing in general, and running untrusted code securely in particular. Im skeptical that someone at Intel was aware for the possibility of vulnerabilities for 10+ years before any of them were made public.

To be honest, I'm a little perplexed by the animosity directed towards Intel after all these vulnerabilities. Vulnerabilities in software are most frequently the result of ignorance, but everyone seems to assume the engineers and managers at Intel knew better (or should have know better). Who would have told them?

tntn··on How Screwed is Intel without Hyper-Threading?
Right, I think it makes a lot of sense that the engineers designing the cores didn't think about the security implications. I know I wouldn't have.
tntn··on Nasa Set to Demonstrate X-Ray Communications in Space
Cool. In some places it is common to only capitalize acronyms if they are pronounced as individual letters.
tntn··on H.264 is magic (2016)
I find it very confusing that you seem to use "real number" and "floating point number" interchangeably.

Like this:

> The DFT over the reals is not lossless. Using floats, for example, and applying it to max_float overflows, so cannot be inverted.

I don't see why you make statements about the reals based on what happens with floats. They aren't the same, and the DFT exists independently of actually computing it.

tntn··on H.264 is magic (2016)
The good thing about standards is everyone can have their own.
tntn··on H.264 is magic (2016)
Can you give some details re:

> The FFT using real numbers is not lossless

The DFT over the reals is invertible, right? How can it be invertible but not lossless?

tntn··on H.264 is magic (2016)
I don't see how this is relevant. Certainly related, but not immediately relevant. The Nyquist rate / frequency (depending on where you stand) determines whether the process of sampling is invertible, but the FFT exists independent of the process of sampling and is always invertible (in the maths). 'acchow's question is whether this holds in practical systems, like computing the FFT and IFFT with the finite precision + finite range numbers that we can use.
tntn··on Sam Altman’s leap of faith
In my mind, OpenAI is different from the other labs you mention because their goal is to harness the power of their own god. Bell Labs, for most of its history, was tasked with improving the Bell System, so anything that was remotely related to the system was fair game. Maybe these things seem "not much different" to you, but they seem dramatically different to me.

I'm not really that convinced anyone is substantially closer to artificial general intelligence that anyone was in the 50s or 60s, and I think it's fun to imagine what Bell Labs might have achieved if they decided to focus all of their efforts on creating artificial general intelligence. Not much, I would think.

> a bet in the future being better than today

No, it's a bet that openai will create general intelligence and make a profit off of it in some timeframe such that it doesn't make more sense to get your 100x returns through ordinary means. OpenAI can achieve this without the "future being better than today," and conversely the future can be better than today without OpenAI achieving this.

tntn··on To reinvent the processor
The adoption of FPGAs is, IMO, limited by the quantity of people who can write RTL. Lots of people can write assembly, a lot more can write C or C++, and legion of people can write software in higher level languages. Compared to the quantity of software engineers, there are extremely few people that can write RTL of moderate complexity, and even for those few, the development process is much slower than software.

This could change, and I'd love to see that, but without improved "programmability" FPGAs will remain niche. I haven't followed the latest developments very closely, but Xilinx seems to be moving in this direction with Everest through the addition of vector cores.

tntn··on To reinvent the processor
> with tons of in-order cores

It's worth noting that GPUs are only "in order" because the computer architecture community has decided that "out of order" means "some variation of Tomasulo." Every GPU architecture in the last decade has relied extensively on executing (and committing) instructions in a single instruction stream out of order.

Doing a bunch of math while waiting for memory operations to complete is fundamental to high performance. Modern GPUs cannot achieve anywhere close to peak performance without extensive ILP - relying on latency hiding via threads is insufficient.

tntn··on Faster arithmetic by flipping signs
> tasked with optimizing the cloth simulation code in Shadow of the Tomb Raider. It had been fine tuned extensively with PowerPC intrinsics for the Xbox 360 but its performance was lacking on XboxOne (x64).

Sounds to me like they were recycling some old cloth simulation code from previous games and it needed to be optimized for Xbox one for the release of the new game.

tntn··on Build a Neural Network
Not entirely true - Scott Gray knows: https://github.com/NervanaSystems/maxas/wiki/SGEMM

IIRC his kernels shipped in cuBLAS at some point.

tntn··on Cray, AMD to Extend DOE’s Exascale Frontier
I agree that the majority of the cycles go to traditional codes, but there is quite a bit of ML/AI happening on Summit.

From your link:

"New Frontiers for Material Modeling via Machine Learning Techniques"

"Large scale deep neural network optimization for neutrino physics"

"High-Fidelity Simulations of Gas Turbine Stages for Model Development using Machine Learning"

"HPC4mfg – Reinforcement Learning-based Traffic Control to Optimize Energy Usage and Throughput"

"Advances in Machine Learning to Improve Scientific Discovery"

tntn··on Reader/Reader blocking in reader/writer locks
> So reader/writer locks tend to rely on the additional concurrency, and on readers not blocking other readers.

> software has a constant tendency to get slower, absent deliberate and careful efforts to hold the line, as developers add features and complexity. And if slower processes don’t immediately impact performance (because they only hold read locks), they’re more likely to go unnoticed. Thus, it’s not unlikely that over time read lock durations will creep upwards, mostly without effect, until one happens to coincide with an attempt to grab a write lock.

For me, the takeaway here is to maintain discipline in software regarding locking behavior. It's almost always a bad idea to hold a lock (rw or not) for an extended period of time.

Notably, this is how the Linux kernel developers responded to the case linked in the discussion of mmap_sem - the operation quadratic in number of threads was thrown out to avoid holding the rwsem for extended periods of time.

Also, re "and the lock is held by readers for a significant length of time": I would imagine that Rusty Russell would consider a few microseconds a "significant length of time" and wonder if you were insane if your software held a lock for 60 seconds.

tntn··on Cray, AMD to Extend DOE’s Exascale Frontier
But ROCm isn't an API is it? It's a "platform," whatever that means, and so software still has to use either hip or OpenCL, right?
tntn··on Cray, AMD to Extend DOE’s Exascale Frontier
... except for on Summit.

"Exascale Deep Learning for Climate Analytics" won the 2018 Gordon bell using summit.

tntn··on Cray, AMD to Extend DOE’s Exascale Frontier
I'm not familiar with mobile / APUs, but I was under the impression that it was still necessary to do clCreateBuffer (or similar). I could only find old slides (https://developer.amd.com/wordpress/media/2013/06/1004_final...), though.

Would you mind pointing me in the right direction to learn about how to do this? (something equivalent to slide 2 of https://www.olcf.ornl.gov/wp-content/uploads/2018/12/summit_... but for mobile/APU)?

tntn··on Cray, AMD to Extend DOE’s Exascale Frontier
I think you'd have a hard time making a case that Summit is a cyclical return to any part of the Amiga 500 :)

"fully coherent single address space with all memory available to [all processors]" is a lot easier if there is no virtual memory, no caching, and all processors are on a single shared bus to the same memory chips.

← PreviousPage 3 of 10Next →