Better HN
topnewbestaskshowjobs
Log inSign up

FullyFunctional

3,566 karma · joined May 8, 2013 (13y ago) · 1,534 submissions

Submissions

comment 6y ago · link · parent

I'm am very appreciative to Apple for finally closing the endless "The ISA doesn't matter" nonsense. The ISA does matter and it's part of what enabled Apple to go so wide.

However, there the article is slightly misleading. The ROB isn't where instructions are issued from, that would be the schedulers which usually holds a much smaller set of instruction (16 per scheduler is common). The ROB holds everything that was decoded and not yet retired, thus including instruction that haven't yet been issued to schedulers and more importantly, instruction that have been executed for not retired (eg. might be waiting on older instruction to retire first).

comment 6y ago · link · parent

Up to 2 m over copper, longer over active optical. Why? Because of insanely low latency and very high bandwidth (PCIe gen 3 x4 in 2010!). No kernel involvement, app direct to storage. Way ahead of the time.

comment 6y ago · link · parent

Thanks for the write up. That was enlightening. PCIe is a really nice "bus" all things considered. At DSSD we liked it so much that we ran it directly to clients, over custom cables & connectors.

comment 6y ago · link · parent

Yes I did mean cache traffic, poor choice of words, but the point is the same (filling up the store buffers etc).

comment 6y ago · link · parent

I failed to add that the stores aren't eliminated by this either so we are also incurring increased memory traffic unnecessarily.

comment 6y ago · link · parent

All high-end processors do it, but that doesn't come for free (design/verification effort + silicon area/power). Also, the capacity for this is limited to the size of the store buffer so without the needless spills, you can apply all this expensive machinery to more real memory ops.

(A similarly but different debate could be had over all the save/reloads we incur on function entry/exits. 29k and SPARC's register windows were attempts at avoiding those).

comment 6y ago · link · parent

That would have been terrible. No, they have effectively routed the address/mask information over the data bus and eliminated those signals. Yes it takes multiple beats, but it's at least not bit serial.

comment 6y ago · link · parent

I don't know why this was downvoted as it's exactly right. The ISA does matter, especially for the frontend. Intel overcame the tax through essentially brute-force, but it's taken until now for the playing field to be level enough that the differences show up. There will never be an 8-wide decode x86 (issuing from a trace- or uop-cache doesn't count).

(edited for clairity)

comment 6y ago · link · parent

The fixed format (and width) of Aarch64 is absolutely key to enabling 8-wide issue and is a characteristic of RISC (not RISC-V RV64GC tragically)

comment 6y ago · link · parent

You seem to misunderstand. With too few registers you may have to spill to the stack. You can't turn those into register moves in the presence of stores without a very advanced memory disambiguation.

comment 6y ago · link · parent

I love RPC; it’s much better utilization of pins - same bandwidth over 22 as over ~ 45, IOW about twice the bandwidth per pin. Downside is a slightly higher latency because address and command have to travel over them too, but this is amortized over the burst transfer.

The real problem with RPC is that devices has tiny capacity; 256 Mb today and max spec’ed to 8 Gb (yes, I am aware that they consider it a feature, but I don’t). Also, it’s actually pretty expensive today compared to regular DRAM.

comment 6y ago · link · parent

"And it's amusing to see Apple using new emojis as a carrot to get people to install the latest security patches."

OMG, that makes so much sense. I was the opposite, grumbling about not caring about that silliness, not realizing the psychology of things.

Having suffered through the dark ages with Microsoft increasingly ruining the world with an endless stream of proprietary crap (I still hate them for making people think tab width is configurable), it's amazing to step back and witness how much things have improved (on this narrow slice).

comment 6y ago · link · parent

I second that. It's oddly under-advertised and not installed by default, but it works amazingly well. However, I still pay Ferral for their full ports to support the effort (most recently Shadow of the Tomb Raider).

comment 6y ago · link · parent

I know this is a subtle detail, but when I see this I fell neck pain. The ideal mounting height for the TV is such that when you are in your comfortable viewing position, your eyes should be roughly aligned just below the top part of the TV (for big TVs this is difficult so I aim for 20% from the top).

I've seen countless HGTV make-overs where they put the TV other the freaking fireplace - just horrible. This is slightly better, but still bad.

The idea is simple and not actually new; I saw a similar idea years ago where instead of a home office it enclosed a small bedroom with bunk bed. It seems it wouldn't be that hard to replicate for anyone able to make their own shelves.

comment 6y ago · link · parent

Of the top of my head:

- software for a "smart pen" where the company went out of business

- some label printing software

- some Steam games

- some games from GOG

Even if I don't run these daily, I don't like to be cut off from my past.

comment 6y ago · link · parent

32-bit apps. I have 32-bit apps where the developer is either gone or will not update, thus if I wish to keep using these I have to stay on Mojava. This applies to four Macs which will likely never move away from Mojava.

comment 6y ago · link · parent

FWIW, RISC-V explicitly doesn't support NaN payload propagation so R will have a problem there as well.

comment 6y ago · link · parent

It's not just vector, it's an incompatible version of bitmap too.

I presume "brave" was used ironically. It would be very unfortunate if it fractures the ISA but I'm optimistic that it will not.

comment 6y ago · link · parent

And what is MRR? The original link doesn't seem to define it.

comment 6y ago · link · parent

Over decades, I had developed an almost not-invented-here attitude exact because dependencies are always such a pita (oh Python hell) and drag in a lot of bloat. Rust is the first language I have used where external dependencies (from crates.io) Just Works(TM). However they can still drag in bloat :)

comment 6y ago · link · parent

FWIW, I had the exact same experience as the OP; I was slowly getting comfortable with Rust until I wanted (high performance) cooperative multitasking, which in Rust meant getting into Async and all the complexities of Rust multiplied to a point where I'm reconsidering some life choices. And I have yet to match the performance of the C++ equivalent solution :(

I suspect I would have liked the original green threads more, despite the drawbacks.

comment 6y ago · link · parent

The HP-11C (which I bought ~ 30 years ago to replace a HP-15C that took one too many drops) is still going strong on the ORIGINAL battery from the factory.

I marvel frequently that while CPUs, storage, and displays are unphantomly better, the physical design and feel of the keys on the 30+ year old calculator is still unsurpassed.

comment 6y ago · link · parent

The article and this whole thread is awesome; there’s so much to learn.

My only contribution is to point out that the late Hudak was very interested in making music with software and spent a significant portion of The Haskell School of Expression, https://books.google.com/books/about/The_Haskell_School_of_E... on it.

comment 6y ago · link · parent

1. Cores already exist or are coming that satisfy the existing platform. They would be obsoleted by a change in the requirements.

2. RV64GC is already quite big. Piling more requirements onto it will make it harder to introduce small cores.

3. V is pretty complex and I don't agree with your assertion. In contrast I'm aware of cores with vector where the vector part takes up 50% of the die and does exactly nothing for the scalar apps that don't use it. I'd much rather spend that silicon on more IPC or a 2nd core.

comment 6y ago · link · parent

Absolutely. QEMU is JITting so decode is only done once. What helps here is the absence of crazy semantics, like flag updates. Some things are still expensive, such as indirect branches (jalr), virtual memory translation (load/store), and handling RISC-V's 31 registers without hitting memory for each of them (the host ISA, x64, has only 16 architectural registers).

comment 6y ago · link · parent

QEMU is shockingly excellent. Do not extrapolate, but one piece of code I was working on ran at a 1/4 of the speed in RISC-V under QEMU compared to the host. That's a really amazing result.

comment 6y ago · link · parent

Neither V nor B are ratified, nor are they part of the Unix platform standard (and hopefully never will be).

V is close, B is not. There are exactly 0 chips or even IP on the market with standard B (which is really a family of sub-standards), but there are chips with pre-standard V (alas, a few of them aren't compatible with the current draft - the perils of running ahead).

Overall, yes you are right, this is most useful for people interested in seriously evaluating RV64GC and/or porting code. It's a one of the necessary steps on the path to more adoption, but not the last one.

comment 6y ago · link · parent

"Not saying it was aliens.... but it was aliens!"

I'm not sure why this was posted? Something made it relevant today? The human brain is somehow wired to believe the most irrational things, not sure if there was an evolutionary benefit.

comment 6y ago · link · parent

Why are there no down-vote buttons for bad submissions?
1
252627
52