- March 24, 2007
- 12,070
- 7,459
- Home Country
-
Germany
- Moderator
- #1
Here is a small plugin, which I created for my own HTPC. It's the result of an idea which I had yesterday 
warning:
changing process priorities can cause crashes, slow down your system and maybe other bad things.
this is an experimental plugin, use it at your own risk...
What it is intended for?
It modifies the Process Priority of user selected processes, so that they either run in "Idle", "Normal" or "Realtime" priority.
I needed this feature, because on HTPC's there are often programs that causing high CPU load, leading to stuttering TV a.s.o. Typical candidates are:
How does it work?
The plugin runs every 2 min, looks for processes you have defined and set the Priority of them. Simple
In the tv.log you can find:
Log entries are only created when the priority is changed, otherwise it's silent.
How to install and configure?
Maybe someone else find it useful.
Morpheus_xx
warning:
changing process priorities can cause crashes, slow down your system and maybe other bad things.
this is an experimental plugin, use it at your own risk...
What it is intended for?
It modifies the Process Priority of user selected processes, so that they either run in "Idle", "Normal" or "Realtime" priority.
I needed this feature, because on HTPC's there are often programs that causing high CPU load, leading to stuttering TV a.s.o. Typical candidates are:
- AntiVirus scanne,
- AntiVirus Updaters,
- some windows services
- maybe even MySQL service
- ...
How does it work?
The plugin runs every 2 min, looks for processes you have defined and set the Priority of them. Simple
In the tv.log you can find:
Code:
2009-11-25 18:49:45.537633 [ProcessPrioritySetter]: Executing Process Priority Manager
2009-11-25 18:49:45.537633 [ProcessPrioritySetter]: Set Process: avgchsva, ID: 4656 from Priority Normal to Idle
2009-11-25 18:49:45.537633 [ProcessPrioritySetter]: Set Process: avgcsrvx, ID: 5336 from Priority Normal to Idle
2009-11-25 18:49:45.537633 [ProcessPrioritySetter]: Set Process: avgtray, ID: 4572 from Priority Normal to Idle
2009-11-25 18:49:45.537633 [ProcessPrioritySetter]: Set Process: avgcsrva, ID: 780 from Priority Normal to Idle
2009-11-25 18:49:45.537633 [ProcessPrioritySetter]: Set Process: mysqld, ID: 1220 from Priority Normal to Idle
2009-11-25 18:49:45.537633 [ProcessPrioritySetter]: Set Process: MPTail, ID: 3124 from Priority Normal to Idle
How to install and configure?
- copy the .dll to TvServer\Plugins folder
- enter SetupTv, enable plugin
- choose your processes for idle, normal, realtime
- you can modify the settings, they are applied when leaving the config section
Maybe someone else find it useful.
Morpheus_xx