Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Dec 2012 15:32:04 +0800 (SGT)
From:      Patrick Dung <patrick_dkt@yahoo.com.hk>
To:        Eitan Adler <lists@eitanadler.com>, Konstantin Belousov <kostikbel@gmail.com>
Cc:        freebsd hackers <freebsd-hackers@freebsd.org>, fs@freebsd.org
Subject:   Re: About QUOTA support in stock kernel (resent)
Message-ID:  <1356507124.60133.YahooMailClassic@web190803.mail.sg3.yahoo.com>
In-Reply-To: <20121225152905.GB82219@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
I am curious if other operating systems have this performance impact.

Could we have some workaround or need some code improvement?
For example:
Do the checking/accounting only if the specific mount point has enabled quota.
etc..

Regards,
Patrick

--- On Tue, 12/25/12, Konstantin Belousov <kostikbel@gmail.com> wrote:

From: Konstantin Belousov <kostikbel@gmail.com>
Subject: Re: About QUOTA support in stock kernel (resent)
To: "Eitan Adler" <lists@eitanadler.com>
Cc: "Patrick Dung" <patrick_dkt@yahoo.com.hk>, "freebsd hackers" <freebsd-hackers@freebsd.org>, fs@freebsd.org
Date: Tuesday, December 25, 2012, 11:29 PM

On Tue, Dec 25, 2012 at 10:23:26AM -0500, Eitan Adler wrote:
> On 25 December 2012 10:07, Konstantin Belousov <kostikbel@gmail.com> wrote:
> > Enabling quota by default would cause small overhead, like one mutex acquire,
> > for each inode and block alloc/dealloc, even for mount without quotas enabled.
> 
> Why is this, and can it be avoided (for mounts without quotas)?
Because system should check whether quota is enabled to do the accounting.

> 
> > Might be, it is reasonable to just enable it now. Unless somebody provide
> > valid objections and I do not forget, I will do it in a week for HEAD.
> 
> 
> 
> -- 
> Eitan Adler



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