Posts: 108
Threads: 11
Joined: Apr 2005
Reputation:
4
Well, I finally did it... I've broken the 1000fps barrier. However, as you can see, the CPU consumption is horrible and the FPS are unstable (which means I am probably doing it the wrong way). I am hoping that more people, with some programming background, will join #sourcekernel and help out.
I plan on making all my source code available to the public (for free... yes I am serious), however, I would like to make it stable before doing so. So please join the chan and help out (because as you can see, I really need it).
Cheers,
DiSTANT
Code:
CPU In Out Uptime Users FPS Players
94.00 0.00 0.00 0 1 1883.24 0
stats
CPU In Out Uptime Users FPS Players
94.00 0.00 0.00 0 1 1908.40 0
stats
CPU In Out Uptime Users FPS Players
93.50 0.00 0.00 0 1 1949.32 0
stats
CPU In Out Uptime Users FPS Players
93.50 0.00 0.00 0 1 1851.85 0
stats
CPU In Out Uptime Users FPS Players
93.50 0.00 0.00 0 1 1828.15 0
stats
CPU In Out Uptime Users FPS Players
94.00 0.00 0.00 0 1 1283.70 0
stats
CPU In Out Uptime Users FPS Players
94.00 0.00 0.00 0 1 1953.13 0
stats
CPU In Out Uptime Users FPS Players
94.25 0.00 0.00 0 1 1893.94 0
stats
CPU In Out Uptime Users FPS Players
94.25 0.00 0.00 0 1 1934.24 0
stats
CPU In Out Uptime Users FPS Players
94.25 0.00 0.00 0 1 1923.08 0
stats
Posts: 125
Threads: 6
Joined: Dec 2008
Reputation:
1
Wow nice. What OS are you using? Although I have no programing skills be glad to sit in the channel and chat with you.
*Windows lack of output*
You: Hey, I want to run this program!
Windows: Ok.. It crashed... Now what? Give up?
You:...wtf...
*linux output helpful?*
You: ./My_program
Linux:...Failed!...oo kitties!
You:...wtf...
Posts: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
17
maybe you could post the source code right now (with a big warning that it is not stable yet), so we could help you making it stable?
Posts: 108
Threads: 11
Joined: Apr 2005
Reputation:
4
I am using CentOS-4 with a custom kernel build. I will be glad to post source code, but I am not going to do it on the forums just yet. I don't want to get roasted for bad programming habits, plus I want people to join the channel and help out. I don't mind giving to people willing to help.
BehaartesEtwas Wrote:maybe you could post the source code right now (with a big warning that it is not stable yet), so we could help you making it stable?
Posts: 108
Threads: 11
Joined: Apr 2005
Reputation:
4
02-24-2009, 04:58 AM
(This post was last modified: 02-24-2009, 08:19 AM by DiSTANT.)
Well, I finally got CPU usage down to normal and a fairly stable ~2000fps
Posts: 147
Threads: 15
Joined: Nov 2008
Reputation:
0
Wow, awesome work mate. Im not at home atm, but as soon as i get back i will take a look. I certainly can help you beta-test this. Ive got a VDS in the US that i am no longer using and being canceled at the end of the march. If you want, you can do whatever you like with it until then. If you want of course.
I won't be home till Thursday but if your interested, i'll get back to you.
Posts: 108
Threads: 11
Joined: Apr 2005
Reputation:
4
skyride Wrote:Wow, awesome work mate. Im not at home atm, but as soon as i get back i will take a look. I certainly can help you beta-test this. Ive got a VDS in the US that i am no longer using and being canceled at the end of the march. If you want, you can do whatever you like with it until then. If you want of course.
I won't be home till Thursday but if your interested, i'll get back to you.
Thanks for the positive encouragement. I have two of my own dedicated servers I can play around with, so I won't need your VDS.
Just so everyone knows, I plan on making this an open source library available to all of you. I am just cleaning it up a bit and doing some field testing. I'll probably need some of you to help me field test it, so if you are interested join #sourcekernel and pm me.
Cheers!
Posts: 125
Threads: 6
Joined: Dec 2008
Reputation:
1
Congrats I'm def open to testing this I have a ubuntu box and cent 5.2 I would like to try it on.
*Windows lack of output*
You: Hey, I want to run this program!
Windows: Ok.. It crashed... Now what? Give up?
You:...wtf...
*linux output helpful?*
You: ./My_program
Linux:...Failed!...oo kitties!
You:...wtf...
Posts: 108
Threads: 11
Joined: Apr 2005
Reputation:
4
It looks like I can boost it even further without upping cpu usage too much.
Code:
CPU In Out Uptime Users FPS Players
11.00 0.00 0.00 6 0 15151.52 0
Posts: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
17
this looks impressive (and I know this is not easy to do - I have done this myself once ;-)).
but: I am pretty sure this will not improve the game play. 1000fps means, all intrinsic latencies in the server are 1ms. that also means you cannot improve the latencies by more then 1ms once stable 1000fps are reached... meaning, the difference between 500 and 1000 fps is the same as between 1000 and infinite fps (which is of course impossible to achieve).
Posts: 125
Threads: 6
Joined: Dec 2008
Reputation:
1
Yes, but Its always fun to push the envelope eh? Good job on the 15,000fps was it as stable as 2,000? also how much CPU utilization did you have between the two?
*Windows lack of output*
You: Hey, I want to run this program!
Windows: Ok.. It crashed... Now what? Give up?
You:...wtf...
*linux output helpful?*
You: ./My_program
Linux:...Failed!...oo kitties!
You:...wtf...
Posts: 108
Threads: 11
Joined: Apr 2005
Reputation:
4
BehaartesEtwas Wrote:this looks impressive (and I know this is not easy to do - I have done this myself once ;-)).
but: I am pretty sure this will not improve the game play. 1000fps means, all intrinsic latencies in the server are 1ms. that also means you cannot improve the latencies by more then 1ms once stable 1000fps are reached... meaning, the difference between 500 and 1000 fps is the same as between 1000 and infinite fps (which is of course impossible to achieve).
This is true, however, if i get any fps dips at all, they are way above 1000 fps. Thus sustaining the lower latency of 1ms (Am I wrong?).
afterhoursgaming Wrote:Yes, but Its always fun to push the envelope eh? Good job on the 15,000fps was it as stable as 2,000? also how much CPU utilization did you have between the two?
A server with 10 bots running on it is using around 30% cpu at 15,000fps.
Posts: 125
Threads: 6
Joined: Dec 2008
Reputation:
1
Wow that is gorgeous lol I must learn how this is done. Any clue on your official Release or anyway to get an early copy? lol I'm in the channel all night as Cudly.
*Windows lack of output*
You: Hey, I want to run this program!
Windows: Ok.. It crashed... Now what? Give up?
You:...wtf...
*linux output helpful?*
You: ./My_program
Linux:...Failed!...oo kitties!
You:...wtf...
Posts: 108
Threads: 11
Joined: Apr 2005
Reputation:
4
Here is what the graph looks like for the server running 15k fps (you can't see the line, but you know what I mean).
Posts: 17
Threads: 2
Joined: Mar 2009
Reputation:
0
03-27-2009, 10:45 PM
(This post was last modified: 03-27-2009, 10:49 PM by Zykomaniac.)
Nevermind, my browser messed up, didnt show that it was in the linux section.
Anyways Awsome news
|