[Click] Task and Notifier - problems with nsclick

Nele Gheysens nele.gheysens at intec.ugent.be
Thu Aug 30 04:27:28 EDT 2007


Hi,

during a nsclick simulation I encoutered a problem which I cannot solve. 
Every first packet that is send had a delay of one minute. It seemed as 
if it was held back in a queue for a minute. As I looked further into 
this problem I narrowed it to a problem with Task::fast_unschedule. It 
seems as if it takes too long for the task to unschedule. Using 
timestamps I monitored the time use in the queue:

send_packet                --   0 sec 600 msec                          
        (this is when I send an Initialize message - the first pakcet sent)
FullNoteQueue::push   --   0 sec 600 msec                  
                (this is when this packet enters the queue)
Task::fast_unschedule  --   60 sec 0 msec
Task::call_hook           --   60 sec 0 msec
FullNoteQueue::pull    --   60 sec 0 msec                      
               (here the packet is pulled out of the queue)


After this, the other packets don't have delays.

If anyone could give me a hint on how to solve this problem, I would be 
most grateful.

Greetings,

Nele


-- 
Nele Gheysens
Ghent University - IBCN
Department of Information Technology
Gaston Crommenlaan 8 bus 201
9050 Gent, Belgium
E-mail: nele.gheysens at intec.UGent.be
Tel. +32 9 33 14981
secr.: +32 (0) 9 33 14900
fax :   +32 (0) 9 33 14899
WWW: http://www.ibcn.intec.UGent.be


More information about the click mailing list