Author |
Message |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Sat Apr 01, 2006 4:24 pm Post maybe stupid 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. _________________ ss news
ap1.zip - 170.21 KB
File downloaded or viewed 35 time(s)
instructions.png - 36.47 KB
File downloaded or viewed 32 time(s)
|
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Sat Apr 01, 2006 4:33 pm Post maybe stupid Post subject: |
 |
|
|
|
idling, I get ~61 fps with 170 particles
running all the ships through, I get ~60 fps with 1000 particles _________________
|
|
Back to top |
|
 |
HookerRella89 Guest
Offline
|
Posted: Sat Apr 01, 2006 4:39 pm Post maybe stupid Post subject: |
 |
|
|
|
I get 70. I have an Intel Extreme 2 96 MB right now. Im about to get a GeForce 256 MB.
|
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Sat Apr 01, 2006 4:43 pm Post maybe stupid Post subject: |
 |
|
|
|
48 FPS with about 150 particles
48 FPS with about 650 particles with ships flying _________________ Performance is often the art of cheating carefully. - James Gosling
|
|
Back to top |
|
 |
Muskrat Server Help Squatter

Age:38 Joined: Aug 24 2004 Posts: 829 Location: Swamp Offline
|
Posted: Sat Apr 01, 2006 4:48 pm Post maybe stupid Post subject: |
 |
|
|
|
I was getting ~79 fps and about 1200-1300 max on the particles when wheeling.
256mb nvidia and 3.2ghz
|
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Sat Apr 01, 2006 5:27 pm Post maybe stupid 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? _________________ 4,691 irradiated haggis!
|
|
Back to top |
|
 |
i88gerbils Oldbie Server Help

Gender: Joined: Dec 13 2002 Posts: 423 Location: OH Offline
|
Posted: Sat Apr 01, 2006 6:31 pm Post maybe stupid Post subject: |
 |
|
|
|
90fps with 1300 particles running at max load. This is in Wine (fglrx drivers for a 9800, 1gb ram, p4 2.4ghz). _________________ Oldbie Server Help
|
|
Back to top |
|
 |
wEaViL Don't make me turn this forum around!

Age:45 Gender: Joined: Feb 17 2003 Posts: 829 Location: nc usa Offline
|
Posted: Sat Apr 01, 2006 7:23 pm Post maybe stupid 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
|
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Sat Apr 01, 2006 8:12 pm Post maybe stupid 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...).
Last edited by Smong on Sat Apr 01, 2006 8:18 pm, edited 1 time in total |
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Sat Apr 01, 2006 8:17 pm Post maybe stupid Post subject: |
 |
|
|
|
Ya don't bother trying to get "smart" with update regions. It's not worth it.
|
|
Back to top |
|
 |
Chambahs Power attack

Joined: Jun 19 2005 Posts: 820 Offline
|
Posted: Sun Apr 02, 2006 12:44 am Post maybe stupid 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
|
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Sun Apr 02, 2006 12:56 am Post maybe stupid Post subject: |
 |
|
|
|
Oh mine is on-board 4MB Intel something...
|
|
Back to top |
|
 |
Cerium Server Help Squatter

Age:43 Gender: Joined: Mar 05 2005 Posts: 807 Location: I will stab you. Offline
|
Posted: Sun Apr 02, 2006 1:12 am Post maybe stupid 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. _________________ There are 7 user(s) ignoring me right now.
|
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Sun Apr 02, 2006 8:20 am Post maybe stupid 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.
|
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Sun Apr 02, 2006 11:10 am Post maybe stupid 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%). _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
|
|
Back to top |
|
 |
|