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
MediaPortal 1
Quality Assurance
Bugreports
Archive
Recording and timeshift ts files saved by System account with backgound priority
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="mm1352000" data-source="post: 1213812" data-attributes="member: 82144"><p>Please allow me to be up-front with you.</p><p></p><p>1. I'm a little doubtful that your problem is caused by I/O contention.</p><p>Packet loss could be caused by other factors like signal strength/quality issues, a badly behaved driver that causes high DPC latency, etc.</p><p></p><p>2. In my opinion it's not practical for us to set the I/O priority.</p><p>Results of a quick Internet search suggest that Microsoft doesn't intend to make it possible for programs to <em>increase</em> their I/O priority. It's possible (via <a href="https://msdn.microsoft.com/en-us/library/ms686219%28VS.85%29.aspx" target="_blank">SetProcessPriorityClass</a> with PROCESS_MODE_BACKGROUND_BEGIN/PROCESS_MODE_BACKGROUND_END) for programs to <em>lower</em> their I/O priority when doing background work (we're definitely not doing this!)... but in all other cases, Windows gets to choose the I/O priority.</p><p><a href="http://superuser.com/questions/136021/how-to-change-i-o-priority-of-a-process-or-thread-in-win7" target="_blank">How to change I/O priority of a process or thread in Win7?</a></p><p><a href="http://geekswithblogs.net/akraus1/archive/2014/06/30/157203.aspx" target="_blank">Fun With Process/Thread and IO Priorities</a></p><p></p><p>The links above do mention an "NTSetInformationProcess" Windows API function which can be used to select any preferred I/O priority value. However, that function is undocumented. That's why I said "Microsoft doesn't intend...". In my opinion it's best that we avoid using undocumented functions.</p><p></p><p>3. I'm a little doubtful that setting the I/O priority would be a reliable solution for an I/O contention problem.</p><p>Increasing the priority doesn't make the contention go away. You'd still be stuck trying to get good performance while multi-tasking with a single, half full (therefore, probably reasonably fragmented) 5400 rpm HDD.</p><p></p><p>If you haven't already done so, my advice would be to try to confirm that the problem is really caused by I/O contention. In other words:</p><ul> <li data-xf-list-type="ul">check signal strength/quality</li> <li data-xf-list-type="ul">check DPC latency</li> <li data-xf-list-type="ul">try to use Process Lasso or similar to increase the I/O priority and check if it makes any difference<br /> </li> <li data-xf-list-type="ul">defragment your HDD and check if that makes any difference<br /> </li> <li data-xf-list-type="ul">if possible, reduce multi-tasking while recording and check if that makes any difference</li> </ul><p>If the problem is caused by I/O contention, probably the best solution may involve upgrading your HDD (eg. get an SSD and/or additional/faster HDD) and/or use of Process Lasso.</p></blockquote><p></p>
[QUOTE="mm1352000, post: 1213812, member: 82144"] Please allow me to be up-front with you. 1. I'm a little doubtful that your problem is caused by I/O contention. Packet loss could be caused by other factors like signal strength/quality issues, a badly behaved driver that causes high DPC latency, etc. 2. In my opinion it's not practical for us to set the I/O priority. Results of a quick Internet search suggest that Microsoft doesn't intend to make it possible for programs to [I]increase[/I] their I/O priority. It's possible (via [URL='https://msdn.microsoft.com/en-us/library/ms686219%28VS.85%29.aspx']SetProcessPriorityClass[/URL] with PROCESS_MODE_BACKGROUND_BEGIN/PROCESS_MODE_BACKGROUND_END) for programs to [I]lower[/I] their I/O priority when doing background work (we're definitely not doing this!)... but in all other cases, Windows gets to choose the I/O priority. [URL="http://superuser.com/questions/136021/how-to-change-i-o-priority-of-a-process-or-thread-in-win7"]How to change I/O priority of a process or thread in Win7?[/URL] [URL="http://geekswithblogs.net/akraus1/archive/2014/06/30/157203.aspx"]Fun With Process/Thread and IO Priorities[/URL] The links above do mention an "NTSetInformationProcess" Windows API function which can be used to select any preferred I/O priority value. However, that function is undocumented. That's why I said "Microsoft doesn't intend...". In my opinion it's best that we avoid using undocumented functions. 3. I'm a little doubtful that setting the I/O priority would be a reliable solution for an I/O contention problem. Increasing the priority doesn't make the contention go away. You'd still be stuck trying to get good performance while multi-tasking with a single, half full (therefore, probably reasonably fragmented) 5400 rpm HDD. If you haven't already done so, my advice would be to try to confirm that the problem is really caused by I/O contention. In other words: [LIST] [*]check signal strength/quality [*]check DPC latency [*]try to use Process Lasso or similar to increase the I/O priority and check if it makes any difference [*]defragment your HDD and check if that makes any difference [*]if possible, reduce multi-tasking while recording and check if that makes any difference [/LIST] If the problem is caused by I/O contention, probably the best solution may involve upgrading your HDD (eg. get an SSD and/or additional/faster HDD) and/or use of Process Lasso. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Quality Assurance
Bugreports
Archive
Recording and timeshift ts files saved by System account with backgound priority
Contact us
RSS
Top
Bottom