4 ms·
A better title: a pathological test program meant for Linux does not trigger pathological behavior on OpenBSD
by sweetjuly 1y ago
A better title: a pathological test program meant for Linux does not trigger pathological behavior on OpenBSD
- apgwoz 1y agoSurely you must be new to tedu posts…
- ameliaquining 1y agoStill worth avoiding having the HN thread be about whether OpenBSD is in general faster than Linux. This is a thing I've seen a bunch of times recently, where someone gives an attention-grabbing headline to a post that's actually about a narrower and more interesting technical topic, but then in the comments everyone ignores the content and argues about the headline.
- st_goliath 1y ago> This is a thing I've seen a bunch of times recently ... > ... in the comments everyone ignores the content and argues about the headline. Surely you must be new to Hacker News…
- ameliaquining 1y agoIt was more that there were a couple of particularly frustrating recent examples that happened to come to my attention. Of course this has always been a problem.
- chasil 1y agoAs I understand it, OpenBSD is similar to Linux 2.2 architecturally in that there is a lock that prevents (most) kernel code from running on more than one (logical) CPU at once. We do hear that some kernel system calls have moved out from behind the lock over time, but anything requiring core kernel functionality must wait until the kernel is released from all other CPUs. The kernel may be faster in this exercise, but is potentially a constrained resource on a highly loaded system. This approach is more secure, however.
- cenamus 1y agoYeah they're making progress in unlocking most syscalls at the moment, but as far as I understand they're still some ways behind FreeBSD
- Gud 1y agoFreeBSD removed their “lock” decades ago.
- chasil 1y agoI believe BSDi, the entity in the AT&T lawsuit in the 90s, did the work.
- chasil 1y ago"The SMPng Project relied heavily on the support of BSDi, who provided reference source code from the fine-grained SMP implementation found in BSD/OS. https://man.freebsd.org/cgi/man.cgi?smp https://man.freebsd.org/cgi/man.cgi?smp
- loeg 1y agoI believe this was FreeBSD 5 (2003), yes.
- its-summertime 1y agoI don't think I'd ever want someone to consider the hacker news audience when writing a post