Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A better title: a pathological test program meant for Linux does not trigger pathological behavior on OpenBSD


Surely you must be new to tedu posts…


Still 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.


As 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.


Yeah they're making progress in unlocking most syscalls at the moment, but as far as I understand they're still some ways behind FreeBSD


FreeBSD removed their “lock” decades ago.


I believe BSDi, the entity in the AT&T lawsuit in the 90s, did the work.


"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


I believe this was FreeBSD 5 (2003), yes.


> 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…


It 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.


I don't think I'd ever want someone to consider the hacker news audience when writing a post


A company I used to work at would write posts, put it on hacker news, post the HN link in slack and ask everyone with an account to upvote it


I'm guessing the HN backend detects "voting rings" like that who often vote together.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: