Help: Tips to increase Glances API performance (Windows 10)

70 views
Skip to first unread message

MKA NET

unread,
Feb 10, 2021, 8:01:28 PM2/10/21
to Glances Users
I'm currently using the below command-line to start Glances for remote API requests:

python.exe glances-script.py -w -0 -q -t 8 --cached-time 8

Unfortunately, performance isn't very good when making too many concurrent REST calls to Glances.  Some requests take several seconds for the server to provide a response (if there's already a pending request).  Other times, it's instant.  I was hoping someone here has some tips to help increase general API multitasking performance.  

Is there a way to increase the number of process threads used by the glances API; or, something similar?

Would it help to use the pre-compiled glances.exe that comes with the module instead of using glances-script.py?  

Any other tips?

I'm running Glances on a 2.4Ghz quad-core CPU Windows 10 PC with 8GB's of RAM.

Thanks in advance for any help you can suggest!

Reply all
Reply to author
Forward
0 new messages