5,763 karma · joined Oct 27, 2011 (15y ago) · 2,893 submissions
comment 6y ago · link · parent
But of course it's still a bit weird. For example, XHCI (due to being attached through a bad PCIe host controller) can only DMA to the lower 3GB of memory. In FreeBSD, we've never had to implement DMA limits for ACPI devices, because no real system had this kind of limitation before, and now I've had to write this: https://reviews.freebsd.org/D25219
comment 6y ago · link · parent
Sounds very cursed. I mean, I'm not a hardware vendor, I should not care, but licensing for something that's just another form of SCSI over USB sounds ridiculous.
comment 6y ago · link · parent
"most office people, students, and so on" pretty much always do browse lots of modern websites, at the same time as running an office suite, audio player, and more stuff.
The A72 is really the "minimum viable CPU core" for desktop usage. Anything with less single-core performance is absolute hell and suffering.
comment 6y ago · link · parent
Wow, holy shit, TIL.. I was always assuming that USB drives were always SCSI — they show up as 'da' (Direct Attach) on FreeBSD after all.
Looking at umass driver source:
* The driver handles 3 Wire Protocols
* - Command/Bulk/Interrupt (CBI)
* - Command/Bulk/Interrupt with Command Completion Interrupt (CBI with CCI)
* - Mass Storage Bulk-Only (BBB) (BBB refers Bulk/Bulk/Bulk for Command/Data/Status phases)
* Over these wire protocols it handles the following command protocols
* - SCSI
* - UFI (floppy command set)
* - 8070i (ATAPI)
* UFI and 8070i (ATAPI) are transformed versions of the SCSI command set.
Huh, they are pretty much always SCSI, and "bulk only" is (unsurprisingly) only a USB transport level thing that doesn't change the command set.
I guess "UASP" is some sort of marketing term for Command/Bulk/Interrupt then..?
comment 6y ago · link · parent
Fun fact, System76 now runs slightly modified EDK2 (as a Coreboot payload) with a custom setup UI written in Rust: https://github.com/system76/firmware-setup
comment 6y ago · link · parent
SolidRun HoneyComb LX2K has a bigger full size slot and an M.2 slot. I don't think bifurcation works but you do have two slots, you could run a GPU and a NIC or HBA at the same time, using an M.2 to PCIe-slot adapter. And/or use extension boards with PLX switches if you need more cards?
comment 6y ago · link · parent
Also, the heterogeneous 2xA72+4xA53 CPU setup is ehh.. :/ What's really cool about the RPi4 is that there's four A72 cores. And now 8GB RAM. And https://rpi4-uefi.dev.
comment 6y ago · link · parent
Mmm, love shopping in "Emerging countries", gotta get a ticket to there :D
Kinda reminds me of the "hot singles near Anonymous Proxy" banners.
comment 6y ago · link · parent
Most libraries and applications use stuff like mutexes, btw :) it's not like people who don't care about memory models try to make lockfree things often.
comment 6y ago · link · parent
Here's a good example. Firefox does even cross-language LTO for stuff that matters — all the DOM/CSS/etc components that are tightly bound together. But it happily allows you to dynamically link to a system libjpeg, and you won't lose any performance because the libxul<->libjpeg boundary is crossed.. about a couple times per downloaded jpeg. Heck, what would you even inline between the jpeg decoder and the browser? Absolutely nothing!
The world at large is already using static linking where it matters.. e.g. with C++, header-only libraries and anything that uses templates results in a lot of static linking. Even if you link to libboost_something.so, you probably already have most of that something inlined into your code because templates :)
comment 6y ago · link · parent
It's all about the toolkits, and some great work is happening in GTK, e.g.:
https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/1562 https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/1117