NetBSD-Bugs archive

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

port-amd64/57266: Poor disk performance on VirtualBox vioscsi0 and NetBSD 10.0_BETA



>Number:         57266
>Category:       port-amd64
>Synopsis:       Poor disk performance on VirtualBox vioscsi0 and NetBSD 10.0_BETA
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 11 22:30:00 +0000 2023
>Originator:     Bartek Krawczyk
>Release:        10.0_BETA
>Organization:
>Environment:
NetBSD netbsd.sol 10.0_BETA NetBSD 10.0_BETA (GENERIC) #0: Tue Mar  7 19:57:47 UTC 2023  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
During the installation on VirtualBox 7.0 and using virtio-scsi in it (identified as vioscsi0 in NetBSD) the disk performance is abysmal. During installation downloading, extracting packages took ages. Unpacking pkgsrc in the installer took more than 30 minutes.

After installation and during compiling of devel/git, I get a lot of 

[  4197.011371] sd0(vioscsi0:0:0:0): adapter resource shortage
[  5134.201736] vioscsi0: autoconfiguration error: error reserving 35 (nsegs 18)
[  5134.212605] sd0(vioscsi0:0:0:0): adapter resource shortage
[  5135.277596] vioscsi0: autoconfiguration error: error reserving 35 (nsegs 18)
[  5135.277596] sd0(vioscsi0:0:0:0): adapter resource shortage
[  5136.340777] vioscsi0: autoconfiguration error: error reserving 35 (nsegs 18)
[  5136.362106] sd0(vioscsi0:0:0:0): adapter resource shortage
[  5137.406205] vioscsi0: autoconfiguration error: error reserving 35 (nsegs 18)
[  5137.406205] sd0(vioscsi0:0:0:0): adapter resource shortage

in the logs. This seems to resemble kern/52199 symptoms but supposedly that was already fixed?
>How-To-Repeat:
1. Try to install NetBSD 10.0_BETA in VirtualBox 7.0
2. Use virtio-scsi driver that gets recognized as vioscsi0 in NetBSD
3. Try to write to disk, for instance unpack pkgsrc distribution
>Fix:



Home | Main Index | Thread Index | Old Index