hi everyone,
is it possible to set the process or thread or application priority to the processor to enhance its performance? is there any tool that can accomplish that? there is one for PC!
when i play a game and have an audio playing in the background, i noticed that the game performance becomes sluggish and sometimes unplayable, but some games let you set the level of priority that they have to the processor. i noticed that if i give the game the highest priority, its performance becomes excellent without impacting the audio...it also depends on the audio player and the game that's being run.
anyhow, is there a system tool that'll let me assign priority for those applications that don't explicitly offer this feature?
thanks,
There is not way you describe like for a Computer.
But you can consider install PocketHackMaster or CpuOverclock and assign a higher Turbo frequency for a definded application or game.
If you get a crackled audio in games this is setted by low-priority audio into the registry,install GB Soft Tweak-Higher priority for audio media,will solve this problem.
You can consider install big games into Program memory-RAM as they load much faster.
You can increase the amount of Cache of your Windows Mobile 5 performance up to 20 percent by
[HKLM\System\StorageManager\FATFS] CacheSize = 4096 EnableCache = 1 [HKLM\System\StorageManager\Filters\fsreplxfilt] ReplStoreCacheSize = 4096 * Soft reset for changes to take effect. Default values for all keys are 0
or search for GlyphCache if you are using Win2003-SE
Good Luck!
unapproachable2kx,
thanks for the information and help. unfortunately, pocket hack master is not compatible with my WM5 HTC Wizard. As for CpuOverClock, i couldn't find it on the web. do you have a direct link?
i don't have an isolated crackled audio problem; the whole game, including the animations, stutters, so i don't think GB Soft-Tweak is of use to me.
i don't want to install games on my Main Memory as i don't have enough room.
i have done the WM5 cache trick. i have tweaks2k2 and SKTools.
thanks,
Sorry I mean: XCPUScalar
http://www.immiersoft.com/
XCPUScalar doesn't do what i asked for and it isn't compatible with my HTC Wizard's OMAP processor
Just searched the whole Web!! Nothing is done yet for an OMAP processor.
But seems something is going on..
http://www.antontomov.com/forum/index.php?showtopic=835&st=0&p=5249&#entry5249
A while back there used to be an application called "Potala Telly", It was a very "touch friendly" application and actually was very similar in concept to the cube.
The application had in my opinion the BEST speed dial application which allowed categories or folders of speed dials...
so you can have the friends speed dials, then the family speed dials and for example the work speed dials....all the categories were collapsable
Is it possible to achieve such functionality with touch cruise? or any other applications or tweaks which can accomplish this?
Ok, I've seen numerous questions about the app called HTC Performance & have disassembled the executable. While my knowledge of these thing is by no means great, I have found some very interesting functions.
Maybe someone with more reverse engineering & code experience can take a look, but with IDA Pro there are some very interesting functions & strings.
Some of the calls & code are deprecated & no longer used in WM6 + but some of them are.
It is possible, especially for evB equiped roms, that this prgram acts like a server of sorts for some programs & processes. But being as it is initiated with Smartphone only functions I doubt it.
some of the more interesting functions in the HTC Performance app are:
SHInitExtraControls Which appears to be for Smartphone only
GetSystemMetrics WM6 Pro valid - Gets System Width & Heigth in pixels. Posible uses include program optimization based on the appropriate pixel returns
CreateMutexW - coredll - used to connect to core via net cf for obtaining device info- Usually eVB related apps use to call coredll info
memmove = takes more memory than memcpy but may be used to ensure unicode strings not used on odd memory addresses, this could increase speed on apps that incorrectly do this.
InterlockedCompareExchange, InterlockedDecrement, InterlockedExchange, InterlockedExchangeAdd, and InterlockedIncrement = functions provide a simple mechanism for synchronizing access to a variable that is shared by multiple threads. The threads of different processes can use this mechanism if the variable is in shared memory.
InterlockedCompareExchange = function performs an atomic comparison of the Destination value with the Comperand value. If the Destination value is equal to the Comperand value, the Exchange value is stored in the address specified by Destination. Otherwise, no operation is performed
YAXPAX = can speed up access of written C++ Code
ReleaseMutex = Mutex functions are used to release shared functions
EnumWindows = (..) to execute a task. EnumWindows (..) enumerates through all existing windows (visible or not) and provides a handle to all of the currently open top-level windows. Each time a window is located, the function calls the delegate (named IECallBack) which in turn calls the EnumWindowCallBack (..) function and passes the window handle to it. Not sure howthis is used though.
LoadAcceleratorsW = ??? Appears to be old CE function. Deprecated???
realloc = String Optimization
malloc = RAM Allocation
GetDeviceCaps = gets dev info, can be used to the optimize redraw based on device constraints already known
LocalReAlloc = This function changes the size or the attributes of a specified local memory object. The size can increase or decrease.
EnterCriticalSection = The threads of a single process can use a critical section object for mutual-exclusion synchronization. The process is responsible for allocating the memory used by a critical section object, which it can do by declaring a variable of type CRITICAL_SECTION. can grant exclusive access to memory
ReleaseDC = This function releases a device context (DC), freeing it for use by other applications. The effect of ReleaseDC depends on the type of device context.
Again, I am not a programmer, I know a few things, & am pretty competent with the lower operations of firmware, but the rest of the CE code is not my cup of tea. There are many more functions in HTC Performance. These are only a few functions found after a brief 20 minute peak.
But maybe, maybe, some of the function calls can help us to understand if this app can be moddified to properly function on the Kaiser.
It is possible that on some evB enabled apps, that maybe some of the HTC Performance app are retained & possibly function, that is pure speculation though, & again I doubt it.
Any CE code experts out there wanna take a look? I have, & based on what I've seen, I'll have to say FICTION!
Info
Hi,
Since I haven't really had time to see whats new and all I haven't the foggiest idea what HTC Performance is/what it is supposed to do.
But I can tell you that the functions you listed are not special in any way. Most of them would appear in every application that displays anything on the screen. For instance getting system metrics is required for any application displaying scroll bars, etc. All the interlocked and critical section stuff is just thread synchronization.
But that's OK, the use of windows APIs really doesn't mean much, other than the application runs on Windows...its the non-API stuff that defines an application. If the application you're looking at writes changes to registry keys, etc. you may want to look into that as those would be the lasting changes to the device.
Cheers,
Why is there concurrency related stuff in there? Surely that should all be handled by the operating system, rather than a running application? (That said, most of my concurrency knowledge is either theoretical or based at a high level, so I could be wrong here).
High Performance Cab
You can also check this thread...
http://forum.xda-developers.com/showthread.php?t=366792
Quentin- said:
Hi,
Since I haven't really had time to see whats new and all I haven't the foggiest idea what HTC Performance is/what it is supposed to do.
But I can tell you that the functions you listed are not special in any way. Most of them would appear in every application that displays anything on the screen. For instance getting system metrics is required for any application displaying scroll bars, etc. All the interlocked and critical section stuff is just thread synchronization.
But that's OK, the use of windows APIs really doesn't mean much, other than the application runs on Windows...its the non-API stuff that defines an application. If the application you're looking at writes changes to registry keys, etc. you may want to look into that as those would be the lasting changes to the device.
Cheers,
Click to expand...
Click to collapse
No, registry would not necesarily be the place to look. For this application the registry will only report whether or not the App is running or not. It is supposed to be a speed optimization application. My thought were that it could possibly be acting as a server of sorts, handling some thread optimization & resource allocation. Correct though, most of those API's are importing device info, beyond that, I am lost as to how it handles it, if it does at all. That said, there are many things that don't show up in the registry & many things can't be altered via the registry b'c they are set or handled before initialization or loading of the registry, possibly thru the OAL. Even tougher to say in a two chip device with as little known info as the msm7xxx processors. If anyone with real coding knowledge could take a look at the executable & see just what it's doing with the info, that would be great.
dperren said:
Why is there concurrency related stuff in there? Surely that should all be handled by the operating system, rather than a running application? (That said, most of my concurrency knowledge is either theoretical or based at a high level, so I could be wrong here).
Click to expand...
Click to collapse
That is indeed the center of my question & also what leads me to question how the app functions. Is it playing a role in thread priority optimization, & possibly redraw based on the polls, or is it just a partially gutted application miising a ton of registry data that never worked?
Hi
I installed SMS Scheduler and when I start it I get the error message:
InvalidCastException
Resource file unavailable. Resource file Microsoft Visual Basic resources not found.
I have been using SMS Scheduler for a while now and it is only on the newer ROMS I get this message.
Can anyone help?
Cheers
Aussie
Okay, for the sake of this question:
ROM = Read Only Memory
RAM = Random-Access Memory
When embedding programs, such as Mobile Notes, into an image the ROM size of the program is decreased due to digital compression. However, does it also decrease the RAM usage for that program?
Off the cuff, I would think so. Kinda like how an Assembler-language program can run on older machines faster than an optimized C-language program when compiled on the same machine. The tighter the binary conversion, the faster the program can run.
Not sure this is true though. I am trying to decide if it would be better to cook for myself and add the 3rd-party apps that I use, or to use something cooked by someone else and then adding via cab files the apps I want.
Bump.
Still wondering...