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 <[email protected]> wrote: From: Konstantin Belousov <[email protected]> Subject: Re: About QUOTA support in stock kernel (resent) To: "Eitan Adler" <[email protected]> Cc: "Patrick Dung" <[email protected]>, "freebsd hackers" <[email protected]>, [email protected] 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 <[email protected]> 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 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[email protected]"

