Better HN
topnewbestaskshowjobs
Log inSign up

floatboth

5,763 karma · joined Oct 27, 2011 (15y ago) · 2,893 submissions

this website sucks
Submissions

comment 5y ago · link · parent

They offer the Mac as a Complete Product™, An Experience™ (with the OS) – basically since the original 80s Macintosh. Apple is a vertically integrated gadget business. They just aren't in the bare metal hardware business and have no reason to be there (probably doing that would only confuse the product customers).

Because of all this, when they decided to transition the Mac to custom chips, they just took the whole iDevice stack and did the absolute bare minimum changes to make it into a "technically a general purpose computer" stack. It runs basically iPhone firmware expanded to allow OS choice. They made zero effort to use any industry standards, because there was no business reason to put any effort into that, unfortunately. So we have this very unusual SoC (fucking custom interrupt controller! Even Broadcom stopped doing that crap!) running very unusual firmware (iBoot, everything is Mach-O and stuff, and the OS choice screen is actually a little macOS app). But hey it's not locked down because the Mac line is supposed to be general purpose computers, so go ahead and port Linux but you're on your own.

comment 5y ago · link · parent

Pretty much all the things except the GPU are working in Corellium's quick'n'dirty "demo" Linux port. And you see how amazingly quickly the GPU driver is coming along… So not that long of a time after all (I'm surprised too).

comment 5y ago · link · parent

Why would a datacenter want a (weird, tiny, embedded) M1 when they can get an 80-core, 8-channel, 128-lane Ampere Altra – which is actually designed to be standards compliant and even has an open source firmware option?

(Even a future "large" Apple SoC is unlikely to be datacenter large…)

comment 5y ago · link · parent

> apparently allows you faster development

If linking has such a huge impact on Chromium dev cycles, maybe they should make their codebase less of a bloated hog :)

Linking all of Firefox into one libxul.so with LLD takes basically no time (on a good machine) for a release build. Slightly noticeable with all the debug info but still pretty quick.

comment 5y ago · link · parent

You can get better granularity – build with -ffunction-sections, link with --gc-sections.

LTO is really a much bigger deal, the main reason to use it is not throwing unused stuff away, but inlining across all the things.

comment 5y ago · link · parent

DLLs are the same kind of file as ELF shared objects. Thing is that in Linux/BSD world they are indeed also commonly shared system-wide, on a package management level.

Bundling shared libraries is kinda the worst of both worlds: not getting any sharing between application (/system wide security patches) but not getting the performance benefits of static linking either. The only good thing is that you could manually replace e.g. a vulnerable version of a library inside this bundle.

And yeah… Flatpak/AppImage/snap distribution is kinda like that Windows-style one.

comment 5y ago · link · parent

> register-starved CPU, which is all of them

Really? None of the 64 bit ISAs seem particularly starved, especially not aarch64.

comment 5y ago · link · parent

> help the GPU scheduler assign tasks to specialized blocks

Source? I can't find anything for '"cublas" scheduler'…

comment 5y ago · link · parent

It's really disappointing that the GPGPU space isn't adopting Vulkan all that fast. These "compute specific" things such as OpenCL/CUDA/ROCm should not be necessary and should die. Just use Vulkan for fuck's sake.

comment 5y ago · link · parent

How expensive is it in Germany? Russian retailers also had a decent supply, but the 5950X cost ~$1050 in the winter, ~$990 now. Which is a little bit more than the usual regional premium but honestly not too bad. GPU prices are much much worse. Over $1200 for a 6700XT – yes the one with a seven. 2.5 times the US MSRP :/

comment 5y ago · link · parent

Not right now, but the upcoming Intel thing will combine Atom cores and Core cores (lol) like that.

AMD is the one left without an "efficiency core"… but I wouldn't be that surprised if they somehow manage to squeeze almost the same efficiency out of just low power modes on the same Zen core, which would leave them with better multi-core performance as usual.

comment 5y ago · link · parent

Packet used to offer bare metal Ampere eMAGs (and old Cavium ThunderX's)… current Equinix Metal website doesn't seem to list any arm instances though :/

Apparently Oracle Cloud is going to offer both VMs and bare metal on Ampere Altras.

comment 5y ago · link · parent

Microsoft went with Qualcomm, but indeed it's not-that-high performance. (Even the "new" 8cx gen2, also rebranded as Microsoft SQ2, is still basically an 855… The situation will improve somewhat with an 888 based chip.)

comment 5y ago · link · parent

When people use the words "Apple" and "monopoly" it's more often about the iOS walled garden: because there's no (good) sideloading, Apple has a monopoly over app distribution on their mobile devices.

comment 5y ago · link · parent

At the same time, the software world hates hardware fragmentation, so ISA extensions are the opposite of desired.

RISC-V likely will dominate in microcontrollers and specialized/embedded devices. But in general purpose computers? Highly doubt it. Arm has a giant first mover advantage there now. Great momentum, excellent ecosystem. AWS Graviton2 basically sealed the deal.

comment 5y ago · link · parent

Laptop Zen 3 is already equal in multicore perf to the M1 for the same wattage IIRC. While being on 7nm still. Don't underestimate AMD.

comment 5y ago · link · parent

Well, that – yeah. But it doesn't strictly have anything to do with the actual CPU model specific tuning that the news was about, only in that setting a specific CPU in -march (-mtune would not do it!) would imply the features. Typically though you'd just do -march=armv8-a+the+desired+features for that like the first post you linked does.

Really the important piece for making distribution binaries not suck is ifuncs/multiversioning. But library and app authors currently are required to deliberately use them. Which is fine for manual optimizations that use intrinsics or assembly (and e.g. standard library atomics) but I'm not sure any compiler currently would automatically just do that for autovectorization.

comment 5y ago · link · parent

AArch64 is load-store + fixed-instruction-length, which is basically what "RISC" has come to mean in the modern day. X86 in 2001 was already… not that :)

comment 5y ago · link · parent

These tunings will only be used if you compile stuff yourself with -march=native (or specifying one particular model). Most software out there would be compiled with generic non-tuned optimizations. The tuning is rarely a huge deal though.

comment 5y ago · link · parent

CPU power on $5 offerings from others is likely not as great. Also AWS did a free tier for everyone, and the spot market is fun…

comment 5y ago · link · parent

Ampere kinda was an acquisition of Applied Micro, but its internal X-Gene uarch was dropped into the trash very quickly in favor of Arm Neoverse…

comment 5y ago · link · parent

Is that stock, PBO or manual OC? It's quite wattage limited at stock, you might go significantly under 20s with PBO :D

comment 5y ago · link · parent

No way the M1 supports "dual socket" configurations. Absolutely no way a configuration like that would "combine" the GPUs and display outputs. I'd bet money on Apple releasing a larger monolithic "M1X" or whatever for the large MBPs.

comment 5y ago · link · parent

It's not on die arghhhh why does this misinformation keep happening. It's on package. It's two separate LPDDR4X chips. Latency is not dramatically better. Other current LPDDR4X laptops run the same clock speeds off package. Maybe Apple has more aggressive timings than them, but the difference would be tiny.

comment 5y ago · link · parent

That would be a very AMD thing to do. Apple is likely to pump endless amounts of cash into TSMC to make huge monolithic chips so that there's no cross-core latency issues and that they can still say they have a single "chip" in marketing materials.

comment 5y ago · link · parent

Maybe buying a 5950X at the birth of DDR5, PCIeGen5 and TSMC's 5nm wasn't the wisest choice. Ehhhh seems like all that new stuff would still take lots of time to actually get ready, and the 5950X is the best CPU now.

comment 5y ago · link · parent

No one even makes 16Gb on one chip. Samsung and Micron currently max out at 12Gb and I would imagine there's much less supply of these than of 4 and 8.

comment 5y ago · link · parent

CompCert is a verified compiler – as in the compiler itself won't silently miscompile your code. It has nothing to do with verifying your C code. For that, other tools can be used (e.g. Frama-C Wp).

One verified TLS implementation is miTLS, written in F*.

comment 5y ago · link · parent

Most likely 14-16 laptops (and iMac Pro if they decide to do that again) will have a larger chip (say "M1X") that supports more memory. The M1 only supports two LPDDR4X chips (physically on the package there's only space for two).

comment 5y ago · link · parent

The way they did memory on the M1, they can only use two LPDDR4X chips. DRAM is on package, so they can only physically fit two on their package and presumably they do not have pins that would go off package for more memory channels at all.

Micron and Samsung make 12 Gb LPDDR4X chips, but Apple probably decided that having a 24 Gb option wouldn't be worth it, or would be an ugly number, or couldn't get enough supply, or all of that.

The M1 is for "consumer" tier devices anyway. Wait for M1X or Mwhatever – when they port the larger MBPs to their own silicon, that will have larger memory.

1
171819
97