Skip to contentSkip to conversation

recurring boot time scalability issues affecting time management

DISCUSSION Jan Beulich 2 participants 4 messages May 11, 2010

lore
Share & tools
lore
#0 lore raw

The patch titled "VT-d: prevent watchdog timer from kicking in when initializing on systems with huge amounts of memory" submitted yesterday, other than expected, fully fixed another late boot hang (when Dom0 was almost fully up), i.e. apparently unrelated to issues that may exist before Dom0 even gets started. There were no indications of time problems in any of the logs, yet there must have been such given that the boot hung without that change, but didn't with it in place.

I wonder whether the time handling code in Xen itself shouldn't/can't therefore be made more robust, or at least reliably detect this sort of issue (from past analysis of similar problems, the platform timer is rolling over due to there not being frequent enough invocations of plt_overflow()) to make analysis of the problem easier.

Jan

#1 lore raw
Quoted 5 lines · Jan Beulich

I wonder whether the time handling code in Xen itself shouldn't/can't therefore be made more robust, or at least reliably detect this sort of issue (from past analysis of similar problems, the platform timer is rolling over due to there not being frequent enough invocations of plt_overflow()) to make analysis of the problem easier.

Something like the attached?

-- Keir

Quoted 7 lines

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw
Quoted 10 lines
Quoted 1 line
Quoted 1 line

Keir Fraser <[email protected]> 11.05.10 09:57 >>>

Quoted 5 lines · Jan Beulich

I wonder whether the time handling code in Xen itself shouldn't/can't therefore be made more robust, or at least reliably detect this sort of issue (from past analysis of similar problems, the platform timer is rolling over due to there not being frequent enough invocations of plt_overflow()) to make analysis of the problem easier.

Something like the attached?

Yes, except that you probably mean __builtin_llabs() rather than __builtin_abs().

Thanks! Jan

#3 lore raw
Quoted 9 lines · Jan Beulich
Quoted 9 lines
Quoted 1 line
Quoted 1 line

Keir Fraser <[email protected]> 11.05.10 09:57 >>>

Quoted 5 lines · Jan Beulich

I wonder whether the time handling code in Xen itself shouldn't/can't therefore be made more robust, or at least reliably detect this sort of issue (from past analysis of similar problems, the platform timer is rolling over due to there not being frequent enough invocations of plt_overflow()) to make analysis of the problem easier.

Quoted 4 lines
Quoted 1 line

Something like the attached?

Yes, except that you probably mean __builtin_llabs() rather than __builtin_abs().

xen-unstable:21346

-- Keir