For review: NAND out of space patch.

Greg Smith gregsmitholpc at gmail.com
Tue Jul 22 11:29:00 EDT 2008


Hi Chris et al,

OK, we're checking how. Hopefully Wad will have some data and I'm trying 
to get two 656 XOs in the office filled up so I can see the failure case.

I still don't understand when and how the script is used. Please give me 
a little more detail.

e.g.
- I sit down in the morning, start my XO (anything happen here?)
- I download some stuff off the internet. I fill my NAND (anything 
happen here?)
- My XO slows to a crawl so I reboot (anything happen here?)
- My XO power light comes on and it starts to come up again (anything 
happen here? what do I see on reboot?)

Thanks,

Greg S


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.
> 
>    > 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.



More information about the Devel mailing list