Better HN
topnewbestaskshowjobs
Log inSign up

floatboth

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

this website sucks
Submissions

comment 7y ago · link · parent

Did they ever make anything faster than the 4-core QorIQ chip that powerpc-notebook.org is using?

Current NXP networking chips are ARM Cortex based, like the LX2160 that's in the upcoming SolidRun workstation (which they still haven't publicly demonstrated ECAM PCIe on, sadly…)

comment 7y ago · link · parent

They were fine anyway, in fact Xenia has been in development for a long time already.

ISA royalties are for chip vendors. QEMU implements like most ISAs out there and I don't think anyone ever had to explicitly acquire any rights for that…

comment 7y ago · link · parent

Yes, in fact if you run FreeBSD on POWER9 currently, it's compiled with ancient gcc 4.x.whatever (the last GPLv2 version) :D (The switch to clang and ELFv2 ABI is going to happen in the coming months)

comment 7y ago · link · parent

Wasn't FastCGI actually running a persistent connection, just like an HTTP connection but with a custom protocol for no good reason?

"Auto-scaled-CGI-as-a-service"

comment 7y ago · link · parent

PaaSes typically run persistent processes like big monolithic apps. "Serverless" is more like auto-scaled CGI-as-a-service.

comment 7y ago · link · parent

Well, except D, D has a @pure annotation :)

comment 7y ago · link · parent

here we go again, every thread, same confused comments…

Coreboot is just an early stage bootloader that does basic bringup and jumps into a payload… like… TianoCore EDK2 :) Comparing Coreboot with something that can be its payload does not make much sense.

EDK2 does have some PEI code but it's not very interesting. The valuable part is the DXE phase and beyond.

comment 7y ago · link · parent

It might be just a gcc fork probably?

I mean, the current compilers from Arm and AMD are literally just clang forks… why would anyone reinvent the wheel when you can just tune clang :)

comment 7y ago · link · parent

The Treble services that reside in /vendor are usually talking to… surprise, custom Qualcomm kernel drivers. I don't think there's been any attempts to just map device memory into these services and make them actual drivers. Actually that could be a step back for freedom, since the kernel drivers' source has to be at least dumped somewhere for GPL compliance.

comment 7y ago · link · parent

Hopefully stage1 will remain indefinitely for bootstrapping, like LDC's ltsmaster.

comment 7y ago · link · parent

Looks like Intel's 10nm is still failing spectacularly, so I can totally see the 7nm Marvell ThunderX3 being EPYC Rome's real competition :P

Ampere has a chance too, if they get big gains from 7nm and/or massively improve their microarchitecture while keeping the current prices, they'll be unbeatable in price/performance.

> I don't think any HyperScaler really want ARM on server per se

There definitely seems to be a concern with the AMD/Intel duopoly, and Amazon clearly just wants absolute control, since they've already deployed in-house chips that mix ARM cores with <s>Bezos Backdoors</s> fancy cloudy networking and verified boot stuff.

comment 7y ago · link · parent

Well, the current implementations are on top of existing APIs, e.g. https://github.com/illuhad/hipSYCL so maybe everyone just keeps using these.

As an aside: why won't everyone migrate to Vulkan compute shaders? I hate these "special" compute stacks >_< Clearly I'm not alone in thinking this: Tencent's ncnn uses Vulkan as the only GPU option, some Googler is working on clspv (OpenCL to Vulkan SPIR-V compiler)..

comment 7y ago · link · parent

That is, Swing has some mediocre Mac and Windows themes. JavaFX comes with only a custom design.

comment 7y ago · link · parent

Haha, that's like an epic combo of things I dislike — x86, legacy BIOS, 32-bit OS on 64-bit CPU, unaccelerated graphics, and X :)

> signed booting

It's not like FreeBSD was an early adopter of that. Some kind of secure boot support things have landed in the last couple months, and veriexec for signed stuff, but very few people have started using this.

> separate ISOs

Or a "fat" ISO that has both 32 and 64 bit versions?

> nVidia proprietary drivers

With these, there's already an issue with which versions of that support which cards..

comment 7y ago · link · parent

It's actually the new XULRunner.

comment 7y ago · link · parent

> FreeBSD solution to this, which is to not overcommit

Where did this myth come from? Did y'all just assume that the vm.overcommit sysctl actually makes sense and zero means "no overcommit"? :)

https://news.ycombinator.com/item?id=20623919

But indeed, OOM killer kills the largest process, which makes more sense in most scenarios than Linux's "badness" scoring.

comment 7y ago · link · parent

> Overcommit is disabled by default

No way. Processes allocating terabytes (GHC Haskell compiled programs, AddressSanitizer, etc) work fine out of the box.

Reading tuning(7):

> Setting bit 0 of the vm.overcommit sysctl causes the virtual memory system to return failure to the process when allocation of memory causes vm.swap_reserved to exceed vm.swap_total. Bit 1 of the sysctl enforces RLIMIT_SWAP limit (see getrlimit(2)). Root is exempt from this limit. Bit 2 allows to count most of the physical memory as allocatable, except wired and free reserved pages (accounted by vm.stats.vm.v_free_target and vm.stats.vm.v_wire_count sysctls, respectively).

Soooo vm.overcommit=0 does not mean "no overcommit" (which would make sense), no, it seems to mean something like "no special flags like disabling overcommit" :D

comment 7y ago · link · parent

Well, a 32-bit Linux binary on 64-bit FreeBSD can call into the GPU driver and render 3D, at least :) But I don't think anything is guaranteed for sure. 32-bit crap is not exactly a priority, haha.

On the other hand, syscalls across architectures of the same bitness are exactly the same, minus the newer architectures just not having some historical abominations like sbrk. (IIRC, syscalls are different between even aarch64 and amd64 on Linux, which is just… why?!?)

comment 7y ago · link · parent

They haven't had own fabs for like a decade.

comment 7y ago · link · parent

How's the local used market? Used Vega has been an incredible deal at least as of like half a year ago..

comment 7y ago · link · parent

But why can't the committer just reformat (and otherwise improve) the patch when accepting? Why make the extra round-trips to the submitter?

comment 7y ago · link · parent

> minimizing minimal core for RISC-V

Again: why should I care about that? As a user, I care about big desktop-class cores, not academic minimal cores that fit on FPGAs. Small decoder is not a benefit for real world usage.

> there will be standard extentions to add it

That is, there will be fragmentation.

comment 7y ago · link · parent

I'm talking about aarch64, I don't care about 32-bit stuff.

comment 7y ago · link · parent

Well, the meaning of "reduced" has shifted from "not having specialized instructions" to "load-store and preferably fixed-length".

Here's a CRC32 impl using POWER8/9 polynomial instructions: https://github.com/antonblanchard/crc32-vpmsum — coincidentally, you don't have to do this on ARM, ARM just has CRC32 instructions.

> hardware-level decimal-floats (for those bankers running COBOL)

IBM being IBM :) I've heard somewhere that they are sharing some internals between POWER and z/Architecture (mainframe) chips. No idea how true it is and how much is shared if true, but a scenario like "decimal floats were implemented because mainframes are using the same backend with a different frontend, so we exposed them in the POWER frontend too" sounds quite plausible.

comment 7y ago · link · parent

Indeed, but that just means RISC-V designers have pursued the "less instructions" goal for its own sake. Having less instructions is not inherently beneficial. It can actually be detrimental: common operations require more instructions.

https://gist.github.com/erincandescent/8a10eeeea1918ee4f9d99...

comment 7y ago · link · parent

Zen 2 has 16MB L3 per CCX, so e.g. 70MB total on the 12-core. Not a hundred, but quite a lot. It's Huge.

comment 7y ago · link · parent

> HBM RAM is a stack of silicon dies laid directly on top of the GPU die

nitpick: actually they're off to the side, connected via the interposer:

https://images.idgesg.net/images/article/2019/02/amd-vega-ra...

comment 7y ago · link · parent

ARM is load-store and fixed-length, which seem to be the defining traits of "RISCiness" these days :)

btw, one of the "best" x86 features is the string instructions:

https://lobste.rs/s/m7ioti/risc_is_fundamentally_unscalable#...

> the destination operand symbol must specify the correct type (size) of the operand (byte, word, or doubleword), but it does not have to specify the correct location

comment 7y ago · link · parent

The immutable ROM that finds firmware and jumps to it is indeed usually proprietary, but since it's tiny and immutable, it's considered "part of hardware" and is okay even for the FSF "Respects your Freedom" certification.

The one mutable/loadable blob the i.MX8 requires is firmware for the DDR4 PHY (not training code you run on the CPU, but something that runs on the PHY apparently??) and they're using an embedded tiny cortex-M4 core to just load it: https://puri.sm/posts/librem5-solving-the-first-fsf-ryf-hurd...

(IMO, that's a silly requirement from the FSF, I think keeping the main CPU free of blobs that it doesn't run i.e. blobs for other things does not have any meaningful benefits)

comment 7y ago · link · parent

"Acorn" not being relevant? :D
1
404142
97