Skip to contentSkip to conversation

2.6.5, 2.6.6-rc2 sluggish interrupts

DISCUSSION Justin Pryzby 2 participants 4 messages May 19, 2004 – May 21, 2004 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): E1BJOXM-0007zu-6H@andromeda

#1 lore raw

The problem persists with 2.6.6 final, but get this: I was recompiling with preempt disabled (which didn't do anything to solve the problem), but during the compile, there were very few music skips / mouse skips. Not sure what that could mean though..
Justin

Quoted 14 lines · Peter Chubb
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

'Justin' == Justin Pryzby <[email protected]> writes:

Justin> --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Justin> Content-Disposition: inline Content-Transfer-Encoding:
Justin> quoted-printable

Justin> It feels to me like it always happens when the disk is Justin> accessed (possibly just because I can _hear_ that), and it Justin> seems like it happens when the disk hasn't been used in a Justin> while.

Try
1. booting with elevator=deadline
2. hdparm -u /dev/hda

#2 lore raw

This also suffices to cease the skipping:

	while true; do false; done;

I also see this, by the way:

	May 19 15:15:51 andromeda kernel: psmouse.c: Mouse at
	isa0060/serio1/input0 lost
	 synchronization, throwing 2 bytes away.
	May 19 15:16:02 andromeda kernel: psmouse.c: Mouse at
	isa0060/serio1/input0 lost
	 synchronization, throwing 1 bytes away.
	May 19 15:16:03 andromeda kernel: psmouse.c: Mouse at
	isa0060/serio1/input0 lost
	 synchronization, throwing 2 bytes away.

But these don't correlate with the skips, which frequently happen even when there's no kernel log entry for the mouse. FWIW, that could be a legitimate hardware problem, though it happens even when I'm using an external mouse (laptop).

Justin

Quoted 4 lines · pryzbyj

The problem persists with 2.6.6 final, but get this: I was recompiling with preempt disabled (which didn't do anything to solve the problem), but during the compile, there were very few music skips / mouse skips. Not sure what that could mean though..

#3 lore raw

Found a solution: disable cpufreq. I also saw these:

	May 16 12:39:48 andromeda kernel: cpufreq: change failed with new_state
	0 and result 3
	May 16 14:59:13 andromeda kernel: cpufreq: change failed with new_state
	0 and result 3
	May 16 14:59:13 andromeda kernel: cpufreq: change failed with new_state
	0 and result 3

Justin

Quoted 24 lines · pryzbyj

This also suffices to cease the skipping:

	while true; do false; done;

I also see this, by the way:

	May 19 15:15:51 andromeda kernel: psmouse.c: Mouse at
	isa0060/serio1/input0 lost
	 synchronization, throwing 2 bytes away.
	May 19 15:16:02 andromeda kernel: psmouse.c: Mouse at
	isa0060/serio1/input0 lost
	 synchronization, throwing 1 bytes away.
	May 19 15:16:03 andromeda kernel: psmouse.c: Mouse at
	isa0060/serio1/input0 lost
	 synchronization, throwing 2 bytes away.

But these don't correlate with the skips, which frequently happen even when there's no kernel log entry for the mouse. FWIW, that could be a legitimate hardware problem, though it happens even when I'm using an external mouse (laptop).

Justin

On Wed, May 19, 2004 at 03:19:00PM -0400, pryzbyj wrote:

#4 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Justin" == Justin Pryzby <[email protected]> writes:

Justin> Found a solution: disable cpufreq.
The alternative may be to use a more stable timesource than the TSC (which varies in rate when cpufreq is enabled)

--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au The technical we do immediately, the political takes *forever*