Replies: 4 comments 1 reply
-
|
No, there is no such guide, because it depends entirely on your usage patterns - whether you are hitting the REST API repeatedly, whether you have hundreds of users using the web UI, and so on. You'll need to monitor the resource usage within your VM, and adjust as appropriate to match your usage pattern. You may be able to improve response time with your existing VM by increasing the number of gunicorn threads, and/or doing some postgres tuning. You didn't say what version of Netbox you're using. If the issue is around the speed of response to global search queries, then migrating to Netbox 3.4 may help (there's a new global search framework). If the issue is with the speed of displaying results tables, then try to limit your users to 25 or 50 results per page. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, thank you for the feedback. I just uprade to 3.4.3 just before the discussion. I don't know anything about gunicorn config, I looked in the doc, and at this moment I have 5 workers (2* 2 cpu +1) which seems ok with the doc. I think I'll will wait for the VM spec upgrade an see (and change the gunicorn config to 2*4+1=9 workers). |
Beta Was this translation helpful? Give feedback.
-
|
Is this set in the /opt/netbox/gunicorn.py or in the /opt/netbox/contrib/gunicorn.py file? My VM has 8 cores per socket (8 cores / 1 socket). I have set the following values : I then restarted the computer. I did not notice any difference at first. Question: Thanks for any tips. |
Beta Was this translation helpful? Give feedback.
-
What differences were you looking for? If you use then you should see the threads. As for RAM usage: Linux automatically uses whatever RAM is available for use as a disk cache, which will speed up repeated I/O to the same blocks. For tuning of Postgres, I suggest that's out of scope for this list; you'd be better off looking at dedicated Postgres resources. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I tried to find the hardware spec for the VM on which is installed Netbox.
There is no such thing on the documentation. I try to search on discussion or ticket with no luck.
At this point, we are using Netbox quite heavily (5k IP, 9K cables, 5k devices) with only 2 CPU and 4GB of ram. Which is quite impressive. But it starts to slow down a bit.
Does anyone already made a benchmark or have guideline to know what is the recommended spec at different level of usage?
Best regards !
Beta Was this translation helpful? Give feedback.
All reactions