5,763 karma · joined Oct 27, 2011 (15y ago) · 2,893 submissions
comment 7y ago · link · parent
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
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
comment 7y ago · link · parent
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
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
> 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
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
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
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
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
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
https://gist.github.com/erincandescent/8a10eeeea1918ee4f9d99...
comment 7y ago · link · parent
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
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 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)