Skip to contentSkip to conversation

events/0 and xenconsoled wakeups

DISCUSSION Sander Eikelenboom 2 participants 4 messages Mar 25, 2011 – Mar 31, 2011

lore
Share & tools
lore
#1 lore raw
Quoted 6 lines · Sander Eikelenboom

Hi Jeremy,

Is this thing still on your list ?
http://www.gossamer-threads.com/lists/linux/kernel/1281515

Ran powertop today, and events/0 and xenconsoled seem to be still responsible for the majority of wakeups.

Yeah. Unfortunately the underlying bug is a design error in the tty subsystem, which will be hard to fix. However, the one-liner fix can mitigate the problem and reduce the wakeups to 100Hz.

Also, attaching a console to the various hvcs will also fix it.

J

#2 lore raw

Hello Jeremy,

Quoted 6 lines · you
Quoted 5 lines · Sander Eikelenboom

Hi Jeremy,

Is this thing still on your list ?
http://www.gossamer-threads.com/lists/linux/kernel/1281515

Quoted 7 lines
Quoted 1 line

Ran powertop today, and events/0 and xenconsoled seem to be still responsible for the majority of wakeups.

Yeah. Unfortunately the underlying bug is a design error in the tty subsystem, which will be hard to fix. However, the one-liner fix can mitigate the problem and reduce the wakeups to 100Hz.

Also, attaching a console to the various hvcs will also fix it.

Consoles of guests ?
Could you give a example of how to do it ?

Quoted 1 line

J

Signature · 2 lines
Best regards,
 Sander                            mailto:[email protected]
#3 lore raw
Quoted 10 lines · Sander Eikelenboom

Hello Jeremy,

Quoted 6 lines · you
Quoted 5 lines · Sander Eikelenboom

Hi Jeremy,

Is this thing still on your list ?
http://www.gossamer-threads.com/lists/linux/kernel/1281515

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

Ran powertop today, and events/0 and xenconsoled seem to be still responsible for the majority of wakeups.

Yeah. Unfortunately the underlying bug is a design error in the tty subsystem, which will be hard to fix. However, the one-liner fix can mitigate the problem and reduce the wakeups to 100Hz. Also, attaching a console to the various hvcs will also fix it.

Consoles of guests ?
Could you give a example of how to do it ?

Just running "xl console <domid>" will drain the pending console output, and stop all the wakeups. I think you can get xenconsoled to log into a file (or /dev/null) which will also fix it. The wakeups come from having unconsumed console output from the guest sitting in the pty buffer.

J