GUI and resources

Started by dreamerman, May 04, 2019, 02:23:28 AM

Previous topic - Next topic
Hi, I wonder how much it cost in terms of hardware resources (CPU, RAM etc) when accessing GUI? Is there a rule of thumb? Cheers
NEXCOM DNA120 aka Sophos SG115 | Intel Atom E3827 Bay Trail Dual Core 1.7GHz | 4GB DDR3 | 64GB SSD

Quote from: dreamerman on May 04, 2019, 02:23:28 AM
Hi, I wonder how much it cost in terms of hardware resources (CPU, RAM etc) when accessing GUI? Is there a rule of thumb? Cheers
I think it depends on the page. Dashboard, live view, traffic graphs, everthing that gets updating data, consumes more cpu, than when you just open a simple configuration page. Once loaded, it consumes nothing until you save or apply it.
Just open console and watch the php-fpm and lighthttp processes in top
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR

Default install with python backend is good for about 500 MB of RAM, but we recommend 1 GB at least to avoid problems with additional services. Can't be much more specific because isolated components don't mean much of GUI can't use the backend service and vice versa.


Cheers,
Franco
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT