All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Benchmark Test Shows OpenBSD Outperforms Linux in Socket Creation

By

Bogdanp

9mo ago· 2 min readenNews

Summary

The article discusses a benchmark test comparing the performance of OpenBSD and Linux in handling socket creation. The test, conducted by Jann Horn, reveals that OpenBSD significantly outperforms Linux in this specific task, with Linux being unexpectedly slow. The article includes a snippet of the code used for the benchmark.

Key quotes

· 3 pulled
OpenBSD is so fast, I had to modify the program slightly to measure itself, as the time utility is missing sufficient precision to even record nonzero.
All it does is create one extra thread, then both existing threads create 256 sockets. What’s so hard about that?
Here’s a little benchmark complements of Jann Horn. It’s unexpectedly slow on Linux.
Snippet from the RSS feed
Here’s a little benchmark complements of Jann Horn. It’s unexpectedly slow on Linux.

You might also wanna read