Server Help

Trash Talk - Check your FPS for no reason at all

Smong - Sat Apr 01, 2006 4:24 pm
Post subject: Check your FPS for no reason at all
Does anyone want to run this program and tell me what FPS they are getting?



I'm predicting everyone's FPS will be similar since there are a low number of map objects and the resolution is low. I'm interested on how this performs on low end machines, fx: integrated graphics, low cpu mhz.

To get a low FPS click on the tabs as soon as the program loads, it calculates an average FPS since the program started, not for the last 5 seconds or so.

I'd like to point out that I'm not asking for help with writing code and it is sort of subspace related. Plus I'll probably get a wider audience in trash talk than in coding help forum.
D1st0rt - Sat Apr 01, 2006 4:33 pm
Post subject:
idling, I get ~61 fps with 170 particles

running all the ships through, I get ~60 fps with 1000 particles
Anonymous - Sat Apr 01, 2006 4:39 pm
Post subject:
I get 70. I have an Intel Extreme 2 96 MB right now. Im about to get a GeForce 256 MB.
CypherJF - Sat Apr 01, 2006 4:43 pm
Post subject:
48 FPS with about 150 particles


48 FPS with about 650 particles with ships flying
Muskrat - Sat Apr 01, 2006 4:48 pm
Post subject:
I was getting ~79 fps and about 1200-1300 max on the particles when wheeling.

256mb nvidia and 3.2ghz
Mr Ekted - Sat Apr 01, 2006 5:27 pm
Post subject:
50 fps with 160 particles. I get a solid 128 fps in Subspace running at 1600x1200x32. Is it SDL overhead or something about the timer you are using?
i88gerbils - Sat Apr 01, 2006 6:31 pm
Post subject:
90fps with 1300 particles running at max load. This is in Wine (fglrx drivers for a 9800, 1gb ram, p4 2.4ghz).
wEaViL - Sat Apr 01, 2006 7:23 pm
Post subject:
Idle
67 fps
190 - 200 particles

In use
64 - 65 fps
950 - 1000 particles

1.47ghz amd xp 1700+
768mb ram
128mb geforce 5200 fx
Smong - Sat Apr 01, 2006 8:12 pm
Post subject:
Mr Ekted wrote:
50 fps with 160 particles. I get a solid 128 fps in Subspace running at 1600x1200x32. Is it SDL overhead or something about the timer you are using?
I'll let you decide:
Code wise it takes 5 trig functions to create 1 contrail particle. Ships uses 2-3 trig functions every update. Every particle is updated at most every 10ms, the ships perform additional updates at most every 50ms for rotation. Also everything on screen is stored as x1000 so there's going to be all those conversions back to screen pixels. Lastly there is no collision detection yet (per tick trace will probably be expensive).

SDL side, SDL_Delay() on linux has been noted to take 20% cpu. Higher resolutions have been seen to give a frame rate drop (this was using a tilemap in another program). This time I'm going for an all lvz style mapobject design. (I'll need to partition the map somehow).

Something to note is the whole screen is redrawn every tick, not just the bits that changed, there could be a pay off for keeping track of rectangular areas that need repainting, otherwise it could be setting 1600x1200 ~2million pixels individually every frame (but modern FPS's obviously redraw the whole screen every frame...).
Mr Ekted - Sat Apr 01, 2006 8:17 pm
Post subject:
Ya don't bother trying to get "smart" with update regions. It's not worth it.
Chambahs - Sun Apr 02, 2006 12:44 am
Post subject:
Idling - 43 FPS and 135 particles

Ships Flying - 49 FPS and 750 particles

Intel gfx card, integrated, 64MB

1.81GHZ and 248mb of ram
CypherJF - Sun Apr 02, 2006 12:56 am
Post subject:
Oh mine is on-board 4MB Intel something...
Cerium - Sun Apr 02, 2006 1:12 am
Post subject:
Mr Ekted wrote:
Ya don't bother trying to get "smart" with update regions. It's not worth it.


Why? Even if its a very simple method it could save a lot of work redrawing.
Mr Ekted - Sun Apr 02, 2006 8:20 am
Post subject:
Cerium wrote:
Why? Even if its a very simple method it could save a lot of work redrawing.


Because eventually, the display WILL get complex. The overhead of keeping track and slicing up the window will almost match the draw time. All that for code that is much more complicated to write and maintain.
Cyan~Fire - Sun Apr 02, 2006 11:10 am
Post subject:
I get just about a constant FPS in the low 40s, seemingly independent of the number of particles or ships. 64MB geforce4 with 1.2gHz processor (but using only ~50%).
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group