lkml.org 
[lkml]   [2008]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Swap makes X unfair (was Re: Keys get stuck)
Date
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...


\
 
 \ /
  Last update: 2008-03-16 16:31    [W:1.769 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site