IIRC, you have complained about bugginess with ACPI before, is that the same machine?
Yes, this is the machine (Toshiba Satellite M60-139) of which I reported in
http://forum.tinycorelinux.net/index.php?topic=8981.0BTW: The machine works perfectly. I use it every day for several hours with Firefox, Thunderbird, LibreOffice, freemind, gimp2, remmina, geany, vlc, FoxitReader ... - and all at the same time ... The only problem I have is: "shutdown" (Note: often needed from remote).
IMHO, if acpi on or off under certain circumstances could make the difference between a kernel panic or not, I would not boot with acpi at all.
hmm, this is a Catch-22 situation:
1.) I can not shutdown the machine without ACPI
2.) If I enable ACPI, I can not shutdown the machine if I used ramzswap during work
And thus the conclusion is:
a.) with functionality in mind: "disable ramzswap"
b.) with performance in mind: "disable ACPI"
Exception would be after a BIOS update as gerald_clark suggested, or when changing kernel to a different version.
There is no BIOS update for this machine.
Actually, ramzswap is often useful even if one has real swap. If the ramzswap doesn't get full (and so the swapping continues to the next device) the responsiveness is hugely better than with disk-based swap only.
That's how I understood it. I found a comparison "Comparing swap I/O latencies for hard-disk and ramzswap. " in the compcache Wiki with this results:
Comparing average R/W times:
disk ramzswap
read 168 ms 12 us
write 355 ms 7 us
These are factors between 14.000 and 50.000!
BTW: I also found a similar issue in the Bug Tracker of the compache site: "Swapoff ramzswap0 hard freezes system if utilized"
http://code.google.com/p/compcache/issues/detail?id=41&can=1... unfortunately without a solution ...
But the fact ACPI affects things makes me wonder where the blame really is.
Me too.
But back to my general questions about ramzswap : "When does ramzswap make sense and how much RAM I use for it?"
Are the following thoughts right?
1.)
RAM is much faster than
ramzswap is much faster than
swap paatition is much faster than
file swaping.
2.) Optimal scenarios are:
a.) No or seldom need for swap --> disable ramzswap because it occupies valuable RAM.
b.) If swap is needed --> allocate as little as possible ramzswap so that as much as possible valuable RAM is available. The typical usage of ramzswap should lie at XX%.
In any case: To prevent system crashes, you should have additional partition- or file swap (fallback).