tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/59165: vio9p(4): expose tag through sysctl or device properties



At Tue, 25 Nov 2025 17:39:19 -0800, "Greg A. Woods" <woods%planix.ca@localhost> wrote:
Subject: Re: kern/59165: vio9p(4): expose tag through sysctl or device properties
>
> I see the code is there in sys/dev/pci/vio9p.c, but it doesn't seem to
> work for me:

Ooops!  It does work.  The wrong kernel was booted.  The right one was
installed, but not booted.  I should have seen that in the uname output,
but somehow it didn't click.

> $ uname -a
> NetBSD nbt2.local 10.99.12 NetBSD 10.99.12 (GENERIC) #1: Tue Apr  8 14:29:37 PDT 2025  woods@very.local:/Users/woods/build/woods/very.local/trunk-x86_64-amd64-obj/Volumes/work/woods/g-NetBSD-src/sys/arch/amd64/compile/GENERIC amd64

An even newer kernel is now confirmed as booted:

$ uname -a
NetBSD nbt2.local 11.99.4 NetBSD 11.99.4 (GENERIC) #1: Thu Nov 27 10:58:12 PST 2025  woods@very.local:/Users/woods/build/woods/very.local/trunk-x86_64-amd64-obj/Volumes/work/woods/g-NetBSD-src/sys/arch/amd64/compile/GENERIC amd64

$ /sbin/sysctl  hw.vio9p
hw.vio9p.vio9p0.tag = share


Sorry for the false report!


In other news though the vio9p device(s) doesn't show up as a disk, and
so its I/O stats don't get reported by systat:

 $ /sbin/sysctl  hw.disknames
hw.disknames = ld0 dk0 dk1 dk2 dk3 dk4 dk5

Is that (partly) because they are character devices?

During a sysinst upgrade with sets on the vio9p device I noted that the
read speed seemed to be around 12MB/s, which couldn't even keep the root
filesystem and disk an more than about 30% busy.

--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>

Attachment: pgpJ9JJ8skePT.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index