public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* Quota performance hit?
@ 2018-01-03  5:02 David Shaw
  2018-01-03  6:43 ` Dave Chinner
  0 siblings, 1 reply; 3+ messages in thread
From: David Shaw @ 2018-01-03  5:02 UTC (permalink / raw)
  To: linux-xfs

Hello,

I wonder if anyone could point me towards any numbers on how much of a performance penalty project quotas incur on a write-heavy filesystem.  The idea being discussed here is putting a project quota on the /var/log directory (so pretty write-heavy) to prevent it from overflowing /var, and thus causing problems for /var/lib, /var/tmp, and other things in /var that need some headroom.  The alternative is to simply use two different filesystems for /var and /var/lib.

Any information or pointers would be welcome.

Thanks,

David


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Quota performance hit?
  2018-01-03  5:02 Quota performance hit? David Shaw
@ 2018-01-03  6:43 ` Dave Chinner
  2018-01-03 13:32   ` David Shaw
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Chinner @ 2018-01-03  6:43 UTC (permalink / raw)
  To: David Shaw; +Cc: linux-xfs

On Wed, Jan 03, 2018 at 12:02:13AM -0500, David Shaw wrote:
> Hello,
> 
> I wonder if anyone could point me towards any numbers on how much
> of a performance penalty project quotas incur on a write-heavy
> filesystem.  The idea being discussed here is putting a project
> quota on the /var/log directory (so pretty write-heavy)

/var/log is definitely a "mostly write" directory, but I wouldn't
ever classify it as "write heavy".

Unless you are trying to perform thousands of concurrent writes
and/or log file creation/removal operations every second to
/var/log, then putting a project quota on that directory is not
going to cause you any sort of noticable problem.

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Quota performance hit?
  2018-01-03  6:43 ` Dave Chinner
@ 2018-01-03 13:32   ` David Shaw
  0 siblings, 0 replies; 3+ messages in thread
From: David Shaw @ 2018-01-03 13:32 UTC (permalink / raw)
  To: Dave Chinner; +Cc: linux-xfs

On Jan 3, 2018, at 1:43 AM, Dave Chinner <david@fromorbit.com> wrote:
> 
> On Wed, Jan 03, 2018 at 12:02:13AM -0500, David Shaw wrote:
>> Hello,
>> 
>> I wonder if anyone could point me towards any numbers on how much
>> of a performance penalty project quotas incur on a write-heavy
>> filesystem.  The idea being discussed here is putting a project
>> quota on the /var/log directory (so pretty write-heavy)
> 
> /var/log is definitely a "mostly write" directory, but I wouldn't
> ever classify it as "write heavy".
> 
> Unless you are trying to perform thousands of concurrent writes
> and/or log file creation/removal operations every second to
> /var/log, then putting a project quota on that directory is not
> going to cause you any sort of noticable problem.

Excellent.  Sounds like I have nothing to worry about.

Thanks,

David


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-03 13:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-03  5:02 Quota performance hit? David Shaw
2018-01-03  6:43 ` Dave Chinner
2018-01-03 13:32   ` David Shaw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox