home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Products
TV-Server
[New Plugin] Process Priority Manager
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="morpheus_xx" data-source="post: 539409" data-attributes="member: 48495"><p>Here is a small plugin, which I created for my own HTPC. It's the result of an idea which I had yesterday <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p></p><p><u><strong>warning:</strong></u></p><p><strong><span style="color: Red">changing process priorities can cause crashes, slow down your system and maybe other bad things. </span></strong></p><p><strong><span style="color: Red">this is an experimental plugin, use it at your own risk...</span></strong></p><p></p><p><strong><u>What it is intended for?</u></strong></p><p>It modifies the Process Priority of user selected processes, so that they either run in "Idle", "Normal" or "Realtime" priority.</p><p></p><p>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:</p><ul> <li data-xf-list-type="ul">AntiVirus scanne,</li> <li data-xf-list-type="ul">AntiVirus Updaters,</li> <li data-xf-list-type="ul">some windows services</li> <li data-xf-list-type="ul">maybe even MySQL service</li> <li data-xf-list-type="ul">...</li> </ul><p></p><p><strong><u>How does it work?</u></strong></p><p></p><p>The plugin runs every 2 min, looks for processes you have defined and set the Priority of them. Simple <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p></p><p>In the tv.log you can find:</p><p>[CODE]</p><p>2009-11-25 18:49:45.537633 [ProcessPrioritySetter]: Executing Process Priority Manager</p><p>2009-11-25 18:49:45.537633 [ProcessPrioritySetter]: Set Process: avgchsva, ID: 4656 from Priority Normal to Idle</p><p>2009-11-25 18:49:45.537633 [ProcessPrioritySetter]: Set Process: avgcsrvx, ID: 5336 from Priority Normal to Idle</p><p>2009-11-25 18:49:45.537633 [ProcessPrioritySetter]: Set Process: avgtray, ID: 4572 from Priority Normal to Idle</p><p>2009-11-25 18:49:45.537633 [ProcessPrioritySetter]: Set Process: avgcsrva, ID: 780 from Priority Normal to Idle</p><p>2009-11-25 18:49:45.537633 [ProcessPrioritySetter]: Set Process: mysqld, ID: 1220 from Priority Normal to Idle</p><p>2009-11-25 18:49:45.537633 [ProcessPrioritySetter]: Set Process: MPTail, ID: 3124 from Priority Normal to Idle</p><p>[/CODE]</p><p>Log entries are only created when the priority is changed, otherwise it's silent.</p><p></p><p></p><p><strong><u>How to install and configure?</u></strong></p><ol> <li data-xf-list-type="ol">copy the .dll to TvServer\Plugins folder</li> <li data-xf-list-type="ol">enter SetupTv, enable plugin</li> <li data-xf-list-type="ol">choose your processes for idle, normal, realtime</li> <li data-xf-list-type="ol">you can modify the settings, they are applied when leaving the config section</li> </ol><p></p><p></p><p></p><p>Maybe someone else find it useful.</p><p></p><p>Morpheus_xx</p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 539409, member: 48495"] Here is a small plugin, which I created for my own HTPC. It's the result of an idea which I had yesterday ;) [U][B]warning:[/B][/U] [B][COLOR="Red"]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...[/COLOR][/B] [B][U]What it is intended for?[/U][/B] 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: [LIST] [*]AntiVirus scanne, [*]AntiVirus Updaters, [*]some windows services [*]maybe even MySQL service [*]... [/LIST] [B][U]How does it work?[/U][/B] 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 [/CODE] Log entries are only created when the priority is changed, otherwise it's silent. [B][U]How to install and configure?[/U][/B] [LIST=1] [*]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 [/LIST] Maybe someone else find it useful. Morpheus_xx [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Products
TV-Server
[New Plugin] Process Priority Manager
Contact us
RSS
Top
Bottom