Faster vlan(4) forwarding? – blog post by mpi@

Hrvoje Popovski wrote in to alert us that Martin Pieuchot (mpi@) has written a new blog post entitled Faster vlan(4) forwarding?, which leads in with

Two years ago we observed that vlan(4) performances suffered from the locks added to the queueing API. At that time, the use of SRP was also pointed out as a possible responsible for the regression. Since dlg@ recently reworked if_enqueue() to allow pseudo-drivers to bypass the use of queues, and their associated locks, let's dive into vlan(4) performances again.

Read the whole thing here: Faster vlan(4) forwarding?

openrsync imported into the tree

openrsync, a clean-room implementation of rsync, is being developed by Kristaps Dzonsons as part of the rpki-client(1) project [featured in an earlier article]. openrsync(1) has been imported into the tree (as "rsync") by Sebastian Benoit (benno@):

Module name:	src
Changes by:	2019/02/10 16:18:28

Added files:
	usr.bin/rsync  : Makefile blocks.c child.c client.c 
	                 downloader.c extern.h fargs.c flist.c hash.c 
	                 io.c log.c main.c md4.c md4.h mkpath.c 
	                 receiver.c rsync.1 rsync.5 rsyncd.5 sender.c 
	                 server.c session.c socket.c symlinks.c 

Log message:
Import Kristaps' openrsync into the tree.
OK deraadt@

The "Security" section on the GitHub site contains a description of openrsync's use of OpenBSD's security features.

At the time of writing, rsync is not yet linked to the build.

Support for 2TB of memory added

Mike Larkin (mlarkin@) just committed support for 2TB of physical memory on the amd64 platform:

CVSROOT:        /cvs
Module name:    src
Changes by: 2019/01/20 23:18:37

Modified files:
        sys/arch/amd64/amd64: machdep.c pmap.c 
        sys/arch/amd64/include: pmap.h 

Log message:
Support 2TB phys mem

This change expands the direct map to 4 slots (512GB each), to support
machines with up to 2TB physical memory. Should further expansion be
required, this change provides the means to do that with a single #define

with help from and ok guenther

Those of you with machines with lots of memory are encouraged to try this out and report your dmesg!

New console font Spleen made default

Frederic Cambus (fcambus@) has just changed the default console font to Spleen, a font of his own creation:

CVSROOT:        /cvs
Module name:    src
Changes by: 2019/01/09 04:23:32

Modified files:
        sys/dev/rasops : rasops.c 
        sys/dev/wsfont : wsfont.c 

Log message:
Enable Spleen in wsfont and modify the font selection logic at runtime
in rasops(9) to allow selecting larger fonts when available.

Read more…