Slow GUI with many alias/IP
-
I use for instance pfBlocker to build up a few country-list (one country and one region), along with up to maybe 200 aliases/rules.
When I run with my configuration without these aliases/country-list, each page load takes just a second or so. But once loaded, every page view takes maybe 5-10 seconds. It is so annoying and it has been like this both in 2.6 and 2.7. While I have very light load, we are talking 300 Mbit/s at maximum (with no IPS). CPU is crazy oversized, same with memory.
Why does it have to be like this? It is almost like something is going on for each single pageview.
As soon as a restore a backup with all rules and alias, it immediately slows down. Even when having no network connection, this is just as noticable if not even worse probably because it tries to connect outside and get timeouts.Is there any dynamic operation being called on all/most pages and if so, why - or any option to turn it off?
-
@fireix the page loads the alias contents as a tooltip for each rule so lots of rules with large lists take a long time to generate and download especially on a slower CPU.
Sometimes one can work around this for instance by not putting the Source on multiple NAT rules but manually creating one firewall rule to control the access instead of multiple auto rules.
-
@SteveITS Is Intel(R) Atom(TM) CPU C2758 @ 2.40GHz 8 CPUs considered slow for this purpose? I know it is many years old now, but during normal work it is at just a few percentages of load. It is so fast before I load it up
-
@fireix You could run "top" and see what the CPU usage is. 10 seconds is not that long compared to say a 2100 or 3100 loading a couple dozen entries with, say, all US IPs as an alias.