[mythtv] Re:Channel change speed

Edward Wildgoose Edward.Wildgoose at FRMHedge.com
Fri Sep 12 15:56:16 EDT 2003


> A Sex, 2003-09-12 ās 09:10, Edward Wildgoose escreveu:
> > > Just fyi, it takes 2 seconds for me to change channels and I am not
> > > using an external program to change channels. I havn't bother tracking
> > 
> > What FS do you use?  
> 
> ext3 -o nodev,nosuid,noatime

Well, it was just a thought.  Since people mentioned that it took a while to shut down the last session on channel change I wondered if it was something to do with the time needed to remove the buffer file from disk.  Ext3 at least with certain journalling takes a few secs to delete large files (presumbaly updating the bitmap).  I believe that Reiser isn't great with large files either, but I don't run it so have no experience...

The first useful step would be for someone to benchmark chunks of code and see where the time is being spent.  Look where the change channel code is called and wrap large chunks of that with a bit of code to time it.  Narrow it down and perhaps test to see if it really is something simple like the ring buffer deletion (which is what was being speculated earlier in this thread).  We will all be interested to hear I guess...

Ed W



More information about the mythtv-dev mailing list