Date: Mon, 21 Feb 2011 08:50:41 -0700 From: "Kenneth D. Merry" <ken@freebsd.org> To: Joachim Tingvold <joachim@tingvold.com> Cc: freebsd-scsi@freebsd.org, Alexander Motin <mav@freebsd.org> Subject: Re: mps0-troubles Message-ID: <20110221155041.GA37922@nargothrond.kdm.org> In-Reply-To: <318745DD-B5F4-4693-B3F2-22DF8D437349@tingvold.com> References: <BC40CE83-6116-49CD-8D37-5BC29893449D@tingvold.com> <070C12D5-A54F-4A48-A151-EBA16EF32A13@tingvold.com> <20110203221056.GA25389@nargothrond.kdm.org> <FFF5EF18-055C-4E0C-8F9B-03564217F80F@tingvold.com> <20110204180011.GA38067@nargothrond.kdm.org> <DE11FC96-06DB-479F-8673-B9ACE2805390@tingvold.com> <20110208201310.GA97635@nargothrond.kdm.org> <4A14FA28-6C9E-4F22-B7A3-4295ACD77719@tingvold.com> <20110218171619.GB78796@nargothrond.kdm.org> <318745DD-B5F4-4693-B3F2-22DF8D437349@tingvold.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 20, 2011 at 04:10:19 +0100, Joachim Tingvold wrote: > On Fri, Feb 18, 2011, at 18:16:19PM GMT+01:00, Kenneth D. Merry wrote: > >I just committed a fix to -current for the out of chain buffers > >issue. If > >you've got time, pull that fix in and see whether it works for you. > > [jocke@filserver /storage/tmp]$ i=0;while [ $i -le 10 ]; do dd if=/ > dev/zero of=foo bs=1M count=204800; let "i += 1"; done > > I let it run for a while, and checked back later. > > <http://home.komsys.org/~jocke/dmesg_mps0_freebsd-scsi_6.txt> > > hw.mps.0.debug_level: 0 > hw.mps.0.allow_multiple_tm_cmds: 0 > hw.mps.0.io_cmds_active: 0 > hw.mps.0.io_cmds_highwater: 970 > hw.mps.0.chain_free: 1024 > hw.mps.0.chain_free_lowwater: 0 > hw.mps.0.chain_alloc_fail: 786 > > As you can see, I didn't do anything about the 'MPS_CHAIN_FRAMES'- > value after I pulled the latest version. I could change it, but I > guess this only would get rid of the 'out of chain'-messages, and not > really solve the underlying problem. Okay, good. It looks like it is running as designed. I'll probably just double the number of chain buffers and disable the messages. >From previous experiments, the problem is much less likely to occur when you have 2048 chain buffers, correct? What filesystem are you using by the way? Ken -- Kenneth Merry ken@FreeBSD.ORG
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110221155041.GA37922>