OpenWrt Forum Archive

Topic: Realtime Traffic graph reliability?

The content of this topic has been archived on 20 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I have in the same LAN 15x IP cameras + 1x computer which records them all. When I look at the videos recorded, I see many frames are lost so I think my cheap TP-Link TL-WDR4300 can't keep up with the heavy traffic. The records generate a total of ~180MB of video files per minute but when I look at the Realtime Traffic graph for the LAN interface, it averages only at only 1.34 Mbit/s (171.8 kB/s). Note the CPU load is low too (~0.70)

Does it mean the router is keeping up with the heavy LAN traffic after all? Or is this information just unreliable? Or am I missing something?

Thanks for any help!

(Last edited by wazaa on 27 Aug 2017, 22:59)

Traffic has to go into or out of the router CPU to be counted.  You will not see traffic that flows through the hardware switch between the Ethernet ports.

CPU load of 0.7 is pretty heavily loaded.  1.0 is considered fully loaded.

Thank you for your answer. I though 100 was fully loaded... Do you think a more powerful router would help then?

Traffic going around inside LAN goes through the switch within the router (not through CPU), hence why you dont see a lot of load.

I think it can handle much higher number of cameras, more than double what you currently have.

As for lost frames, I'd check cameras themselves or the PC doing the recording, maybe its unable to keep up with all the write requests to disk..

Reduce number of cameras and test, or if you have an ssd try that instead of normal mechanical drive.

Check load on PC, eg try iotop (if recording PC is using linux) ..

finally see if cameras themselves are good, maybe the frames dropped is because of the cameras choppy recording.

Thanks again for your answer. I do use Linux to record the cameras (with ffmpeg). I will try to record on a SSD with a heavy traffic to see if it makes a difference

wazaa wrote:

Thanks again for your answer. I do use Linux to record the cameras (with ffmpeg). I will try to record on a SSD with a heavy traffic to see if it makes a difference

@wazaa: I found your post about mwan3 on multiple usb dongle, do you have it solved. I have similar case, but with 3 dongle. Could u share your mwan3 config for my reference, thanks.

Sorry for posting here, i could not find a way to send pm.

ps: I use LEDE, but the config should be similar.

(Last edited by wira_d on 8 Sep 2017, 02:28)

The discussion might have continued from here.