8,887 karma · joined Mar 18, 2011 (15y ago) · 1,785 submissions
comment 12h ago · link · parent
There was also the awkward bottleneck that Intel's Quad-core CPUs in that era were actually two dual-core dies packaged together. They could only communicate via the shared front-side bus.
For desktop users, it wasn't anywhere near as great... That was the stretch were Intel refused to give us anything better than a quad core. We went from quad-core Penryn (actually the exact same dies the servers were getting) to quad-core Skylake.
Which was nothing to sneeze at, I remember upgrading from dual-core Penryn to quad-core Skylake in 2016 and that was quite an upgrade. Just less impressive compared to what the servers were getting.
comment 3d ago · link · parent
Sometimes they would produce wonderfully on-topic responses, and other times they would go off the rails. And the end user would only tolerate so much off-the-railsness before dismissing the product as pointless.
Yes, the results here are quite a bit more impressive than historical equivalents if you analyse them at an academic level. But that doesn't matter to an end user.
And we saw the same with LLMs. Most people completely dismissed LLMs like GPT2/GPT3, despite how much progress they were making. It was only once OpenAI successfully made them follow instructions and wrapped it up as ChatGPT that the general population started paying attention. GPT3.5 wasn't any smarter than GPT3. But everyone perceived it as smarter simply because it could follow instructions (which... brings up some interesting questions about humans)
comment 4d ago · link · parent
It's a bit of an illusion, it looks quite impressive to us because we know how good the output from a full-sized LLM can be. We are willing to give it a lot of leeway because of its small size as long as it produces output that looks kind of like chatgpt.
Well... computational linguistics academics should have been impressed at how well it understands language with nothing more than ingesting a huge amount of untagged data.
comment 6d ago · link · parent
Flags are a performance advantage. RISC-V needs extra instructions to do the same thing as ARMv8. Or sometimes the same number of instructions, but the compare-and-branch is more heavy (instead of reading an independent 4-bit flags register, it needs to tie up the register ports to do full sized register reads and run compare).
And ARMv8 can use the flags registers to reduce contention on GPRs, while RISC-V is sometimes forced to waste GPRs on emulating flags registers. And it does take a tiny bit more energy to write to a 64-bit register than a 4-bit one.
There are a few cases where compare-and-branch is more optimal than seperate compare and branch instructions... But ARMv8 gets the best of both worlds because it has a set of compare-and-branch instructions too (though some implementations will split that into two μops)
The major advantage of flags is that they give you certain three-input instructions (cmov, addc and ccmp) without requiring a proper three-wide register file.
TBH... I'm not entirely sure the amount of area spent on implementing flags actually provides more benefit than the cost, that would be next to impossible to prove. But they certainly provide more than zero benefit, and IMO it's a quite large advantage.
comment 6d ago · link · parent
> RISC-V is just a leaner and cleaner version of ARM, aka RISC
But does leaner and cleaner actually result in better performance? And really RISC-V is only lean and clean if you ignore all the extensions. With extensions, it's doing many of the same things as ARM.
And IMO RISC is legacy (or at least that lean-and-clean version of RISC is), we are actually in a post-RISC era where massive out-of-order μarches absolutely dominate the high-performance computing space.
> without IP lock...
Yes, that is the major advantage of RISC-V, along with extensibility.
And TBH, it's good enough for many usecases.
One thing that the massive dominance of x86 over the last 30 years should have taught us, is that ISA doesn't matter anymore. The modern post-RISC Out-of-Order paradigm allows us to complexly detach a legacy ISA from the internal μarch and make it run really fast despite all the legacy issues.
[0] https://dmitry.gr/?r=06.%20Thoughts&proj=12.%20RV
[1] https://news.ycombinator.com/item?id=49298035
[2] https://gist.github.com/erincandescent/8a10eeeea1918ee4f9d99...
comment 1w ago · link · parent
I assume he wrote BASIC first to make sure he knew the computer he was building would be capable of running BASIC. And also not too capable, since the goal was a cheap computer capable of running BASIC.
But, he did write a simple monitor (and burn it into PROM) before actually running BASIC. Just 256 bytes: No disassembler, just the ability to read/modify and execute hex bytes. Before Woz created the tape interface, you had to type BAISC into the monitor as hex every time you powered up the computer.
comment 1w ago · link · parent
It comes from CPU designers who don't have a history of making OoO designs. Designers who love making high-performance area-optimised in-order RISC cores. CPU designers who created RISC-V.
I mean, I design CPUs too, (as a hobby) so why not take my word?
RISC-V is not a modern ISA. It might be a new ISA, but it's very much a design stuck in the late-80s. It's basically just "MIPS, but with the benefit of hindsight". They didn't get rid of flags because that was the modern approach, they just blindly copied what MIPS already did in 1984 and tried to come up with a post-hoc rationalisation for it.
Don't get me wrong, RISC-V is not the worst ISA. It does a good job in its intended use-case (of being a great university ISA, easy for students and hobbyists to implement themselves. Or a starting point for weird cores with lots of custom vector instructions). It's just not a modern ISA.
If you want to see an actual modern ISA, take a look at ARMv8.
ARMv8 was designed around the same time as RISC-V, but by professional CPU designers. It was a joint project between ARM Inc and Apple. Those Apple engineers were working on what later became the M1, and the ARMv8 ISA shows very clear signs of being optimised for modern very-wide OoO cores.
comment 1w ago · link · parent
I'm only really arguing that handling flags in OoO designs doesn't require massive amounts of extra "complexity", which is the common argument.
They don't argue that flags add area, or power consumption. Just an unreasonable amount of extra design complexity (and maybe a FMAX limitation) to the extent that OoO μarches would be far better with flags not existing.
Of course flags uses more area (though IMO, probably not much that area). And if it uses area (even a tiny bit), then engineers are probably going to spend time optimising it. Even tiny savings can be put to use elsewhere.
comment 1w ago · link · parent
Doesn't mean they are right. It's mostly just RISC-V fans blindly repeating the RISC-V justification for not having flags without understanding the situation.
And it's only RISC-V (and MIPS before it) which sticks to this position. Most other high-performance RISC arches have flags. Including ARMv8, a complete departure from 32-bit ARM, and one which was explicitly designed with high-performance OoO cores in mind. ARMv8 dropped many fun RISC features from Arm32, but they kept flags.
Really, the cost for flags on OoO cores isn't that high. You have already implemented everything you need to rename regular registers, which you can reuse to implement flag renaming too. It costs a tiny bit of area and maybe a little routing complexity, but doesn't have any impact on fmax.
> but their "operations" may tell us what would be a "good" ISA for performance, and many seem to agree that this ISA would be "RISC" based.
Well... given that the current μops of x86 cores aren't RISC-like, (because they are variable length, and aren't load-store), your suggested philosophy would not result in a RISC-like replacement ISA for x86.
Like, the weaker form of your argument is probably correct. If we were designing a replacement x86 ISA, then the current μops of various x86 implementations would be a good inspiration for informing what that ISA could look like.
It's only the strong form that I disagree with: There is no good reason for any ISA to be a 1:1 mapping of the μops it decodes into. And there are many good arguments for not doing that. μops can be arbitrarily wide, as they are only used for internal purposes. Instructions need to be dense and compressed, as code density can have a large impact on performance. There is no good reason why a single instruction shouldn't decode to two or even hundreds of μops... that's just good compression.
comment 1w ago · link · parent
You don't have to look far, the RISC-V spec makes this incorrect claim.
> µops are not at all like RISC instructions
Yeah. Zen μops are actually documented to be variable length (at least when stored in the μop cache, but presumably elsewhere). And μops hold both a memory load and an ALU operation... very CISC.
It's only the full read-modify-write instructions that still get split into two μops. And I doubt it's actually two fully independent μops, because seems a waste to send the instruction through the AGU twice.
comment 1w ago · link · parent
Well... that is the pure RISC philosophy from the 80s.
But there are advantages to having a disconnect between the encoded instructions and μops. So much that most "RISC" ISAs have instructions that are explicitly intended to decode to multiple μops. ARMv8 takes this approach pretty far, with quite a few instructions that are explicitly intended to be split into multiple μops.
Hell... Even RISC-V has begrudgingly expermented with the idea: See the Zcmp/Zcmt extensions which are explicitly defined to decoded to multiple 32-bit instructions; Or arguably the Zaamo Atomic instructions, which are part of RVA23.
comment 3w ago · link · parent
Checking wikipedia, there is optional support for transmitting time and date in RDS, with an explicit usecase of updating the clock in cars.
> I also wonder why cars with built-in GPS navigation don't synchronize their clocks using the time from the GPS signal.
GPS doesn't transmit timezone information, nor does it transmit leap seconds. It transmits a very, very accurate UTC minus 18 seconds, but without access to the internet for timezone database updates or (until recently) leap seconds, it's a bit useless for updating a clock.
comment 3w ago · link · parent
They had SMT, but unlike every other implementation of SMT I’m aware of, memory stalls on one thread would stall both threads… which kind of defeats the primary purpose of SMT.
At least with the PS3’s Cell, the SPUs were designed to be esoteric on purpose. It seems like Xenon kind of just ended up being esoteric by accident. (Or maybe they ended up like that because Microsoft were cheating off Sony’s homework)
comment 3w ago · link · parent
Ethereum never did it again, rolling back hacks didn’t (and couldn’t) become normal policy. IMO, they shouldn’t have made an exception, as it set a bad example.
I’ve seen a few other small projects attempt to do rollbacks since, but it usually turns into some kind of mess. In most hacks, the coins aren’t time-locked and quickly get laundered through smaller exchanges (and other services) which act as mixers. The stolen coins end up in the hands of a bunch of innocent people, and the rollback then causes way more harm as those users lose their coins.
comment 3w ago · link · parent
They stopped making the lpddr2 dram that the old SoCs used a few years back, and now most of the stock has dried up.
The Pi 4 SoC used lpddr4, and I’m pretty sure they are still making it.
comment 4w ago · link · parent
That's not quite enough to prove it was AI in itself. But when combined with the fact he was unable produce the original raw grayscale video and how he deleting his linkedin... basically confirmed to be AI.
comment 1mo ago · link · parent
Not sure where that comes from. The original release box art [1] says it will work on any PC with 512KB of ram. So that's an 8088 running at just 4.77 MHz.
But that's far from the lowest spec port of the game. The Commodore 64 version might have been missing quite a few features (like stadiums, police/fire stations and railways), but the main city simulation loop was there in just 64KB of ram and a 1MHz 6502.
And the BBC Micro/Acorn Election port was even more impressive. Had basically all the features of the full Amiga/PC/Mac version, only missing Music/Sound/Animation. With a 2Mhz 6502 (or 1Mhz on the Election) and just 32KB of ram.
[1] https://images.launchbox-app.com/79861ce4-75ea-46dd-b46e-521...
comment 1mo ago · link · parent
IMO, the main reason Sony are discontinuing ps5 disc manufacturing now is so by the time they get around to launching the ps6, the move away from optical discs is old news. They know the move is unpopular and they don’t want the drama associated with the launch of their new console.
I’m less sure about what will happen to bluray movies. But this is not a good sign.
comment 1mo ago · link · parent
Besides, even with the automated start system, the actual spin-up time of the turntables would have been a little chaotic. I suspect they were only aiming to get the four turntables within about 100ms of each other. The decrypted signal itself could then be used for the final fine-tuning of the timings (which also included adjusting for any speed-of-light delays)
If you weren't within 20ms, the operator would only hear noise (like a radio). Once they were within ~20ms, the operator would start hearing silence and would tune the phase until all noise went away.
You don't really need exact synchronisation because like a radio, the operator could just scrub the tuning to find the silence.
The synchronised clocks meant that once the operators had locked on, it would stay locked for a long time.
[1] https://www.nsa.gov/portals/75/documents/about/cryptologic-h...
comment 1mo ago · link · parent
It was in development for a long time at a critical point in history. It seems to have started off as a software-first project (or possibly even software-only), then switched to hardware-first near the end of development. And not every effect was implemented in the hardware renderers.
Half-Life has a lot of grid textures that really need bilinear filtering and mipmapping to look decent, and they look even better with anisotropic filtering.
Many other games that released a little later (like Decent III) actually fully removed their software renderers before release because games needed to be hardware-only if they actually wanted to compete on visual quality.
comment 1mo ago · link · parent
And while hardware image decoders might be dubious, hardware video decoders are very much worth it.
comment 2mo ago · link · parent
Media encoding is actually an FPU workload, and a pretty brutal one at that.
Media encoding might not use much floating point arithmetic, but it does use massive amounts of packed integer SIMD. And all SIMD instructions (both integer and floating) execute on the shared FPU, not the integer unit. It's only scalar integer instructions that execute on the integer unit.
Which leads me to believe that Bulldozer's shared FPU is not a bottleneck at all. Most evidence seems to point to the shared frontend being the primary bottleneck (which is why steamroller puts some effort into duplicating the instruction decoding, for some pretty large IPC wins)
comment 2mo ago · link · parent
Steamroller did see 30% IPC improvements over Bulldozer (all the design work would have been done before they switched to Zen), but AMD canceled the full FX version, and only ever shipped the APU version of Steamroller (with only 2 modules, aka 4 threads).
If they had shipped a Steamroller FX cpu, the generational improvements would have looked similar to many of the generational improvements that Zen received... but didn't really matter as Bulldozer started so far behind.
comment 2mo ago · link · parent
I actually remember media speculating that Sun didn’t want to take the next step and actually file a lawsuit, because they didn’t have enough resources to go up against Google in court.
Then Oracle bought Sun, and suddenly the unproductive negotiations transformed into a lawsuit.
comment 2mo ago · link · parent
While it was difficult to make it follow instructions, GPT-2 was still reasonably good at generating SEO-spam websites, and reasonably easy to make it do so. AI slop was a very obvious usecase for LLMs as capable as GPT-2, and we are talking about an era were everyone was already concerned about the way "fake news" on social media was being used to manipulate people. Perhaps even more concerned than we are today.
But all evidence suggests OpenAI also had strong ulterior motives. They were busy readying the API groundwork for monetising it, and wanted to delay any competition by as much as possible.
comment 2mo ago · link · parent
Otherwise most modern CPUs would be labeled as either 256-bit or 512-bit.
These days we generally label CPUs based on the width of the general purpose registers (though, it gets messy with things like the 68000). I personally suspect we won't ever see GPRs wider than 64 bits.