CPU usage. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: CPU usage. (
/showthread.php?tid=190750)
CPU usage. -
SeQualX - 16.11.2010
Hello, i would love to know if having too many objects in a script could cause massive CPU usage.
im using incognito's streamer.
Thanks!
Re: CPU usage. -
The_Moddler - 16.11.2010
Mhh.. i don't think so, maybe only graphical lag for the player.
Re: CPU usage. -
SeQualX - 16.11.2010
Hmm i wanna know too what else could cause high usage of CPU so i will try to make it lower.
thanks if someone could help!
Re: CPU usage. -
Cameltoe - 16.11.2010
Quote:
Originally Posted by SeQualX
Hmm i wanna know too what else could cause high usage of CPU so i will try to make it lower.
thanks if someone could help!
|
Reading / Writing files frequently uses much cpu,
Re: CPU usage. -
Grim_ - 16.11.2010
There are many things that could make CPU Usage run up, so we cannot give you a real straight answer.
- Are you hosting the server on your own server computer?
- Do you have any extra programs running? Make sure to FULLY close MSN/Itunes/Limewire/etc
- Make sure your script is clean is scripted with performance in mind
Like I said, not much we can help you with.
Re: CPU usage. -
DVDK - 16.11.2010
Quote:
Originally Posted by SeQualX
Hmm i wanna know too what else could cause high usage of CPU so i will try to make it lower.
thanks if someone could help!
|
Could be everything, really everything;
- Timers
- Loops
- Read/write files
- encoding/decoding
- OnPlayerUpdate
Etc..