Follow

Sometimes I wish OpenBSD performance weren't that abysmal.

On OpenBSD:

Starting krita: 70 seconds for first time, 22 seconds the second time

Starting gimp: 19 seconds first, and 9 seconds second time
:flan_ooh:

On Linux with same hardware:

Starting krita: 15 seconds / 4 seconds
Starting gimp: 8 seconds / 4 seconds

Linux is 466% faster starting krita and 240% faster starting gimp for first time, and 550% faster for krita, 225% faster for gimp the second time.

When a program takes 70 seconds to start, I give up on it.

@solene I use pinta for everything I can. Would be interesting to figure out why it is such a massive improvement over the others.

@solene now try again with source based distribution (FreeBSD (ports), gentoo, …) with `-march=native` (`-mcpu=native` on arm)
😉

@solene I'm sure it's the security features, no? Krita takes a moment on my GhostBSD box, is there a command I can run to see how long it takes to launch? I'm curious now. :)

@thedaemon @solene This has been discussed on the 9front podcast in the interview with Ori, the gist of it is:
Linux has had massive amount of work put into it to make it performant. The example given by Ori was a fancy lockless data structure that stores networking settings that very rarely change. Plan 9 doesn't have that and I suspect neither do all the BSDs.

@thedaemon @solene Linux now also has io_uring, which basically lets you do syscalls without context switches, or something.
en.wikipedia.org/wiki/Io_uring

@solene Do you think it's bound by disk io or something else? I wonder if putting /usr/local on fast nfs would make a difference.

@solene :flan_ooh:

Well probably OpenBSD isn't the best OS for artists... :flan_shrug:

Sign in to participate in the conversation
BSD Network

bsd.network is a *BSD-adjacent Mastodon Instance. We have a code of conduct.