News for hackers. Stuff that matters.
Re:DragonFlyBSD's HAMMER2 File-System Being Ported to NetBSD by alberth on Saturday January 14, 2023 @08:35PM (#34385909)
I’ve always felt BSDs are way underrated, and Dragonfly being underrated the most.

Dragonfly has some really innovative features:

- H2

- virtual kernels

- how it achieves SMP with no locking

- and much more

Re:DragonFlyBSD's HAMMER2 File-System Being Ported to NetBSD by viraptor on Saturday January 14, 2023 @09:14PM (#34386116)
That's the kernel memory allocator in SMP being lockless, right? (https://www.dragonflybsd.org/features/) You still can't get around locks for many shared resources, especially hardware ones.
Re:DragonFlyBSD's HAMMER2 File-System Being Ported to NetBSD by jpfr on Sunday January 15, 2023 @12:56AM (#34387091)
Linus Torvalds says that the RCU mechanism in the kernel making filesystem access lockless is one of the greatest achievements in Linux.
Re:DragonFlyBSD's HAMMER2 File-System Being Ported to NetBSD by black7375 on Sunday January 15, 2023 @05:40AM (#34388421)
wow LWKT and HAMMER2 look good.
Re:DragonFlyBSD's HAMMER2 File-System Being Ported to NetBSD by xvilka on Saturday January 14, 2023 @10:54PM (#34386583)
Too bad it's only x86(64)-compatible. Even port to ARMv8 (Raspberry Pi especially) could help to increase the interest to this OS.
Re:DragonFlyBSD's HAMMER2 File-System Being Ported to NetBSD by snvzz on Sunday January 15, 2023 @11:26AM (#34390571)
Today, I'd instead look at 64bit RISC-V, as that's where computing seems to be going.
Re:DragonFlyBSD's HAMMER2 File-System Being Ported to NetBSD by nix23 on Tuesday January 17, 2023 @08:27AM (#34412103)
Really? Please show me a production server based on RISC-V, dont get me wrong i would love that, but reality being reality ARM is something atm..and not RISC-V...nor POWER...hmhmmm..
Re:DragonFlyBSD's HAMMER2 File-System Being Ported to NetBSD by snvzz on Tuesday January 17, 2023 @08:32AM (#34412155)
The first ones (e.g. based on Ventana's Veyron) are due H2 this year.

ARM has some cursory presence in the datacenter today, but I wouldn't bet on ARM being more predominant than RISC-V there by 2025.

If anything, migration of servers to ARM has halted because decision makers can read the writing on the wall.

Re:DragonFlyBSD's HAMMER2 File-System Being Ported to NetBSD by nix23 on Wednesday January 18, 2023 @05:05AM (#34425098)
>If anything, migration of servers to ARM has halted because decision makers can read the writing on the wall.

I see the opposite here...

>but I wouldn't bet on ARM being more predominant than RISC-V there by 2025.

Sure Apple and all Smartphones will change to RISC-V, look i would love to believe that, it's just not the reality. But if you talk about microcontroller'ish stuff, then you are probably right that risv will be more dominant in 2025.

Re:DragonFlyBSD's HAMMER2 File-System Being Ported to NetBSD by yjftsjthsd-h on Sunday January 15, 2023 @12:49AM (#34387063)
> virtual kernels

I'm pretty sure that's equivalent to netbsd's rump kernels and Linux's UML (user mode Linux), no? Certainly a good feature, and something I were saw wider use, but hardly unique.

Re:DragonFlyBSD's HAMMER2 File-System Being Ported to NetBSD by potatoalienof13 on Sunday January 15, 2023 @07:31AM (#34388928)
The NetBSD rumpkernel allows for running individual drivers in userspace, while UML and vkernel are both geared towards running full kernels. UML and vkernel both look pretty similar to me though.
Re:DragonFlyBSD's HAMMER2 File-System Being Ported to NetBSD by yjftsjthsd-h on Sunday January 15, 2023 @12:05PM (#34390935)
That's true, but that just means that rump kernels took the microkernel approach and make you do it piecemeal; I still think it counts as a different side of the same coin.