[jitsi-dev] Harvesting timers


#1

Hey Chenzo,

Love the new harvesting timing function you've added. I do however see this:

Total harvesting time: : 11 ms

This part doesn't look right :). What does it correspond to exactly and
how can it be shorter than it took the slowest harvester to complete?

Harvesting time HostCandidateHarvester: : 7 ms
Harvesting time JingleNodesHarvester: : 2 ms
Harvesting time StunCandidateHarvester: : 4 ms
Harvesting time UPNPHarvester: : 1502 ms

Emil


#2

Hello Emil,

Hey Chenzo,

Love the new harvesting timing function you've added.

Thank you for the kind words.

I do however see this:

Total harvesting time: : 11 ms

This part doesn't look right :). What does it correspond to exactly and
how can it be shorter than it took the slowest harvester to complete?

Harvesting time HostCandidateHarvester: : 7 ms
Harvesting time JingleNodesHarvester: : 2 ms
Harvesting time StunCandidateHarvester: : 4 ms
Harvesting time UPNPHarvester: : 1502 ms

Yes it looks "curved" :slight_smile:
Let's describe the problem with an audio call example:

1) When creating a call, it first harvests the RTP component :

Total harvesting time: : 1618 ms
Harvesting time HostCandidateHarvester: : 16 ms
Harvesting time JingleNodesHarvester: : 4 ms
Harvesting time StunCandidateHarvester: : 10 ms
Harvesting time UPNPHarvester: : 1502 ms

Here The UPnP harvester has reached a timeout and will be disabled.

2) Then, it harvests the RTCP component :

Total harvesting time: : 11 ms
Harvesting time HostCandidateHarvester: : 7 ms
Harvesting time JingleNodesHarvester: : 2 ms
Harvesting time StunCandidateHarvester: : 4 ms

Finally the call info, displays you the harvesting time of the second harvest + the "first" UPnP harvesting time.

To correct this behavior, the harvesting time of a disabled harvester is removed (Ice4j r342 / Jitsi r9950).

Cheers,
Vincent

ยทยทยท

On 10/04/2012 07:24 PM, Emil Ivov wrote:

Emil

--
Vincent Lucas, Ph.D. Jitsi developer
chenzo@jitsi.org http://jitsi.org