[mythtv-users] Auto-expire two files while recording two files

Blues Guy bluesguy_1 at yahoo.com
Sat Jan 31 08:41:09 EST 2004


--- Jeff <jeff at intersystems.com> wrote:
> At 12:41 AM 1/31/2004 -0500, you wrote:
> > > I have my Myth box setup to record Letterman and
> Leno,
> > > and also to only keep the 2 most recent shows of
> each.
> > >  So when it starts recording the two shows, it
> detects
> > > that it can expire the oldest two.  So now, it's
> > > writing two MPEG-2 files from the PVR's, while
> > > deleting two large MPEG-2 files from the drive
> and
> > > this causes blocking every night, consistently
> and
> > > repeatably.  (and somewhat understandably).  So
> my
> > > question is, is there anyway to either run the
> expire
> > > process at a later time, or at a lower priority
> to
> > > solve this?
> >
> >Not much that can be done in Myth about this.  I
> believe Myth is
> >effectively just using the unlink() system call
> which causes
> >the kernel to delete the file.  Since the deletion
> is run
> >inside the kernel you can't "nice" it or anything.
> >
> >I'd investigate different filesystems and maybe run
> some
> >tests on your own machine.  There's been quite a
> few discussions
> >on the mailing list about ext[23] vs reiser vs
> >insert-your-favorite-filesystem-name-here.
> 
> Myth could check to see whether a recording is
> in progress and if so, the deletion is queued for
> later.
> 
>

Thanks for the info.  I'll try the -T largefile4 thing
first.  I think the lower inode count will probably
help, but if not, I'll try jfs or xfs.  I just like
ext3, because I can use Partition Magic on it to
diddle with my partitions, like the time I found out I
wanted 2 GB for the system partition, instead of
1.5GB.  Saved me some time there... 

And sorry for screwing up the threading (if anyone
noticed)... I'm not sure how that happened?


Greg

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/


More information about the mythtv-users mailing list