English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 30 January 2018, 16:56   #1
SLC
Registered User
 
Join Date: Jan 2018
Location: Norway
Posts: 22
Seemingly random performance issues

Hi again, starting to feel like such a nag now, so I want to stress that I really like WinUAE and appreciate all the good effort put in it, though during learning how to handle this I do run across some issues I can't really understand.

So, with (what I believe) is a completely basic A500 configuration (config file attached), I get quite different results every time I run WinUAE. Playing something like Giana Sisters works flawless, and max CPU usage rarely goes beyond 20-30%. I can then restart WinUAE and use the EXACT same config, but this time it peaks at 100% relatively quickly and emulation starts slowing down and sound break up. If I restart WinUAE once more, it may or may not go back to running smoothly.

Any idea as to what may cause this random behavior? Exact same config every time, no changes. I'd be happy to provide any information or do any other tests to rule out or pinpoint a problem. Apart from this I've now been able to set it up perfectly for my own use so hope this is just down to me being silly having checked one wrong option etc.
Attached Files
File Type: uae Amiga_68000_7MHz_cycleexact.uae (15.0 KB, 101 views)
SLC is offline  
Old 30 January 2018, 17:02   #2
Retro-Nerd
Missile Command Champion
 
Retro-Nerd's Avatar
 
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,463
This is actually a combination of an A1200 config (AGA, 2MB Chipram, 8Fastram) and an A500 config (68000 CPU).

Go to the quickstart tab and select the Amiga 500 config with 512KB slowram (most common). Pull the compatibility slider most left. Then tick the "start in quickstart mode" box and start the emulator (saving the config before).
Retro-Nerd is online now  
Old 30 January 2018, 17:03   #3
Foebane
Banned
 
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
Is your A500 configuration based on the Quickstart configuration for the A500 model? Quickstart configs are like presets for specified Amiga models, and should work most accurately for those models. Just select the model, the configuration for that model and click on "Set configuration".
Foebane is offline  
Old 30 January 2018, 17:28   #4
SLC
Registered User
 
Join Date: Jan 2018
Location: Norway
Posts: 22
OK, I guess it wasn't a completely basic setup. I will try using the quickstart config, but it still does not quite explain to me why sometimes it works flawlessly, constantly low CPU usage, then other times, exact same config, it spikes almost immediately and never drops below 50%. Was there anything in that config which would suggest this behavior? Will try the quickstart config to see if it happens also using that.
SLC is offline  
Old 30 January 2018, 17:35   #5
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
I don't support too weird configs but this sounds more like some power saving feature being too aggressive.
Toni Wilen is offline  
Old 30 January 2018, 18:13   #6
SLC
Registered User
 
Join Date: Jan 2018
Location: Norway
Posts: 22
I had the same thing happen with the quick start config of an A500. I don't think there are any power saving functions left on after I discovered speed stepping messing up my sound, and I rechecked now to see if there was any other relevant settings, but couldn't find any. I'm also using the "High Performance" profile in Windows 10 now.

What I noticed, though, is that when it works as it should, toggling warp mode on and off may sometimes permanently mess it up until next re-run of WinUAE that behaves as expected.

I am generally rumored for having quite bad karma when it comes to hardware, so maybe this is again what bites my ass! But knowing that it also happens with the quickstart A500 setup, could that possibly help locating the problem? What is the expected usage on an i7 6700K running that config?
SLC is offline  
Old 30 January 2018, 18:59   #7
SLC
Registered User
 
Join Date: Jan 2018
Location: Norway
Posts: 22
Just a small update.. too early to conclude with anything yet, but I do not seem to get these problems when using DirectX9 ... so maybe something is bugging with the DirectX11 support, or even DirectX11 itself? I am doing more tests with this though, just to confirm the issue is not happening with DirectX9. Will as usual update my findings.
SLC is offline  
Old 30 January 2018, 19:13   #8
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,349
Try different buffering settings (none, double, triple) too, one may give better results than others when using D3D11.
mark_k is offline  
Old 30 January 2018, 19:49   #9
Sinphaltimus
Registered User
 
Sinphaltimus's Avatar
 
Join Date: Aug 2016
Location: Cresco, PA, USA
Age: 53
Posts: 1,126
Also - in regards to power saving. (This is not winUAE related at all - just general windows) If know about this, please skip - I'm going to bring up CPU parking. CPU parking is when a core or more are powered down when not needed. It's automatically controlled by your system, I don't know if the bios can be adjusted for such things. But it's the powering up and down of these cores that can also degrade performance at critical times. For me personally, I've resolved the issue with a utility called park control by bitsum. I basically have it set to NEVER park any cores ever. I've experienced "jittery performance" at times when doing video/audio editing, 3D renders and gaming. Pretty much anything that could cause a momentary or sustained spike in CPU utilization.

I also use Process Lasso by the same company - Park control comes with it. Been using these utilities for many years and really like them - Just my two cents.
Sinphaltimus is offline  
Old 30 January 2018, 21:46   #10
SLC
Registered User
 
Join Date: Jan 2018
Location: Norway
Posts: 22
Quote:
Originally Posted by Sinphaltimus View Post
Also - in regards to power saving. (This is not winUAE related at all - just general windows) If know about this, please skip - I'm going to bring up CPU parking. CPU parking is when a core or more are powered down when not needed. It's automatically controlled by your system, I don't know if the bios can be adjusted for such things. But it's the powering up and down of these cores that can also degrade performance at critical times. For me personally, I've resolved the issue with a utility called park control by bitsum. I basically have it set to NEVER park any cores ever. I've experienced "jittery performance" at times when doing video/audio editing, 3D renders and gaming. Pretty much anything that could cause a momentary or sustained spike in CPU utilization.

I also use Process Lasso by the same company - Park control comes with it. Been using these utilities for many years and really like them - Just my two cents.
I checked this out, and it seems High Performance profile deactivates this feature. No cores parked according to a 3rd party program meant to handle this, so that's one more ruled out.
SLC is offline  
Old 30 January 2018, 23:06   #11
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
@Sinphaltimus
Hi, these days I was working with Process Lasso and sysinternals,
I would like to ask if the program really works.
I use it to optimize windows and to lower the various processes, this work will take time.
I saw that you talked about it well.
So is it reliable?
I would like to have your opinion on these programs or on similar programs

Thank you!

Last edited by White; 30 January 2018 at 23:12. Reason: error
White is offline  
Old 31 January 2018, 00:18   #12
SLC
Registered User
 
Join Date: Jan 2018
Location: Norway
Posts: 22
OK, having been running all sorts of configurations and stuff in WinUAE now and as long as I use Direct3D9 these performance issues never occur. Also, a bit interesting observation.. when using Direct3D11 and these issues happens, task manager shows a nearly idle CPU while the CPU meter in WinUAE itself shows 100%. Now, I know that task manager isn't a precise measurement, but you'd think it show some signs of activity if the usage was in line with what WinUAE says it is?

When using Direct3D9 the two are much more similar to each other. Whether or not this is helpful, I do not know, I just report what I observe. For now I will be using Direct3D9 since that works, but could possibly be worth looking into Direct3D11 if others have similar issues perhaps.

Also, the graphical glitch I posted about earlier also seems to be very random, regardless of config. But I've only yet seen it in this particular demo (Rise / MC/TRSI). At least I hope this input is useful in any way and not just a rant I'll be happy to provide more detailed info or test things if wanted.
SLC is offline  
Old 31 January 2018, 00:23   #13
Sinphaltimus
Registered User
 
Sinphaltimus's Avatar
 
Join Date: Aug 2016
Location: Cresco, PA, USA
Age: 53
Posts: 1,126
Quote:
Originally Posted by White View Post
@Sinphaltimus
Hi, these days I was working with Process Lasso and sysinternals,
I would like to ask if the program really works.
I use it to optimize windows and to lower the various processes, this work will take time.
I saw that you talked about it well.
So is it reliable?
I would like to have your opinion on these programs or on similar programs

Thank you!

I PM'ed you to keep this topic on track...
Sinphaltimus is offline  
Old 31 January 2018, 00:49   #14
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
Thanks!
White is offline  
Old 31 January 2018, 18:33   #15
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
Quote:
Originally Posted by SLC View Post
OK, having been running all sorts of configurations and stuff in WinUAE now and as long as I use Direct3D9 these performance issues never occur. Also, a bit interesting observation.. when using Direct3D11 and these issues happens, task manager shows a nearly idle CPU while the CPU meter in WinUAE itself shows 100%. Now, I know that task manager isn't a precise measurement, but you'd think it show some signs of activity if the usage was in line with what WinUAE says it is?
>100% means something prevented WinUAE to not have enough CPU time to emulate current field fast enough.

Cause may not be CPU power but something causing WinUAE to pause, for example D3D9/11 field Present() call waiting for something, for example vsync when vsync was not requested.

Does problem disappear temporarily if you press END+Pause to enable "warp mode" and then disable it?

Did you try all buffering modes? (no, double, triple)
Toni Wilen is offline  
Old 31 January 2018, 23:01   #16
SLC
Registered User
 
Join Date: Jan 2018
Location: Norway
Posts: 22
Quote:
Originally Posted by Toni Wilen View Post
>100% means something prevented WinUAE to not have enough CPU time to emulate current field fast enough.

Cause may not be CPU power but something causing WinUAE to pause, for example D3D9/11 field Present() call waiting for something, for example vsync when vsync was not requested.

Does problem disappear temporarily if you press END+Pause to enable "warp mode" and then disable it?

Did you try all buffering modes? (no, double, triple)
Hard to say, as when I enter warp mode and exit it again, the CPU counter drops to 00% for a very brief time, but quickly rises again, too quickly to really notice if it resolved anything for the first few seconds. I did try all buffering modes and it behaved the same.
SLC is offline  
Old 01 February 2018, 16:16   #17
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
Does http://www.winuae.net/files/b/winuae.7z work any different in no buffer vs double buffer mode? (Trying something random..)
Toni Wilen is offline  
Old 02 February 2018, 00:39   #18
SLC
Registered User
 
Join Date: Jan 2018
Location: Norway
Posts: 22
Quote:
Originally Posted by Toni Wilen View Post
Does http://www.winuae.net/files/b/winuae.7z work any different in no buffer vs double buffer mode? (Trying something random..)
Sorry for late response, but I wanted to do some real thorough testing to see that I have somewhat consequent results. I can't really tell if there's any difference between this and the release due to the randomness of the issue, but one thing I noticed now that I didn't the first time is that no buffer and no vsync seems to work all the time for both fullscreen and full-window for both versions.

But since I am the only one who have been complaining about this, I'm starting to wonder if it might be my system that somehow is to blame. Still odd that it works with D3D9, though.
SLC is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Amiga 1200 with random guru issues on hardware changes KTC support.Hardware 7 28 March 2013 16:24
performance issues in some games?! trydowave support.WinUAE 3 09 January 2011 19:22
Performance issues with Kid Chaos OCS/ECS on Intel Atom Mequa support.WinUAE 0 24 March 2010 13:52
Codetapper's Action site seemingly gone. MethodGit project.WHDLoad 4 18 May 2009 08:25
Seemingly not stereo output in Winuae 1.3.3 amiga support.WinUAE 2 07 November 2006 02:26

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 21:57.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09195 seconds with 14 queries