[Nfd-dev] nfd-status currentTime only updates every 5 seconds

Alex Afanasyev alexander.afanasyev at ucla.edu
Sun Aug 24 20:42:41 PDT 2014


Btw. Do we have / can we have a system like cacti (http://www.cacti.net/) set up to collect historical volumes of traffic per link?

---
Alex

On Aug 24, 2014, at 8:31 PM, John DeHart <jdd at seas.wustl.edu> wrote:

> 
> Alex,
> 
> OK. I see how that makes sense.
> We'll take a look at generating the time in our daemon that collects the status
> and see if that will suffice. I think it probably will.
> 
> Thanks,
> John
> 
> On 8/24/14, 10:04 PM, Alex Afanasyev wrote:
>> This part is intentional and was put in order to restrict load on NFD to get stats data: data freshness is set to 5 seconds and requests will not reach NFD until freshness expires.  If it is necessary, we can reconsider this or reduce freshness period.
>> 
>> The same is not put to Face, FIB, RIB, datasets as they are volatile by nature.
>> 
>> ---
>> Alex
>> 
>> On Aug 24, 2014, at 7:59 PM, John DeHart <jdd at seas.wustl.edu> wrote:
>> 
>>> We are using the ouput from nfd-status-http-server to calculate the link bandwidths
>>> for http://ndnmap.arl.wustl.edu/.
>>> nfd-status-http-server uses nfd-status to collect its data. We just noticed that
>>> The 'currentTime' field reported by nfd-status only  updates about every 5 seconds.
>>> It looks like the data associated with each face updates immediately, but the
>>> currentTime reported does not.
>>> 
>>> Is there a reason for this or is it a bug?
>>> 
>>> I'll include below the output from a script looking at one face and currentTime
>>> while doing an ndnping across that face so the data associated with the
>>> face will be changing every second. I also print the 'date'.
>>> 
>>> John
>>> 
>>> 
>>> Sun Aug 24 21:52:13 CDT 2014
>>>           currentTime=20140825T025213.076000
>>>  faceid=6445 remote=udp4://128.196.203.36:6363 local=udp4://128.252.153.194:6363 counters={in={2288096i 13876d 262018602B} out={241133i 20263d 33700396B}}
>>> Sun Aug 24 21:52:14 CDT 2014
>>>           currentTime=20140825T025213.076000
>>>  faceid=6445 remote=udp4://128.196.203.36:6363 local=udp4://128.252.153.194:6363 counters={in={2288106i 13877d 262020108B} out={241134i 20263d 33700447B}}
>>> Sun Aug 24 21:52:15 CDT 2014
>>>           currentTime=20140825T025213.076000
>>>  faceid=6445 remote=udp4://128.196.203.36:6363 local=udp4://128.252.153.194:6363 counters={in={2288117i 13878d 262021771B} out={241135i 20263d 33700498B}}
>>> Sun Aug 24 21:52:16 CDT 2014
>>>           currentTime=20140825T025213.076000
>>>  faceid=6445 remote=udp4://128.196.203.36:6363 local=udp4://128.252.153.194:6363 counters={in={2288131i 13879d 262023779B} out={241137i 20263d 33700646B}}
>>> Sun Aug 24 21:52:17 CDT 2014
>>>           currentTime=20140825T025213.076000
>>>  faceid=6445 remote=udp4://128.196.203.36:6363 local=udp4://128.252.153.194:6363 counters={in={2288140i 13880d 262025234B} out={241139i 20263d 33700748B}}
>>> Sun Aug 24 21:52:18 CDT 2014
>>>           currentTime=20140825T025218.372000
>>>  faceid=6445 remote=udp4://128.196.203.36:6363 local=udp4://128.252.153.194:6363 counters={in={2288149i 13881d 262026651B} out={241140i 20263d 33700799B}}
>>> Sun Aug 24 21:52:19 CDT 2014
>>>           currentTime=20140825T025218.372000
>>>  faceid=6445 remote=udp4://128.196.203.36:6363 local=udp4://128.252.153.194:6363 counters={in={2288155i 13882d 262027738B} out={241141i 20263d 33700850B}}
>>> Sun Aug 24 21:52:20 CDT 2014
>>>           currentTime=20140825T025218.372000
>>>  faceid=6445 remote=udp4://128.196.203.36:6363 local=udp4://128.252.153.194:6363 counters={in={2288166i 13883d 262029383B} out={241143i 20263d 33700998B}}
>>> Sun Aug 24 21:52:21 CDT 2014
>>>           currentTime=20140825T025218.372000
>>>  faceid=6445 remote=udp4://128.196.203.36:6363 local=udp4://128.252.153.194:6363 counters={in={2288179i 13884d 262031259B} out={241144i 20263d 33701049B}}
>>> Sun Aug 24 21:52:22 CDT 2014
>>>           currentTime=20140825T025218.372000
>>>  faceid=6445 remote=udp4://128.196.203.36:6363 local=udp4://128.252.153.194:6363 counters={in={2288191i 13885d 262033034B} out={241145i 20263d 33701100B}}
>>> Sun Aug 24 21:52:23 CDT 2014
>>>           currentTime=20140825T025223.664000
>>>  faceid=6445 remote=udp4://128.196.203.36:6363 local=udp4://128.252.153.194:6363 counters={in={2288200i 13886d 262034478B} out={241146i 20263d 33701151B}}
>>> Sun Aug 24 21:52:24 CDT 2014
>>>           currentTime=20140825T025223.664000
>>>  faceid=6445 remote=udp4://128.196.203.36:6363 local=udp4://128.252.153.194:6363 counters={in={2288212i 13887d 262036219B} out={241147i 20263d 33701202B}}
>>> Sun Aug 24 21:52:25 CDT 2014
>>>           currentTime=20140825T025223.664000
>>>  faceid=6445 remote=udp4://128.196.203.36:6363 local=udp4://128.252.153.194:6363 counters={in={2288227i 13888d 262038326B} out={241149i 20263d 33701350B}}
>>> Sun Aug 24 21:52:26 CDT 2014
>>>           currentTime=20140825T025223.664000
>>>  faceid=6445 remote=udp4://128.196.203.36:6363 local=udp4://128.252.153.194:6363 counters={in={2288234i 13889d 262039551B} out={241152i 20263d 33701503B}}
>>> Sun Aug 24 21:52:27 CDT 2014
>>>           currentTime=20140825T025223.664000
>>>  faceid=6445 remote=udp4://128.196.203.36:6363 local=udp4://128.252.153.194:6363 counters={in={2288244i 13891d 262041490B} out={241153i 20263d 33701554B}}
>>> Sun Aug 24 21:52:28 CDT 2014
>>>           currentTime=20140825T025228.966000
>>>  faceid=6445 remote=udp4://128.196.203.36:6363 local=udp4://128.252.153.194:6363 counters={in={2288249i 13892d 262042479B} out={241154i 20263d 33701605B}}
>>> 
>>> _______________________________________________
>>> Nfd-dev mailing list
>>> Nfd-dev at lists.cs.ucla.edu
>>> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
> 





More information about the Nfd-dev mailing list