busybox/networking
Denys Vlasenko d3fe960271 ntpd: be less eager to use shorter poll intervals
* on step, poll interval drops to 8.5 mins instead of 32 seconds
* on total loss of all replies (no replies from any peer
  for last 8 requests), also drop poll interval to 8.5 mins
  instead of 32 seconds
* on send abd recv errors, RETRY_INTERVAL is now 32 seconds,
  not 5 seconds
* on timing out listening to reply, instead of unconditional
  shortening poll interval by x4, clamp it to NOREPLY_INTERVAL
  (512 seconds)
* if a largish offset is seen, clamp nexp poll interval
  to 128 seconds, not 64 seconds

function                                             old     new   delta
clamp_pollexp_and_set_MAXSTRAT                         -      37     +37
recv_and_process_peer_pkt                            861     869      +8
poll_interval                                         52      48      -4
update_local_clock                                   762     752     -10
ntpd_main                                           1063    1050     -13
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/3 up/down: 45/-27)             Total: 18 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2014-09-27 22:56:09 +02:00
..
2013-01-14 15:57:44 +01:00
2011-07-08 05:47:49 +02:00
2012-03-19 12:22:57 +01:00
2013-01-14 01:34:48 +01:00
2014-02-10 09:51:03 +01:00
2011-12-06 18:59:55 +01:00
2014-01-09 20:09:43 +01:00
2014-03-05 18:58:15 +01:00
2014-08-27 16:01:25 +02:00
2011-07-25 16:35:44 +02:00
2013-05-12 02:13:24 +02:00