Enforcer Posted December 18, 2008 Share Posted December 18, 2008 Got problem creating Dedicated Server for one small game, and that game loading cpu usage up to 90%... Need simple script that somehow will limit that usage (to 15-20%), is that real ? Can't find answer on forums... [RU] Zone Link to comment Share on other sites More sharing options...
Developers Jos Posted December 18, 2008 Developers Share Posted December 18, 2008 Set the priority of the process ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Enforcer Posted December 18, 2008 Author Share Posted December 18, 2008 (edited) Yes yes ! Thats right... Need to setpriority of other process Tryed to use ProcessSetPriority("process.exe", 0) but still process takes - 86-90 % Edited December 18, 2008 by Enforcer [RU] Zone Link to comment Share on other sites More sharing options...
FireFox Posted December 18, 2008 Share Posted December 18, 2008 (edited) Hi, This wont help you if process have to keep active Check cpu usage of process with _processlistproperties and then if its too high for you can stop and restart it with _ProcessSuspend & _ProcessResume This functions are availiable in example script forum Edited December 18, 2008 by FireFox Link to comment Share on other sites More sharing options...
Enforcer Posted December 18, 2008 Author Share Posted December 18, 2008 that's bad - thx for answer [RU] Zone Link to comment Share on other sites More sharing options...
FireFox Posted December 18, 2008 Share Posted December 18, 2008 @Enforcer If everybody could stop cpu usage without afect process so that everybody would have little processor Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now