What's new

Logging maxes out CPU under heavy network load

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

BSOD2600

Regular Contributor
RT-AC87U 384.9

Recently I enabled the firewall log (allow/deny), along with dnsmasq ( log-queries=extra ), which are all being sent externally via syslog. Also have Diversion + pixelserv-tls enabled.

Only during peak internet usage (aka bittorrent on a workstation) does the CPU go to 100% from the excessive logging. This dramatically affects the download speeds and nearly brings the Internet to a stop for the house for all users.

No QoS enabled.
UPnP disabled.
WiFi radios disabled (have external AP - Ubiquity)
NAT : Enabled (CTF only)
Diversion has 1 GB swap.
All workstations connected via 1 GB Ethernet.

Installed dstat (yay entware) to better track the performance issues during an incident. Attached are two pics. first is steady state and then firing up BT. second pic is turning off BT and then router taking while to slowly get back to normal.

Is there anything which can be done to increase the logging performance? Or am I needing to get a new (and now more SOHO / USG) dedicated router?
 

Attachments

  • AC87U - dstat - start.png
    AC87U - dstat - start.png
    89.5 KB · Views: 384
  • AC87U - dstat - end.png
    AC87U - dstat - end.png
    57.8 KB · Views: 373
Unless you can use a lighter or more efficient logging package, it seems you need more CPU power.

The least expensive router with the most CPU power (1.8GHz dual-core) today is the RT-AC86U.

The AX routers may also be useful in your circumstances if the extra RAM they offer will help with the Gbps ISP and logging requirements (the top model has 1GB RAM and a quad-core 1.8GHz CPU).
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top