above normal instead of high priority

Found a bug? Please report it, but remember to follow the bug reporting guidelines.
Missing a sane feature? Let us know!
But please do NOT request ports to other systems.

Moderator: ZSNES Mods

Post Reply
zenki
New Member
Posts: 8
Joined: Sat Apr 08, 2006 12:42 pm

above normal instead of high priority

Post by zenki »

Could zsnes give an option for above normal instead of just high priority? I find that sometimes above normal is just enough to get something to run smoothly but above normal makes the system slow down.
DEFIANT
Joystick Jedi
Posts: 228
Joined: Wed Jul 28, 2004 3:43 am
Location: Portland, Oregon - USA

Post by DEFIANT »

Whoa! Thats a big avatar.
[img]http://img259.imageshack.us/img259/2365/pirateuserbartv2.jpg[/img]
E=mc²
"People should not be afraid of their governments, governments should be afraid of their people." -V
[url=http://sc2.sourceforge.net/]The Ur-Quan Masters[/url]
franpa
Gecko snack
Posts: 2374
Joined: Sun Aug 21, 2005 11:06 am
Location: Australia, QLD
Contact:

Post by franpa »

...
Last edited by franpa on Mon Apr 10, 2006 3:34 am, edited 1 time in total.
Core i7 920 @ 2.66GHZ | ASUS P6T Motherboard | 8GB DDR3 1600 RAM | Gigabyte Geforce 760 4GB | Windows 10 Pro x64
Jipcy
Veteran
Posts: 768
Joined: Thu Feb 03, 2005 8:18 pm
Contact:

Post by Jipcy »

franpa_9: Shut up, don't be Aerdan.

Zenki: Yes, your avatar is too big. If you're on Windows 2000/XP, you should be able to set the ZSNES thread priority to anything you want, using the Task Manager.
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/url]
Joe Camacho
Devil's Advocate
Posts: 2293
Joined: Mon Aug 02, 2004 7:51 pm
Location: Hmo. Son.

Post by Joe Camacho »

franpa_9 wrote:shrink your avatar or you will suffer a terrible death.
If you continue like this, *you* will be the one to suffer a terrible death.
*Sometimes I edit my posts just to correct mistakes.
pagefault
ZSNES Developer
ZSNES Developer
Posts: 812
Joined: Tue Aug 17, 2004 5:24 am
Location: In your garden

Post by pagefault »

Why do people have to continue to hijack threads?

To go back on topic. Can Windows 9x support this?
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

Win9x does not support this unfortunately.

This problem sounds like there's a slow CPU issue or something...
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
pagefault
ZSNES Developer
ZSNES Developer
Posts: 812
Joined: Tue Aug 17, 2004 5:24 am
Location: In your garden

Post by pagefault »

Perhaps on 2k/XP we can use above normal and high on 9x. This would make more sense anyway.
zenki
New Member
Posts: 8
Joined: Sat Apr 08, 2006 12:42 pm

Post by zenki »

I don't think that my CPU is slow. It's a 1.8 P4. Most of the time games do not slow down, but if I have a lot of things running in the background, (which I usually do), I can detect a little slowdown sometimes. In other programs they have the option to use "above normal" priority, and I find that this gets rid of these little slowdowns. However if I select high priority this causes the whole system to slow to a crawl.
Deathlike2 wrote:Win9x does not support this unfortunately.

This problem sounds like there's a slow CPU issue or something...
Jipcy
Veteran
Posts: 768
Joined: Thu Feb 03, 2005 8:18 pm
Contact:

Post by Jipcy »

zenki wrote:Most of the time games do not slow down, but if I have a lot of things running in the background, (which I usually do), I can detect a little slowdown sometimes. In other programs they have the option to use "above normal" priority, and I find that this gets rid of these little slowdowns. However if I select high priority this causes the whole system to slow to a crawl.
This is all completely normal behavior. By the way, what OS are you running? Windows 9x series or Windows NT series (NT, 2000, XP)?

Also, just keep in mind that it will be easier to just deal with occasional slow-down than to make it so that ZSNES never drops a frame.

Running lots of tasks that require processor time *will* slow down other tasks. There's simply no way to get around this.

However, Windows tries to intelligently handle processor priority for all open windows and threads. For example, windows that are in focus (active) get more processor time than windows that are un-focused (in the background) or windows that are minimized. So, make sure to minimize any windows/tasks that you want to have lower priority.

When you raise the "Base Pri" (Base Priority) (as its called in Windows XP) of a particular program, it starts taking away processor time from other programs you are running. If you look at the task manager under the "Base Pri" column, you can see how this works.

The higher a programs's priority, the sooner it gets processor time when it asks for it. Under no circumstances should you set a program to have "Realtime" priority. This will probably freeze your whole system.

All "Realtime" programs get first dibs on processor time, followed by all "High" priority programs (I assume multiple programs of a particular priority get equal time). Then followed by Above Normal, Normal, Below Normal, and Low.

So, the more programs you are running at Above Normal and High priority, the less processor time your Normal, Below Normal, and Low programs get. These programs will take longer to complete their various tasks.

My suggestion to you is to cut down on the number of simultaneous programs you run. You really can't expect to run an infinite number of programs all at full speed. Windows is designed to multi-task and share processor time, and that's what it's doing.
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/url]
zenki
New Member
Posts: 8
Joined: Sat Apr 08, 2006 12:42 pm

Post by zenki »

I'm running Windows XP. I have a lot of things running, but they don't do much. I usually have firefox running with multiple websites opened in it. I find that if I close this, it makes a difference. However it's a hassle, because that might mean having to bookmark all the websites so that I can find them again, and sometimes I like to switch between surfing the web and playing games, so I prefer to keep it open. Setting a program's priority to above normal is enough so that I can keep firefox and all my other little programs running at the same time without having those little slowdowns.
-_pentium5.1_-
Lurker
Posts: 110
Joined: Sat Sep 04, 2004 7:55 pm
Location: USA

Post by -_pentium5.1_- »

zenki: Not exactly on topic, but the ~Tab Mix Plus~ extension has a "session saver" feature. This is inherently limited with regards to dynamic content, though, which brings us back to the main point of this thread about changing process priorities...
EDIT: The words "Tab Mix Plus" above are a link.
This signature intentionally contains no text other than this sentence.
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

Zenki, shrink your avatar or some mod will remove it soon enough.

Relating to the topic, I have no idea what Toaster support really is, but there are prior threads on it.. and it is game specific to my knowledge.

http://board.zsnes.com/phpBB2/viewtopic ... 63&start=0
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
adventure_of_link
Locksmith of Hyrule
Posts: 3634
Joined: Sun Aug 08, 2004 7:49 am
Location: 255.255.255.255
Contact:

Post by adventure_of_link »

Deathlike2 wrote:Zenki, shrink your avatar or some mod will remove it soon enough.
here we go again with forum authority confusion:

Mods: Delete/Move/Edit/Lock/Sticky/Announce topics and threads.
Admins: Do all things mods do, but they also set permissions, configure global board configurations, set ranks, change people's nicks, "profile rape" someone, ban, remove avatars, etc.

And toaster support was a joke.
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
Jipcy
Veteran
Posts: 768
Joined: Thu Feb 03, 2005 8:18 pm
Contact:

Post by Jipcy »

adventure_of_link wrote:And toaster support was a joke.
How so?
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/url]
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

adventure_of_link wrote:
Deathlike2 wrote:Zenki, shrink your avatar or some mod will remove it soon enough.
here we go again with forum authority confusion:

Mods: Delete/Move/Edit/Lock/Sticky/Announce topics and threads.
Admins: Do all things mods do, but they also set permissions, configure global board configurations, set ranks, change people's nicks, "profile rape" someone, ban, remove avatars, etc.
Meh.. I don't pay that much attention to that... Someone will get to the avatar sooner or later anyhow.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Jonas Quinn
ZSNES Developer
ZSNES Developer
Posts: 115
Joined: Thu Jul 29, 2004 9:51 pm
Location: Germany

Post by Jonas Quinn »

adventure_of_link wrote:And toaster support was a joke.
It's no joke it's an easter egg.
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Post by Agozer »

adventure_of_link wrote:And toaster support was a joke.
You should damn well know that it exists.
Last edited by Agozer on Sat Apr 15, 2006 11:53 am, edited 1 time in total.
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
adventure_of_link
Locksmith of Hyrule
Posts: 3634
Joined: Sun Aug 08, 2004 7:49 am
Location: 255.255.255.255
Contact:

Post by adventure_of_link »

I know it exists; I was referring to it as a joke, probably because of this time where everyone kept suggessting inane features for ZSNES (eg: emulate the channel 3 in the corner, emulate the dust in the cartridge, and toaster support.)
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
Joe Camacho
Devil's Advocate
Posts: 2293
Joined: Mon Aug 02, 2004 7:51 pm
Location: Hmo. Son.

Post by Joe Camacho »

People, please stay on topic.
*Sometimes I edit my posts just to correct mistakes.
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

Ok, the current behavior is now changed in SVN. Win9x will use High Priority while non-Win9x will use Above Normal Priority.

That avatar still seems a tad too big... but meh.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Master O
Hazed
Posts: 58
Joined: Fri Dec 30, 2005 6:15 am

Post by Master O »

adventure_of_link wrote:I know it exists; I was referring to it as a joke, probably because of this time where everyone kept suggessting inane features for ZSNES (eg: emulate the channel 3 in the corner, emulate the dust in the cartridge, and toaster support.)
1) I want to see the dust in the cartridge get emulated.

"THAT WOULD ROCKZORZ, LEET HACKZORZ SKILLZ, 1337 ZSNES 15 d4 shiznit!!!!"

2) "Is Zsnes going to support microwave ovens so that I can cook small pizzas in them, or just ordinary toasters for toast?"

(Extreme Sarcasm)

--------

Anyway, Zenki's suggestion sounds reasonable enough, but that isn't for me to decide.

Random Question: what anime is his avatar from?
[quote="PhobosDK"]I see only
you are not serious
you'll get ignored

I think bad emulation that will be ignored...

We have choice about emulators.
Close your eyes and keep minor bugs update only.[/quote]

Fail....
Firon
Trooper
Posts: 361
Joined: Fri May 05, 2006 4:37 pm
Contact:

Post by Firon »

Master O wrote: 1) I want to see the dust in the cartridge get emulated.
It needs to randomly not boot. And require a microphone for you to blow in.
And sometimes need to hit the PC's case.
Maybe jam q-tips with alcohol into the floppy drive (if you still have one).
Post Reply