It is currently Mon Jun 25, 2018 8:46 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Sun May 20, 2018 7:19 pm 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3118
Location: Brazil
Well, I got progress. 8-) Windows 7 is slowing down the emulation by doing stuff in background, like the boring Windows Update. It dropped the frame rate to below 20!

I reduced the audio buffer to half ($800->$400), and changed the sound sample rate from 48000 to 44100Hz (and the internal APU constant for resampling). It worked like a charm. However, as I said, the frame rate drops during the emulation, but got back to 60 soon.


Top
 Profile  
 
PostPosted: Sun May 20, 2018 7:38 pm 
Offline
User avatar

Joined: Thu Mar 31, 2016 11:15 am
Posts: 308
Zepper wrote:
What profiler do you suggest for it? (free)


On Windows try gprof. Here's a guide: https://web.eecs.umich.edu/~sugih/point ... quick.html

On Linux use perf. Here's a guide: https://perf.wiki.kernel.org/index.php/Main_Page


Top
 Profile  
 
PostPosted: Mon May 21, 2018 3:09 am 
Offline
Formerly Espozo
User avatar

Joined: Mon Sep 15, 2014 4:35 pm
Posts: 3341
Location: Nacogdoches, Texas
Zepper wrote:
Well, I got progress. 8-) Windows 7 is slowing down the emulation by doing stuff in background, like the boring Windows Update. It dropped the frame rate to below 20!

Sounds like a modern computing horror story about how much less efficient things have become, and how you're supposed to make up the difference with excessive hardware. :|


Top
 Profile  
 
PostPosted: Mon May 21, 2018 5:01 am 
Offline
User avatar

Joined: Mon Jan 03, 2005 10:36 am
Posts: 3080
Location: Tampere, Finland
Espozo wrote:
Zepper wrote:
Well, I got progress. 8-) Windows 7 is slowing down the emulation by doing stuff in background, like the boring Windows Update. It dropped the frame rate to below 20!

Sounds like a modern computing horror story about how much less efficient things have become, and how you're supposed to make up the difference with excessive hardware. :|

If your operating system is using more than 1-2% of CPU in "idle", you've got problems. That's not normal at all.

_________________
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi


Top
 Profile  
 
PostPosted: Mon May 21, 2018 10:33 am 
Offline
User avatar

Joined: Sun Sep 19, 2004 9:28 pm
Posts: 3389
Location: Mountain View, CA
Well, several of the Windows 7 updates in the past year have been known to be... questionable. It's like a rat's nest at times. Many have re-installed things like telemetry, so you have to figure out which updates do what. I tend to be a month behind on patches for that exact reason: I err on the side of caution. It's saved me a LOT of pain, let me assure you.

Windows Update taking like 9 billion years to "figure out" what all the updates are that should be available to you is actually solved through several "sub-updates". So if you haven't gone through the pain of doing that (installing specific KBs that fix it), that's probably why. If your "Windows Update" scan previously took, say, 15 minutes, these KBs/sub-updates can actually bring that down into the under-a-minute range.

Let me know if you want details. I actually slipstream all of this stuff into my own Windows 7 ISOs so that I don't have to deal with it again. I think I have a list of the KBs and what not in my slipstream.bat.

A great website to start following for stuff like this is https://www.askwoody.com or follow him on Twitter at @woodyleonhard -- he works for ComputerWorld.

And let's not forget with things like Meltdown/Spectre, figuring out used CPU time is way more complicated than it used to be. Worth watching if you care about low-level details, trust me. (And yes, these apply to Windows too)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group