1

Topic: high cpu usage

I have 2 CS servers and 11 Teewars servers on my machine, there is 16+16 CS players and on TW is 4~12 players in all servers. CS servers "eats" only 1-2% of cpu, and every TW server 3~10. Why so much?

Of cource newest version on debian.

2

Re: high cpu usage

Teeworlds is still alpha software and almost no optimizations CPU wise has been done. If you compiled the game yourself, make sure that you built a release version of the server with compile optimizations turned on.

3

Re: high cpu usage

The client always uses 99% - 100% of my cpu  :-/

Antoine de Saint Exupéry: It seems that perfection is reached not when there is nothing left to add, but when there is nothing left to take away.
Besides -  I am the gfx guy!

4

Re: high cpu usage

Landil wrote:

The client always uses 99% - 100% of my cpu  :-/

As intended. Games always sucks up all available cpu power. Often in teeworlds case however the process is stalled waiting on the gpu.

5 (edited by theqkash 2008-04-16 13:24:11)

Re: high cpu usage

I have just downloaded binary version and it sucks, server usage high

6

Re: high cpu usage

theqkash wrote:

I have just downloaded binary version and it sucks, server usage high

Seriously what do you expect from a game where the developer's work for free, and where the game still is in alpha?

If you think the server binary sucks, please go ahead and fix it yourself. The code is open source and I'm sure that the developers would be more then happy to implement your optimizations.

I think that it would be a waste of development time to optimize the server at this point. Theres not really a lack of servers running and the code is probably going to change so much during the development that the optimizing would be wasted. And there are other things that are more important to fix / implement.

7

Re: high cpu usage

Yeah, I know. But I have only informed about this problem. I will still host my servers, but there will be really better if it will eat less than 20% of cpu's.

8

Re: high cpu usage

100% use of the client?? i have intel core2 quad.. 4x2,4 ghz.. and teeworlds works great... about 500 fps (checked with fraps) .. the only thing is that teeworlds uses the first 2 cores moore than the others.. and when i open a server on my own machine (not root server) the server uses also the first core.. and teeworls runs not like before.. sad (only 40 fps) .. when i change the cpu use of the client to core 3 and 4 .. it crashes -.- .. this is really bad because some other programms like fraps or icq .. use also the first cores ... and the same problem is happening....

Remember me? Questions? Just leave a message, I will respond within 72 hrs!