Vasco Figueira wrote:
>I've opened x, gnome, mozilla, mozilla -mail, 3 gnome-terminals, pan,
>xmms, some files and javac. Swap was totally filled up and it didn't
>froze (good!). However suddently it came very busy (i thougth it was
>going to freeze again), the music stopped, and came back to normal
>again. It had killed xmms, I noticed after.
>Is it intentional to kill processes? Well, it does reolve the problem,
>but kills some processes, probably the most eager ones. I will keep
>using this patch and report again if something relevant is found.
>So far, so good, this is better tha having to swapoff & swapon all the
>time. Nice work Marcelo.
Continuing the saga of testing this patch, some more things:
* Swap gets *really* filled up. I don't remember having swap totally
filled with 2.2. and this has 20M more (doesn't have to do with this
patch, I think)
* kernel appears to try to free pages only when they are desperatly
needed, i.e., when swap is full and a big process is needing mem. As an
example, i was calm editing some text files (swap was full), and called
javac. System went down to his knees, music stopped, mouse had repent
stops and javac outputed:"Killed". I assume it was killed :-)
javac was called again and then ran more smootly. Perhaps because his
pages were already there, no?
It may be better to try to free pages before we get into heavy load. If
not, we get a pseudo-freeze and a killed process. Wich is not... wonderful.
Comments?
-- Regards, Vasco Figueirahttp://students.fct.unl.pt/users/vaf12086/
- 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/