@Metaferssance My usage is consistently stable on any number of servers, meaning I use Server 1 with 100 threads. When I run a second server, it distributes the load between the two servers so that the total is 200. Also, I have an automatic problem from BAS, as the maximum running limit I have is 100 threads on one server or more; I will only get 100 threads. Is this because I am using the same key for fingerprints? Do I need a separate key for each 100 threads on two servers, or what?
High cpu usage when using 30+ threads
-
Hello;
I have created a small twitch viewer bot which I have been working on for a few days now.
Everything works pretty good now, except for when using high number of threads it will eat CPU like crazy!Processor Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz, 4001 Mhz, 4 Core(s), 8 Logical Processor(s)
Installed Physical Memory (RAM) 32.0 GBI seen where using http client you can run up to 2k threads very efficiently.
So main question is would loading the twitch video player in HTML which requires FLASH actually work?
And also if it would not work is there anyway to decrease the CPU usage on the original script I made?Thanks,
Alpha. -
@alphacasters With browser it will usage CPU just like if you open 30 different browser on one machine or 30 firefox profile,. That why if just http client can handle up to 2k thread because without interface :)
Try to deny jpg,jpeg etc but HTML5 player or flash still fine.
Hope it will help you,
Regards -
Thank you for the reply!
Now I just have to figure out how to deny the jpegs and such I haven't found it yet :p
EDIT: FOUND IT :)
-
@alphacasters
How to optimize script - http://wiki.bablosoft.com/doku.php?id=how_to_optimize_script