For review: NAND out of space patch.

John Watlington wad at laptop.org
Tue Jul 22 11:53:37 EDT 2008


On Jul 22, 2008, at 12:06 PM, Chris Ball wrote:

> Hi,
>
>> Can you walk me through the exact steps that the user would
>> experience if this script was installed?
>
> They wouldn't see anything different, but Journal entries  
> corresponding
> to files we chose to delete wouldn't resume properly.
>
>> In terms of which files, I think the oldest (or maybe LRU as they
>> say in caches) would be better than the largest. Can we do that
>> (e.g. delete oldest then iterate until x MBs is free)?
>
> I disagree; I don't think we're filling up with small Write or Paint
> documents, my intuition is that we're filling up with recent large
> downloads and movies.  In the case where the problem is a huge  
> download
> the user just made, your scheme results in deleting *everything*.
>
> Since we disagree, maybe best to wait until we have some disk-full
> images back from the field so that we can see what used up all the
> space, before deciding the algorithm.

I'm getting three images right now.

One of the machines booted, but wouldn't allow any activities to launch
(which since you can't log in on vttys kinda locks down the machine).
But I did notice a large number of non-standard activities (e.g. Doom).

wad


>> Deleting large rarely used system files will not solve this
>> problem. The space will just get used up again until there are no
>> more large rarely used files left. It can buy us a week or two but
>> wont solve the problem longer term.
>
> Yup.
>
> Thanks,
>
> - Chris.
> -- 
> Chris Ball   <cjb at laptop.org>
> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel




More information about the Devel mailing list