Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2016 18:04:42 +0200
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        Slawa Olhovchenkov <slw@zxy.spb.ru>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r297633 - in head: sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/fs/ext2fs sys/kern sys/sys sys/ufs/ffs sys/ufs/ufs sys/vm usr.bin/rctl
Message-ID:  <20160411160442.GA9392@brick.home>
In-Reply-To: <20160407133250.GA5298@zxy.spb.ru>
References:  <201604070423.u374NP0Z021115@repo.freebsd.org> <20160407133250.GA5298@zxy.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 0407T1632, Slawa Olhovchenkov wrote:
> On Thu, Apr 07, 2016 at 04:23:25AM +0000, Edward Tomasz Napierala wrote:
> 
> > Author: trasz
> > Date: Thu Apr  7 04:23:25 2016
> > New Revision: 297633
> > URL: https://svnweb.freebsd.org/changeset/base/297633
> > 
> > Log:
> >   Add four new RCTL resources - readbps, readiops, writebps and writeiops,
> >   for limiting disk (actually filesystem) IO.
> >   
> >   Note that in some cases these limits are not quite precise. It's ok,
> >   as long as it's within some reasonable bounds.
> >   
> >   Testing - and review of the code, in particular the VFS and VM parts - is
> >   very welcome.
> 
> How you calculate iops for sequential IOs? As distinc IOPS or merged?
> 
> I.e. readin 1 sector from offset 100 and immediately reading 1 sectro
> from offset 101 accounting as 2IOPS or as 1IOPS?

Probably one, due to taking readahead into account.  But it depends
on the filesystem, and is only an best-effort estimation.




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