Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jun 2014 23:17:18 +0200
From:      Willem Jan Withagen <wjw@digiware.nl>
To:        John Baldwin <jhb@FreeBSD.org>, src-committers@freebsd.org,  svn-src-all@freebsd.org, svn-src-stable@freebsd.org,  svn-src-stable-10@freebsd.org
Subject:   Re: svn commit: r267071 - stable/10/usr.sbin/bhyve
Message-ID:  <538F8CDE.3010302@digiware.nl>
In-Reply-To: <201406041808.s54I88qm034126@svn.freebsd.org>
References:  <201406041808.s54I88qm034126@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4-6-2014 20:08, John Baldwin wrote:
> Author: jhb
> Date: Wed Jun  4 18:08:08 2014
> New Revision: 267071
> URL: http://svnweb.freebsd.org/changeset/base/267071
> 
> Log:
>   MFC 260999:
>   Increase the block-layer backend maximum number of requests to match
>   the AHCI command queue depth.
> 
> Modified:
>   stable/10/usr.sbin/bhyve/block_if.c
> Directory Properties:
>   stable/10/   (props changed)
> 
> Modified: stable/10/usr.sbin/bhyve/block_if.c
> ==============================================================================
> --- stable/10/usr.sbin/bhyve/block_if.c	Wed Jun  4 17:57:48 2014	(r267070)
> +++ stable/10/usr.sbin/bhyve/block_if.c	Wed Jun  4 18:08:08 2014	(r267071)
> @@ -50,7 +50,7 @@ __FBSDID("$FreeBSD$");
>  
>  #define BLOCKIF_SIG	0xb109b109
>  
> -#define BLOCKIF_MAXREQ	16
> +#define BLOCKIF_MAXREQ	32
>  
>  enum blockop {
>  	BOP_READ,

I once asked Peter about this, because of the trouble I had when running
the bhyve_svm branch.

This is not perse a good enhancement....
I've had a combination of HEAD and bhyve where running Linux and AMD
would regularly generate timeouts for FPDMA for slots > 16....

After building the most recent bhyve_svm with patch set to get to a more
recent almost-head-snapshot I ran some test, and did not run into these
timeouts.
So can very well be that fixes in HEAD got ride off the timeout. But
then again I would say: thread with caution.

--WjW





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?538F8CDE.3010302>