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
Development
Improvement Suggestions
Channel change slow with TVE3, causing a lot of disk traffic
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="tatus" data-source="post: 358091" data-attributes="member: 47754"><p>Hi there,</p><p></p><p>I am currently investigating ways to reduce the TV channel switch time. I noticed that the TVserver process creates about 100MB of disk activity (mostly read) when I change channels. Then I used ProcessMonitor to find out which files are read and why. Below you see an extract of the log. You see that TVserver does some 2,000,000 byte reads that look strange to me. Is this behavior correct or maybe some dead code?</p><p></p><p>Regards</p><p>Frank</p><p></p><p>13:55:51,1322676 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 8, Length: 4</p><p>13:55:51,1322846 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 12, Length: 4</p><p>13:55:51,1323000 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 16, Length: 170</p><p>13:55:51,1323156 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 186, Length: 4</p><p>13:55:51,1323301 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 190, Length: 4</p><p>13:55:51,1340488 TVService.exe 1620 CreateFile D:\live2-0.ts.tsbuffer3.ts SUCCESS Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a, OpenResult: Opened</p><p>13:55:51,1340845 TVService.exe 1620 QueryStandardInformationFile D:\live2-0.ts.tsbuffer3.ts SUCCESS AllocationSize: 20.000.768, EndOfFile: 20.000.000, NumberOfLinks: 1, DeletePending: False, Directory: False</p><p>13:55:51,1341058 TVService.exe 1620 CloseFile D:\live2-0.ts.tsbuffer3.ts SUCCESS </p><p>13:55:51,1341206 TVService.exe 1620 IRP_MJ_CLOSE D:\live2-0.ts.tsbuffer3.ts SUCCESS </p><p>13:55:51,1352906 TVService.exe 1620 CreateFile D:\live2-0.ts.tsbuffer1.ts SUCCESS Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a, OpenResult: Opened</p><p>13:55:51,1353294 TVService.exe 1620 QueryStandardInformationFile D:\live2-0.ts.tsbuffer1.ts SUCCESS AllocationSize: 20.000.768, EndOfFile: 20.000.000, NumberOfLinks: 1, DeletePending: False, Directory: False</p><p>13:55:51,1353506 TVService.exe 1620 CloseFile D:\live2-0.ts.tsbuffer1.ts SUCCESS </p><p>13:55:51,1353666 TVService.exe 1620 IRP_MJ_CLOSE D:\live2-0.ts.tsbuffer1.ts SUCCESS </p><p>13:55:51,1362116 TVService.exe 1620 CreateFile D:\live2-0.ts.tsbuffer2.ts SUCCESS Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a, OpenResult: Opened</p><p>13:55:51,1362432 TVService.exe 1620 QueryStandardInformationFile D:\live2-0.ts.tsbuffer2.ts SUCCESS AllocationSize: 20.000.768, EndOfFile: 20.000.000, NumberOfLinks: 1, DeletePending: False, Directory: False</p><p>13:55:51,1362636 TVService.exe 1620 CloseFile D:\live2-0.ts.tsbuffer2.ts SUCCESS </p><p>13:55:51,1362773 TVService.exe 1620 IRP_MJ_CLOSE D:\live2-0.ts.tsbuffer2.ts SUCCESS </p><p>13:55:51,1363376 TVService.exe 1620 QueryStandardInformationFile D:\live2-0.ts.tsbuffer SUCCESS AllocationSize: 4.096, EndOfFile: 194, NumberOfLinks: 1, DeletePending: False, Directory: False</p><p>13:55:51,1363552 TVService.exe 1620 QueryStandardInformationFile D:\live2-0.ts.tsbuffer SUCCESS AllocationSize: 4.096, EndOfFile: 194, NumberOfLinks: 1, DeletePending: False, Directory: False</p><p>13:55:51,1363723 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 0, Length: 8</p><p>13:55:51,1363907 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 8, Length: 4</p><p>13:55:51,1364061 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 12, Length: 4</p><p>13:55:51,1364642 TVService.exe 1620 CreateFile D:\live2-0.ts.tsbuffer3.ts SUCCESS Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, AllocationSize: n/a, OpenResult: Opened</p><p>13:55:51,1392902 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer3.ts SUCCESS Offset: 500.000, Length: 4.000.000</p><p>13:55:51,1680604 TVService.exe 1620 QueryStandardInformationFile D:\live2-0.ts.tsbuffer SUCCESS AllocationSize: 4.096, EndOfFile: 194, NumberOfLinks: 1, DeletePending: False, Directory: False</p><p>13:55:51,1680861 TVService.exe 1620 QueryStandardInformationFile D:\live2-0.ts.tsbuffer SUCCESS AllocationSize: 4.096, EndOfFile: 194, NumberOfLinks: 1, DeletePending: False, Directory: False</p><p>13:55:51,1681040 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 0, Length: 8</p><p>13:55:51,1681232 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 8, Length: 4</p><p>13:55:51,1681386 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 12, Length: 4</p><p>13:55:51,1691605 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer3.ts SUCCESS Offset: 500.000, Length: 2.000.000</p><p>13:55:51,1750451 TVService.exe 1620 QueryStandardInformationFile D:\live2-0.ts.tsbuffer SUCCESS AllocationSize: 4.096, EndOfFile: 194, NumberOfLinks: 1, DeletePending: False, Directory: False</p><p>13:55:51,1750691 TVService.exe 1620 QueryStandardInformationFile D:\live2-0.ts.tsbuffer SUCCESS AllocationSize: 4.096, EndOfFile: 194, NumberOfLinks: 1, DeletePending: False, Directory: False</p><p>13:55:51,1750872 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 0, Length: 8</p><p>13:55:51,1751057 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 8, Length: 4</p><p>13:55:51,1751772 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 12, Length: 4</p><p>13:55:51,1752188 TVService.exe 1620 CloseFile D:\live2-0.ts.tsbuffer3.ts SUCCESS </p><p>13:55:51,1753700 TVService.exe 1620 CreateFile D:\live2-0.ts.tsbuffer2.ts SHARING VIOLATION Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, AllocationSize: n/a</p><p>13:55:51,1754482 TVService.exe 1620 CreateFile D:\live2-0.ts.tsbuffer2.ts SUCCESS Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: Read, Write, AllocationSize: n/a, OpenResult: Opened</p><p>13:55:51,1765254 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer2.ts SUCCESS Offset: 3.417.580, Length: 2.000.000</p><p>13:55:51,1827488 TVService.exe 1620 QueryStandardInformationFile D:\live2-0.ts.tsbuffer SUCCESS AllocationSize: 4.096, EndOfFile: 194, NumberOfLinks: 1, DeletePending: False, Directory: False</p><p>13:55:51,1827745 TVService.exe 1620 QueryStandardInformationFile D:\live2-0.ts.tsbuffer SUCCESS AllocationSize: 4.096, EndOfFile: 194, NumberOfLinks: 1, DeletePending: False, Directory: False</p><p>13:55:51,1827932 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 0, Length: 8</p><p>13:55:51,1828142 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 8, Length: 4</p><p>13:55:51,1828293 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 12, Length: 4</p><p>13:55:51,1828695 TVService.exe 1620 CloseFile D:\live2-0.ts.tsbuffer2.ts SUCCESS </p><p>13:55:51,1828991 TVService.exe 1620 IRP_MJ_CLOSE D:\live2-0.ts.tsbuffer2.ts SUCCESS </p><p>13:55:51,1830514 TVService.exe 1620 CreateFile D:\live2-0.ts.tsbuffer1.ts SUCCESS Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, AllocationSize: n/a, OpenResult: Opened</p><p>13:55:51,1842163 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer1.ts SUCCESS Offset: 765.116, Length: 2.000.000</p><p>13:55:51,1907269 TVService.exe 1620 CloseFile D:\live2-0.ts.tsbuffer SUCCESS </p><p>13:55:51,1907641 TVService.exe 1620 IRP_MJ_CLOSE D:\live2-0.ts.tsbuffer SUCCESS </p><p>13:55:51,1908035 TVService.exe 1620 CloseFile D:\live2-0.ts.tsbuffer1.ts SUCCESS </p><p>13:55:51,1908208 TVService.exe 1620 IRP_MJ_CLOSE D:\live2-0.ts.tsbuffer1.ts SUCCESS </p><p>13:55:51,1908608 TVService.exe 1620 CloseFile D:\live2-0.ts.tsbuffer SUCCESS</p></blockquote><p></p>
[QUOTE="tatus, post: 358091, member: 47754"] Hi there, I am currently investigating ways to reduce the TV channel switch time. I noticed that the TVserver process creates about 100MB of disk activity (mostly read) when I change channels. Then I used ProcessMonitor to find out which files are read and why. Below you see an extract of the log. You see that TVserver does some 2,000,000 byte reads that look strange to me. Is this behavior correct or maybe some dead code? Regards Frank 13:55:51,1322676 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 8, Length: 4 13:55:51,1322846 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 12, Length: 4 13:55:51,1323000 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 16, Length: 170 13:55:51,1323156 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 186, Length: 4 13:55:51,1323301 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 190, Length: 4 13:55:51,1340488 TVService.exe 1620 CreateFile D:\live2-0.ts.tsbuffer3.ts SUCCESS Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a, OpenResult: Opened 13:55:51,1340845 TVService.exe 1620 QueryStandardInformationFile D:\live2-0.ts.tsbuffer3.ts SUCCESS AllocationSize: 20.000.768, EndOfFile: 20.000.000, NumberOfLinks: 1, DeletePending: False, Directory: False 13:55:51,1341058 TVService.exe 1620 CloseFile D:\live2-0.ts.tsbuffer3.ts SUCCESS 13:55:51,1341206 TVService.exe 1620 IRP_MJ_CLOSE D:\live2-0.ts.tsbuffer3.ts SUCCESS 13:55:51,1352906 TVService.exe 1620 CreateFile D:\live2-0.ts.tsbuffer1.ts SUCCESS Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a, OpenResult: Opened 13:55:51,1353294 TVService.exe 1620 QueryStandardInformationFile D:\live2-0.ts.tsbuffer1.ts SUCCESS AllocationSize: 20.000.768, EndOfFile: 20.000.000, NumberOfLinks: 1, DeletePending: False, Directory: False 13:55:51,1353506 TVService.exe 1620 CloseFile D:\live2-0.ts.tsbuffer1.ts SUCCESS 13:55:51,1353666 TVService.exe 1620 IRP_MJ_CLOSE D:\live2-0.ts.tsbuffer1.ts SUCCESS 13:55:51,1362116 TVService.exe 1620 CreateFile D:\live2-0.ts.tsbuffer2.ts SUCCESS Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a, OpenResult: Opened 13:55:51,1362432 TVService.exe 1620 QueryStandardInformationFile D:\live2-0.ts.tsbuffer2.ts SUCCESS AllocationSize: 20.000.768, EndOfFile: 20.000.000, NumberOfLinks: 1, DeletePending: False, Directory: False 13:55:51,1362636 TVService.exe 1620 CloseFile D:\live2-0.ts.tsbuffer2.ts SUCCESS 13:55:51,1362773 TVService.exe 1620 IRP_MJ_CLOSE D:\live2-0.ts.tsbuffer2.ts SUCCESS 13:55:51,1363376 TVService.exe 1620 QueryStandardInformationFile D:\live2-0.ts.tsbuffer SUCCESS AllocationSize: 4.096, EndOfFile: 194, NumberOfLinks: 1, DeletePending: False, Directory: False 13:55:51,1363552 TVService.exe 1620 QueryStandardInformationFile D:\live2-0.ts.tsbuffer SUCCESS AllocationSize: 4.096, EndOfFile: 194, NumberOfLinks: 1, DeletePending: False, Directory: False 13:55:51,1363723 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 0, Length: 8 13:55:51,1363907 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 8, Length: 4 13:55:51,1364061 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 12, Length: 4 13:55:51,1364642 TVService.exe 1620 CreateFile D:\live2-0.ts.tsbuffer3.ts SUCCESS Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, AllocationSize: n/a, OpenResult: Opened 13:55:51,1392902 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer3.ts SUCCESS Offset: 500.000, Length: 4.000.000 13:55:51,1680604 TVService.exe 1620 QueryStandardInformationFile D:\live2-0.ts.tsbuffer SUCCESS AllocationSize: 4.096, EndOfFile: 194, NumberOfLinks: 1, DeletePending: False, Directory: False 13:55:51,1680861 TVService.exe 1620 QueryStandardInformationFile D:\live2-0.ts.tsbuffer SUCCESS AllocationSize: 4.096, EndOfFile: 194, NumberOfLinks: 1, DeletePending: False, Directory: False 13:55:51,1681040 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 0, Length: 8 13:55:51,1681232 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 8, Length: 4 13:55:51,1681386 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 12, Length: 4 13:55:51,1691605 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer3.ts SUCCESS Offset: 500.000, Length: 2.000.000 13:55:51,1750451 TVService.exe 1620 QueryStandardInformationFile D:\live2-0.ts.tsbuffer SUCCESS AllocationSize: 4.096, EndOfFile: 194, NumberOfLinks: 1, DeletePending: False, Directory: False 13:55:51,1750691 TVService.exe 1620 QueryStandardInformationFile D:\live2-0.ts.tsbuffer SUCCESS AllocationSize: 4.096, EndOfFile: 194, NumberOfLinks: 1, DeletePending: False, Directory: False 13:55:51,1750872 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 0, Length: 8 13:55:51,1751057 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 8, Length: 4 13:55:51,1751772 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 12, Length: 4 13:55:51,1752188 TVService.exe 1620 CloseFile D:\live2-0.ts.tsbuffer3.ts SUCCESS 13:55:51,1753700 TVService.exe 1620 CreateFile D:\live2-0.ts.tsbuffer2.ts SHARING VIOLATION Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, AllocationSize: n/a 13:55:51,1754482 TVService.exe 1620 CreateFile D:\live2-0.ts.tsbuffer2.ts SUCCESS Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: Read, Write, AllocationSize: n/a, OpenResult: Opened 13:55:51,1765254 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer2.ts SUCCESS Offset: 3.417.580, Length: 2.000.000 13:55:51,1827488 TVService.exe 1620 QueryStandardInformationFile D:\live2-0.ts.tsbuffer SUCCESS AllocationSize: 4.096, EndOfFile: 194, NumberOfLinks: 1, DeletePending: False, Directory: False 13:55:51,1827745 TVService.exe 1620 QueryStandardInformationFile D:\live2-0.ts.tsbuffer SUCCESS AllocationSize: 4.096, EndOfFile: 194, NumberOfLinks: 1, DeletePending: False, Directory: False 13:55:51,1827932 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 0, Length: 8 13:55:51,1828142 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 8, Length: 4 13:55:51,1828293 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer SUCCESS Offset: 12, Length: 4 13:55:51,1828695 TVService.exe 1620 CloseFile D:\live2-0.ts.tsbuffer2.ts SUCCESS 13:55:51,1828991 TVService.exe 1620 IRP_MJ_CLOSE D:\live2-0.ts.tsbuffer2.ts SUCCESS 13:55:51,1830514 TVService.exe 1620 CreateFile D:\live2-0.ts.tsbuffer1.ts SUCCESS Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, AllocationSize: n/a, OpenResult: Opened 13:55:51,1842163 TVService.exe 1620 ReadFile D:\live2-0.ts.tsbuffer1.ts SUCCESS Offset: 765.116, Length: 2.000.000 13:55:51,1907269 TVService.exe 1620 CloseFile D:\live2-0.ts.tsbuffer SUCCESS 13:55:51,1907641 TVService.exe 1620 IRP_MJ_CLOSE D:\live2-0.ts.tsbuffer SUCCESS 13:55:51,1908035 TVService.exe 1620 CloseFile D:\live2-0.ts.tsbuffer1.ts SUCCESS 13:55:51,1908208 TVService.exe 1620 IRP_MJ_CLOSE D:\live2-0.ts.tsbuffer1.ts SUCCESS 13:55:51,1908608 TVService.exe 1620 CloseFile D:\live2-0.ts.tsbuffer SUCCESS [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Improvement Suggestions
Channel change slow with TVE3, causing a lot of disk traffic
Contact us
RSS
Top
Bottom