Date: Thu, 07 Aug 2014 14:19:42 -0400 From: Mike Tancsa <mike@sentex.net> To: "freebsd-emulation@freebsd.org" <emulation@freebsd.org> Subject: Making disk IO place nicely in a guest (VirtualBox) Message-ID: <53E3C33E.5030004@sentex.net>
next in thread | raw e-mail | index | archive | help
Hi, I am running VirtualBox on RELENG_10 as the hypervisor with a RELENG10 guest. I noticed, that when a do a lot of disk IO in the guest where the hypervisor cannot keep up, this start to go "bad" in the guest. If I use the non default AHCI driver, the OS at least can kind of recover. Using the default IDE drivers (non SATA , things panic quickly.) Is there a way to make the guest OS "slow down" on how fast it can write out things to avoid it going into an error state as below ? swap_pager: indefinite wait buffer: bufobj: 0, blkno: 215, size: 8192 ahcich0: Timeout on slot 14 port 0 ahcich0: is 00000000 cs 00000000 ss 00004000 rs 00004000 tfd 50 serr 00000000 cmd 1000ce17 (ada0:ahcich0:0:0:0): READ_FPDMA_QUEUED. ACB: 60 10 e0 0a 00 40 00 00 00 00 00 00 (ada0:ahcich0:0:0:0): CAM status: Command timeout (ada0:ahcich0:0:0:0): Retrying command swap_pager: indefinite wait buffer: bufobj: 0, blkno: 215, size: 8192 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 215, size: 8192 ahcich0: Timeout on slot 14 port 0 ahcich0: is 00000000 cs 00000000 ss 00004000 rs 00004000 tfd 50 serr 00000000 cmd 1000ce17 (ada0:ahcich0:0:0:0): READ_FPDMA_QUEUED. ACB: 60 10 e0 0a 00 40 00 00 00 00 00 00 (ada0:ahcich0:0:0:0): CAM status: Command timeout (ada0:ahcich0:0:0:0): Retrying command swap_pager: indefinite wait buffer: bufobj: 0, blkno: 215, size: 8192 ahcich0: Timeout on slot 14 port 0 ahcich0: is 00000000 cs 00000000 ss 00004000 rs 00004000 tfd 50 serr 00000000 cmd 1000ce17 (ada0:ahcich0:0:0:0): READ_FPDMA_QUEUED. ACB: 60 10 e0 0a 00 40 00 00 00 00 00 00 (ada0:ahcich0:0:0:0): CAM status: Command timeout (ada0:ahcich0:0:0:0): Retrying command swap_pager: indefinite wait buffer: bufobj: 0, blkno: 215, size: 8192 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 215, size: 8192 ahcich0: Timeout on slot 14 port 0 ahcich0: is 00000000 cs 00000000 ss 00004000 rs 00004000 tfd 50 serr 00000000 cmd 1000ce17 (ada0:ahcich0:0:0:0): READ_FPDMA_QUEUED. ACB: 60 10 e0 0a 00 40 00 00 00 00 00 00 (ada0:ahcich0:0:0:0): CAM status: Command timeout (ada0:ahcich0:0:0:0): Retrying command -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53E3C33E.5030004>