tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Quota definitions

On Wed, Jul 29, 2009 at 04:18:13AM +0000, David Holland wrote:
>  > > Because uids mostly tend to come in contiguous sequences, I'm not
>  > > convinced that in practice one will tend to see quota files with lots
>  > > of blocks that each hold the info for one user and are otherwise
>  > > empty. Except maybe on large installations with lots of uids and lots
>  > > of uid turnover, but even then I expect a much bigger problem is that
>  > > quota records for removed users probably aren't ever G/C'd.
>  > 
>  > Yes, that's another issue. The uid turnover also leads to a sparse uid
>  > map.
> Right. Changing the data structures around won't help much with that
> though.

You'll have a more compact format, so you don't have one disk
block allocated to store quotas for one or 2 entries ...

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference

Home | Main Index | Thread Index | Old Index