Messages in this thread | | | From | Jan Knutar <> | Subject | Re: Swap makes X unfair (was Re: Keys get stuck) | Date | Sun, 16 Mar 2008 17:27:01 +0200 |
| |
On Friday 14 March 2008 13:02, Helge Hafting wrote:
> Normally, memory that is used all the time does not get > swapped out. If you use X while the machine is swapping, > you will normally see lots of little delays, not > one longe freeze. So this may have been something else.
When it happens to me, the pointer usually updates only about 1 - 2 times per second, which seems to be enough to cause keyboard repeat problems as well.
If the swapfile usage is 0 when a big swapout takes place, I usually see about 6M/sec pushed to disc and rarely pointer or keyboard anomalies. After running a few more days though, swapping rates drop to 1.3M per sec or worse. The delays in X get bigger too, sometimes several seconds long. I guess if the kernel swaps out a piece of X that X needs, then it takes much much longer to get it back at that low swap rate, and it ends up manifesting itself as pointer jitter and keyboard repeat problems.
The pointer stutter can be considered acceptable, I guess, atleast there the pointer (eventually) jumps to where I expect it to go based on how much I move the mouse...
I have to wonder what X is doing to break the keyboard...
| |