NetBSD-Bugs archive

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

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



The following reply was made to PR port-amd64/57266; it has been noted by GNATS.

From: Bartek Krawczyk <bbartlomiej.mail%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost, port-amd64-maintainer%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, bbartlomiej%gmail.com@localhost
Cc: 
Subject: Re: port-amd64/57266: Poor disk performance on VirtualBox vioscsi0
 and NetBSD 10.0_BETA
Date: Mon, 13 Mar 2023 08:49:13 +0100

 On 12/03/2023 19:10, Bartek Krawczyk wrote:
 > The following reply was made to PR port-amd64/57266; it has been noted by GNATS.
 > 
 > From: Bartek Krawczyk <bbartlomiej.mail%gmail.com@localhost>
 > To: Robert Elz <kre%munnari.OZ.AU@localhost>
 > Cc: gnats-bugs%netbsd.org@localhost, port-amd64-maintainer%netbsd.org@localhost,
 >   netbsd-bugs%netbsd.org@localhost
 > Subject: Re: port-amd64/57266: Poor disk performance on VirtualBox vioscsi0
 >   and NetBSD 10.0_BETA
 > Date: Sun, 12 Mar 2023 19:06:31 +0100
 
 >   I tested with only "log" option added to /, and it takes:
 >   
 >   netbsd# time tar xf pkgsrc.tar.xz
 >         1594.28 real         5.69 user      1528.69 sys
 >   
 >   so 26 minutes.
 >   
 >   PS. the man page for mount says if both log and async are provided,
 >   async is simply disregarded so it shouldn't have impacted my results.
 >   
 >   Is anybody else running a NetBSD 10.0_BETA VM and can confirm my
 >   numbers? Default install, just "log" added on / mount point.
 
 I also created a Rocky 9 VM (RHEL 9) running on the same host (Windows + 
 VirtualBox 7.0) with the same virtio-scsi drivers in the hypervisor. 
 Default installation:
 
 [bartek@localhost ~]$ uname -a
 Linux localhost.localdomain 5.14.0-162.18.1.el9_1.x86_64 #1 SMP 
 PREEMPT_DYNAMIC Wed Mar 1 22:02:24 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
 
 [bartek@localhost ~]$ time tar xf pkgsrc.tar.xz
 
 real    0m54.657s
 user    0m12.333s
 sys     0m34.845s
 
 Also even downloading (virtio net driver) is much faster: 7MB/s vs 
 0,5MB/s on NetBSD but that is aprobably again constrained by slow disk I/O.
 
 Another VM on the same host using Windows WSL2 - Debian VM: 10s to 
 unpack pkgsrc.tar.zx
 
 -- 
 Regards
 Bartek Krawczyk
 


Home | Main Index | Thread Index | Old Index