gotthardp / lorawan-server

Compact server for private LoRaWAN networks
https://gotthardp.github.io/lorawan-server
MIT License
956 stars 329 forks source link

Question : what is the bandwidth requirement / latency bewteen lora packet forware and lorawan server #576

Closed pdl86 closed 5 years ago

pdl86 commented 5 years ago

We have set-up a pilot with a lora packet forwarder conencted via a low bandwidth / high latency link : 115 kbps / 80 Msec average .

We observe a significant number of event showing "ack lost" event, almos every 20 seconds., with arg = 100 ( most of the time) or 50.

But in parallel, we do not see any packet losses one the link. (continuous ping at 1second interval during the same)

So we are wondering what are the "requirements" of a link between a packet forwarder and a lorawan server ?

othewise, what is the impact of these "ack lost" ? what is the meaning of the "args" ( we suspect the % of ack lost) ?

thanks in advance best regards Philippe

pdl86 commented 5 years ago

Hello

after few days, it appears that thes ack_losty are extremely frequent, but does not seems to harm the device data collection ( no message lost over 5 days) .

but the warning messages "pollute" the event log windows and make it extremely slow ( on a multitech conduit).

Is there a way to avoid to log such message ( warning) ?

thanks

philippe

gotthardp commented 5 years ago

The ack_lost is reported by the gateway. In the packet_forwarder config there is a push_timeout_ms set by default to 100ms. Try increasing this value https://github.com/Lora-net/packet_forwarder/blob/master/lora_pkt_fwd/global_conf.json#L221

pdl86 commented 5 years ago

So I have increase the value to 500 Msec ( we have a low bandwidth / high latency link to /from this gateway) and things are back to normal : no more ack lost.

thanks . Issue closed.