25 August 2017, 18:04 | #21 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
Quote:
|
|
25 August 2017, 18:19 | #22 |
Amiga 500 User
Join Date: Jun 2013
Location: EU
Posts: 1,533
|
I dont know if it would behave better (i.e. change enything) if only "pure cpu/mem state" is saved in the savestatefile + same name config file needed to start that file (in the savestate folder)!?
|
25 August 2017, 18:33 | #23 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
Quote:
If you want to change config, you can change it manually after loading it. |
|
25 August 2017, 18:59 | #24 | |
Amiga 500 User
Join Date: Jun 2013
Location: EU
Posts: 1,533
|
Quote:
I am testing on WinUAE 3.6.0b2; first I load the config file from post 7 and then state file (TheZone!) from WinUAE 3.0.0 and got cpu usage over 10% less (on the same demo part) than when the same is done with older WinUAE 2.8.0 or newer WinUAE 3.1.0 state files !? (Note: Before a new testing exit the emu!) I dont understand what is happening here ? EDIT: Same happens also in WinUAE 3.6.0b3! Last edited by amilo3438; 27 August 2017 at 20:11. |
|
02 September 2017, 16:14 | #25 | |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 763
|
Quote:
|
|
04 September 2017, 21:00 | #26 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
Quote:
Don't try to make this more complex than it is. |
|
05 September 2017, 11:54 | #27 | |
Amiga 500 User
Join Date: Jun 2013
Location: EU
Posts: 1,533
|
Quote:
So I load the config from post 7, then the state file (300 or 301 - from "TheZone"), and start the emu. At the demo torus rotation part I checked the usage value, then pressed the F12 and saved the new config. (attached) After that I compared the two saved config files in order to see if there is any difference, but only difference I found is in the "statefile=" option ! I start the emu again and load the mentioned saved config files: - with the config "state300_1" the usage is 100% - with the config "state301_1" the usage is 112% So there is no difference in the configs except in the statefiles used ! What is left is the difference between the statefile "scoopex_300_@start.uss" and the savefile "scoopex_310_@start.uss" ! Last edited by amilo3438; 13 December 2020 at 21:40. |
|
05 September 2017, 15:59 | #28 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
Could you also attach winuaelog.txt from both tests? There has to be something different..
|
05 September 2017, 18:34 | #29 |
Amiga 500 User
Join Date: Jun 2013
Location: EU
Posts: 1,533
|
The winuaelogs from both tests !
Last edited by amilo3438; 13 December 2020 at 21:37. |
05 September 2017, 21:02 | #30 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
Strange, no differences that would cause this.
If you load statefile and then press GUI reset (=hard reset) button: does CPU usage change? (Try both statefiles) |
05 September 2017, 21:23 | #31 | |
Amiga 500 User
Join Date: Jun 2013
Location: EU
Posts: 1,533
|
Quote:
It will work "fine" only when the emu is 1st time started and the configure file is loaded. Also seems to work "fine" if demo is stopped F12 and the same config is started again f.e. w/double click. Ps. If it is not happening on newer PCs then suggest to forget about the problem. (but I guess the difference should be noticeable at least in a few %) Last edited by amilo3438; 05 September 2017 at 21:28. |
|
06 September 2017, 12:54 | #32 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
It probably is not visible if PC is fast enough (hides in the noise) but it isn't the important part, more important it that some feature gets enabled or disabled when it shouldn't and it can cause random problems.
Some more tests: - Does entering and exiting GUI change anything? (do not modify any settings) - Does entering GUI, then changing some totally unrelated option (for example misc panel middle button option), then exiting change anything? - Does normal reset change anything (ctrl+winkey+winkey or ctrl+home+end) |
06 September 2017, 13:45 | #33 | |
Amiga 500 User
Join Date: Jun 2013
Location: EU
Posts: 1,533
|
Quote:
- No, entering and exiting GUI does not change anything ! - No, entering GUI and change misc panel middle button option then exiting does not change anything! (but I do some more tests with other options) - Yes, normal reset (ctrl+winkey+winkey) change usage from 100% to 112% ! Btw. if start the emu with config "state301_1", then F12 and double click on config "state300_1" it will show usage 112% instead of 100%, but if start the emu with config "state300_1", then F12 and double click on config "state300_1" it will show usage 100% (no change here). EDIT: After some more testing with other options no luck to find anything interesting. (except that after changing from double buffer to triple buffer it change usage, but it returns back to "normal" after changing to double buffer... Same with sound buffer, smaller buffer higher usage - what is expected.) Last edited by amilo3438; 06 September 2017 at 23:42. |
|
29 September 2017, 12:06 | #34 |
Amiga 500 User
Join Date: Jun 2013
Location: EU
Posts: 1,533
|
I tried to change some parameters in statefile: (files are in TheZone!)
The two state files are almost identical except in offset $C5 and offset $D8, where one runs on 105% usage and other (not modified) on 120% usage !? (tested with config file from post#7 in WinUAE3600b4) |
30 September 2017, 19:34 | #35 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
120% has instruction cache enabled, 105% has it disabled. Data cache probably causes more data movement. (continuous updating of cache data)
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sound stuttering / CPU issues? | gururise | support.FS-UAE | 7 | 15 May 2016 22:20 |
High-quality sound in FS-UAE? | Madcrow | support.FS-UAE | 1 | 28 November 2015 19:52 |
Winuae: Sound & CPU Problems... + resulting PC Freeze Problem | Zapp_Brannigan | support.WinUAE | 24 | 23 April 2008 16:50 |
Strange sound problems (distortion once again) - Amiga 4000 | viddi | support.Hardware | 6 | 10 February 2008 18:09 |
WinUAE high CPU usage | DeCreator | support.WinUAE | 2 | 17 July 2003 02:12 |
|
|