lkml.org 
[lkml]   [2004]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Elastic Quota File System (EQFS)
From
Date
On Thu, 2004-06-24 at 19:15, Pavel Machek wrote:

> > A better option in this case is to reduce the default size of Mozilla's
> > cache or expand the size of the quota for each user to deal with the added
> > space requirements.
> >
> > If you are concerned about disk usage from caches, you can always create
> > a script that removes the cache(s) when the user logs out.
>
> That's not the right thing.. that way you loose caching effects around
> logins even when there's plenty of space.
>
> There's quite a lot of data -- at least on my systems -- that can be
> removed with "only" loss of performance...
>
> 1) browser caches
>
> 2) package lists, downloaded packages
>
> 3) object files
>
> heck, if you know you have reliable network connection 4), you could
> even mark stuff like /usr/bin/mozilla elastic, and re-install it from
> the network when it is needed... Doing anything more complex than 1)
> requires extensive changes all around the kernel and userland, and
> you'd probably not call that system unix any more.
>
> I'm not saying that "elastic" feature should go into 2.6 or 2.8 or
> whatever, but it still seems interesting to me.

Couldn't most of this be done in userspace with xattrs and a "elastic
quota" daemon? Mark such files as elastic with an xattr, and when space
is needed for user N, the daemon comes along and deletes the marked
files. You could even make the deamon semi-smart and take things such
as filesize, least recently used files, etc into account.

Or maybe I am missing something... wouldn't be the first time.

josh

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [from the cache]
©2003-2011 Jasper Spaans