01 February 2010, 10:42 | #1 | |||
Registered User
Join Date: Aug 2004
Location: 19 Jump Street
Posts: 238
|
Emulation Benchmarking
I was just thinking about a feature for WinUAE which might prove to be useful - benchmarking.
For example: Quote:
After a certain period (perhaps definable as another command line, such as -runseconds) or until the user explicitly tells it to stop, it stops and displays something like: Quote:
Obviously over time, this feature could be expanded to cater for other things, such as: Quote:
|
|||
01 February 2010, 20:41 | #2 |
Coder/webmaster/gamer
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,630
|
No.
Why would you want to disable input and output? These are part of the emulation and the performance of those components is important. >would sit around waiting for some type of user interaction and skew results. It's still emulating while "sitting around" in any case. This would launch the configuration a500.uae and emulate everything, except there will be no display, no sound, no interaction, etc. A suitable ADF would need to be selected (entirely up to the user), such as one that jumps straight into a game or demo, otherwise it would sit around waiting for some type of user interaction and skew results. After a certain period (perhaps definable as another command line, such as -runseconds) or until the user explicitly tells it to stop, it stops and displays something like: >Execution Time: 371 seconds >Average FPS: 312 It might be useful for WinUAE to be able to optionally display this info at exit, if it doesn't already. >this feature could be expanded to cater for other things Generating this kind of profiling data that you suggest would add overhead and affect the results. |
01 February 2010, 22:59 | #3 |
Banned
Join Date: Jul 2009
Location: *
Posts: 567
|
|
02 February 2010, 00:12 | #4 | ||
Registered User
Join Date: Aug 2004
Location: 19 Jump Street
Posts: 238
|
Quote:
Imagine trying to benchmark a game that uses a really simple cracktro that does nothing more than display text on screen and wait for a left mouse click. The emulation gets to that point and sits there. It may as well be sitting at the Kickstart screen. At this point, the emulation isn't doing anything intensive because it's at an almost minimum. Compare that situation to one where it boots into an intensive megademo. The results are going to be completely different. Quote:
Imagine a WHDLoad slave writer who wants to see if their slave works properly and disables all floppy access. This sort of data would be invaluable as they can quickly see that no tracks were read from any of the drives. If the base benchmarking system is already in place, adding this sort of data is trivial, hence why I mentioned it. |
||
02 February 2010, 00:55 | #5 |
Registered User
Join Date: Aug 2004
Location: 19 Jump Street
Posts: 238
|
Thinking about things, perhaps everything can be definable. You can say whether or not the display should be there, or whether interaction should be available, etc. The situation I was thinking of involved start to end with no user interaction for a definable period of time to give fairly consistent results on each run, but if someone wants to try playing a game to see those results, then yeah, why not.
Anyway, this is all a void conversation since it doesn't seem like there's much interest from anyone |
02 February 2010, 01:12 | #6 |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
No, the idea is cool. How about a display of instructions per second for a start?
|
02 February 2010, 09:14 | #7 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
It isn't that simple. Pointless statistics are worse than no statistics at all.
For example: just counting CPU speed is pointless in Amiga emulation. I don't see it being "better and faster" if CPU runs too fast when it should have been locked out of bus due to blitter etc.. Instruction length varies, different memory can have different speed, CPU maybe in STOPped state -> Number of instructions per frame does not mean anything.. Benchmarking using "headless" emulation (display emulated but final step missing, sound emulated but no sound output etc..) + warp mode enabled would be less pointless but building standard environment isn't so easy.. and the biggest problem: too easy way to benchmark without standard evinronment and some clueless users start posting <censored> and comparing apples and oranges. I guess few built-in tests (for example 3 different A500 configuration tests, plain bitplanes, cpu does most of the stuff, medium=some effects and high=very heavy dma activity or something like that) could be useful. It still does not happen because nobody is interested in writing this kind of code. |
03 February 2010, 23:09 | #8 | |
Registered User
Join Date: Aug 2004
Location: 19 Jump Street
Posts: 238
|
You're right that statistics will vary across similar specced machines. I know that most people don't really pay attention to stuff like memory speed, bus speed, etc. and just assume that the CPU is the only factor. My intention was to allow a user to benchmark their own machines, with a nice side effect being the ability to see how much things like filters are affecting performance. Simple stuff like that.
In terms of a standard environment, as you said, some standard configs are all that's needed. They could be embedded into UAE itself or downloadable somewhere. Just like the Quickstart configs, you make it clear that anyone that doesn't use the standard benchmarks will be ignored. Quote:
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PC Emulation | DyLucke | support.Apps | 6 | 15 November 2009 05:39 |
Emulation....why do we do it? | Jim | Nostalgia & memories | 35 | 02 April 2004 08:28 |
PS emulation | Djay | Retrogaming General Discussion | 26 | 17 December 2003 20:34 |
Emulation | punkie | New to Emulation or Amiga scene | 4 | 11 May 2002 01:16 |
New to emulation, need some help | a500 | support.WinUAE | 1 | 26 April 2002 01:30 |
|
|