lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200803161727.02059.jk-lkml@sci.fi>
Date:	Sun, 16 Mar 2008 17:27:01 +0200
From:	Jan Knutar <jk-lkml@....fi>
To:	linux-kernel@...r.kernel.org
Cc:	Helge Hafting <helgehaf@...l.aitel.hist.no>,
	Helge Hafting <helge.hafting@...el.hist.no>,
	Mike Galbraith <efault@....de>,
	Hans-Peter Jansen <hpj@...la.net>,
	Jiri Kosina <jkosina@...e.cz>,
	David Newall <davidn@...idnewall.com>,
	Theodore Tso <tytso@....edu>, "Fred ." <eldmannen@...il.com>
Subject: Re: Swap makes X unfair (was Re: Keys get stuck)

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...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ