[Swift-devel] Re: scheduler foo

Ben Clifford benc at hawaga.org.uk
Tue Jul 29 06:26:30 CDT 2008


with dbg3 from the same location applied on top of dbg2, also giving more 
logging, I see some wierdness with one of the  loops in 
LateBindingScheduler.

After the last task completes (or rather the last task that gets launched) 
I see very very tight iterations of the scheduler loop:

2008-07-29 13:17:11,661+0200 DEBUG LateBindingScheduler starting bottom 
loop
2008-07-29 13:17:11,661+0200 DEBUG LateBindingScheduler out of bottom loop
2008-07-29 13:17:11,661+0200 DEBUG LateBindingScheduler starting bottom 
loop
2008-07-29 13:17:11,661+0200 DEBUG LateBindingScheduler out of bottom loop
2008-07-29 13:17:11,661+0200 DEBUG LateBindingScheduler starting bottom 
loop
2008-07-29 13:17:11,661+0200 DEBUG LateBindingScheduler out of bottom loop
2008-07-29 13:17:11,661+0200 DEBUG LateBindingScheduler starting bottom 
loop
2008-07-29 13:17:11,661+0200 DEBUG LateBindingScheduler out of bottom loop
2008-07-29 13:17:11,661+0200 DEBUG LateBindingScheduler starting bottom 
loop
2008-07-29 13:17:11,661+0200 DEBUG LateBindingScheduler out of bottom loop
2008-07-29 13:17:11,661+0200 DEBUG LateBindingScheduler starting bottom 
loop
2008-07-29 13:17:11,661+0200 DEBUG LateBindingScheduler out of bottom loop


for about 2 seconds, and then:

2008-07-29 13:17:13,763+0200 DEBUG LateBindingScheduler starting bottom 
loop

2008-07-29 13:17:13,763+0200 DEBUG LateBindingScheduler In bottom loop

2008-07-29 13:17:14,290+0200 DEBUG OverloadedHostMonitor Polling 0 hosts

2008-07-29 13:17:15,290+0200 DEBUG OverloadedHostMonitor Polling 0 hosts
2008-07-29 13:17:15,763+0200 DEBUG LateBindingScheduler In bottom loop
2008-07-29 13:17:16,291+0200 DEBUG OverloadedHostMonitor Polling 0 hosts


so the bottom loop and the host monitor polling once every second or so as 
expected, but not managing to detect that there are hosts available.

-- 




More information about the Swift-devel mailing list