Jump to content

REQUEST: Process Priority utility


Recommended Posts

Guest dwallersv
Posted

If something like this already exists, great -- tell me about it!

Otherwise I have a request for our resident developers. It should be a trivial app to create -- I could do it for desktop Windows in a half hour or so, but don't have the WinCE development background, or a dev environment, so I'm reduced to begging :D

Basically, what I need is this: A command-line app that can be used to launch with a specified priority, or change the priority of a running process.

What I have in mind is something like this, invoked through a shortcut:

cmd> procprio [executable path | process name] [priority]

"process name" is like Sector's RotationService -- whatever shows up in task managers, usually just the executable name.

For example, I find I get a much better experience, and better responsiveness, if I elevate the priority of S2U2 and iLock. So the shortcuts to start these can be modified to invoke them via the procprio command with a higher priority than the default.

Mobile Shell already running? Okay... just execute "procprio MobileShell.exe 249" to bump it up. Put that in a shortcut, or put a series of these commands in a Mortscript that runs at startup. Waits for all interested processes to start, then bumps them up in priority.

I have such a heavily customized phone that I find it makes a big difference in snappiness and usability to bump up the priority of a few particular processes that are idle most of the time anyway, but when they have something to do, it pays to get them at the top of the run queue immediately. In my case these are SPB Mobile Shell (although the idea is general -- whatever "shell" your using, bump it up), S2U2, WkTask, and TaskFacade. When I run Resco Explorer, I'd like to too to run at a higher priority.

I often have some networking or BT activity, and/or am running a music player. A player with BT is a processor-heavy context, so UI-based activity can be slow and unresponsive in these conditions. Yet, the little sips of CPU that these interactions usually need are not too disruptive to music playing, and besides, I'd rather sacrifice a blip in my music to have my interaction work immediately and smoothly than guarantee absolutely no skips, dropouts, or pauses when it's happening as a result of something I know might cause a dropout, than have the interaction be unresponsive.

I've tried experimenting will all this through SK Tools ability to change process priority, and it makes a GINORMOUS difference. Makes the Omnia a completely different animal. Usable as a multitasking device.

Anyway, long post. Any thoughts?

Guest necosino
Posted

I really think this would need to be completely written as a new app. You may have better luck over on XDA.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.