[mythtv] Remote file timeout.

avalanche at beyondmonkey.com avalanche at beyondmonkey.com
Sat Dec 13 19:38:30 EST 2003


----- Original Message ----- 
From: "Isaac Richards" <ijr at po.cwru.edu>
To: "Development of mythtv" <mythtv-dev at mythtv.org>
Sent: Saturday, December 13, 2003 7:51 PM
Subject: Re: [mythtv] Remote file timeout.


> On Saturday 13 December 2003 12:23 pm, avalanche at beyondmonkey.com wrote:
> > With that setup your backend should normally be able to respond within
> > the ~4 (may be a bit less) second timeout. Have you checked your HD DMA
> > settings? I know that some of the Maxtor drives can have acoustic
> > management (hdparm -M) enabled by default, that can have quite an impact
> > on HD seek times.
> 
> Hmm.. are you sure that that timeout is right?  I think it's going to be < 3 

On second glance no, not at all. I assumed the waitformore() call accounted for
most of the wait time but it was more the overhead, thus changing with CPU 
speed... 
Well, it does take 3.5 seconds on my crappy sub GHz box (the shame... ;).

> seconds or so..  Might be better to change it to check the elapsed time 
> instead of counting loop iterations.

Yup, attached, and beefed up the timeout a little too.

av
-------------- next part --------------
A non-text attachment was scrubbed...
Name: timeout.diff
Type: application/octet-stream
Size: 1584 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20031214/fcd322e8/timeout.obj


More information about the mythtv-dev mailing list