DelphinusDNS Blog

(the latest about delphinusdnsd)
  


Delphinusdnsd on OpenBSD 7.1-beta possibly faster

February 25th, 2022

Starting in OpenBSD 7.1, the OpenBSD team has rolled select into a wrapper of kqueue. This will unlock the kernel from a select big lock and make in the end the result may make it faster to run delphinusdnsd on OpenBSD.

Here is a comparison of two top(1) outputs:
OpenBSD 7.0:

  PID USERNAME PRI NICE  SIZE   RES STATE     WAIT      TIME    CPU COMMAND
47844 _ddd       2    0   29M   32M sleep     select    0:00  0.00% delphinusdn

OpenBSD 7.1:
  PID USERNAME PRI NICE  SIZE   RES STATE     WAIT      TIME    CPU COMMAND
78016 _ddd       2    0   59M   62M sleep/0   kqread    0:09  0.00% delphinusdn
Notice the change in the WAIT state from select to kqread.

I have always developed delphinusdnsd on OpenBSD as the primary OS. Ports to Linux, NetBSD and FreeBSD exist (in no particular order). But testing for these other OS's does not occur until a bit of time before a release.

I have seen no fallout to the OpenBSD select->kqueue change, good work!


Search

RSS Feed

Click here for RSS

On this day in

Other links

Have feedback?

By clicking on the header of an article you will be served a cookie. If you do not agree to this do not click on the header. Thanks!

Using a text-based webbrowser?

... such as lynx? Welcome back it's working again for the time being.

Older Blog Entries


Powered by BCHS