Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mythtv works as TV, uses network too much when idle (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
IRQsRFun
Apprentice
Apprentice


Joined: 02 May 2003
Posts: 195
Location: Somewhere between .3 and .7 Vdd

PostPosted: Sat Jul 16, 2011 8:33 pm    Post subject: Mythtv works as TV, uses network too much when idle (solved) Reply with quote

I am able to watch TV on a newly installed mythtv setup. I am using a HD Homerun ethernet TV tuner. However, I am seeing 1.2MB/s-1.8MB/s usage a couple of minutes after I close the front end. I do not have myhtv setup to record anything. I know it is mythtv beacuse "/etc/init.d/mythbackend stop" stops the network usage.

Is this excessive network usage? I think it is but I am nor sure. Again, nothing is set up to be recorded.

Any comments/suggestion to reduce this network usage when I am not recording or watching would be appreciated.


Last edited by IRQsRFun on Mon Jul 25, 2011 5:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Sun Jul 17, 2011 10:42 pm    Post subject: Reply with quote

It seems like a pretty high network usage unless mythtv is running a background task to transcode recordings.
Back to top
View user's profile Send private message
dwbowyer
Apprentice
Apprentice


Joined: 18 Apr 2008
Posts: 155

PostPosted: Mon Jul 18, 2011 7:35 pm    Post subject: Reply with quote

Finding and marking commercials is also a task that could be off-loaded to networked systems.
Back to top
View user's profile Send private message
Nicias
Guru
Guru


Joined: 06 Dec 2005
Posts: 446

PostPosted: Tue Jul 19, 2011 3:39 pm    Post subject: Reply with quote

Do you have any other machines running mythbackend? Or just the one combined front/backend?

Have you tried adding "ALL" (just do this temporarily" to MYTH_VERBOSE in /etc/conf.d/mythbackend and then doing

Code:
# tail -f /var/log/mythtv/mythbackend.log
to see what myth says it's doing then?
Back to top
View user's profile Send private message
IRQsRFun
Apprentice
Apprentice


Joined: 02 May 2003
Posts: 195
Location: Somewhere between .3 and .7 Vdd

PostPosted: Mon Jul 25, 2011 12:13 am    Post subject: Reply with quote

Sorry about the delay, I was not getting email updates from theis forum post. The mythtv install all on one machine. I do not think I have done anything special to it (yet)

Here is what i did:

Code:



/etc/init.d/mythbackend stop

edited  /etc/conf.d/mythbackend for "all"

rm /var/log/mythtv/mythbackend.log

/etc/init.d/mythbackend start

waited for the network traffic

/etc/init.d/mythbackend stop




It appears to be mostly lines like:
Quote:

2011-07-24 19:39:59.482 MSqlQuery::exec(DBManager0) UPDATE program SET title = 'This Old House', subtitle = '', description = 'In the last episode of the Auburndale project, master electrician Allen Gallant finishes up the exterior low-voltage lighting, while inside, lighting designer Susan Arnold shows off the installed lighting plan and how she's made a house with low ceilings ', category = '', category_type = '', starttime = '2011-07-25T10:30:00', endtime = '2011-07-25T11:00:00', closecaptioned = 'true', subtitled = 'false', stereo = 'false', hdtv = 'false', subtitletypes = '1', audioprop = '0', videoprop = '0', partnumber = '0', parttotal = '0', syndicatedepisodenumber = '', airdate = '0000', originalairdate='', listingsource = '1', seriesid = '', programid = '', previouslyshown = 'false' WHERE chanid = '1243' AND starttime = '2011-07-25T10:30:00'
2011-07-24 19:39:59.488 EITHelper: Added 2 events -- complete(2) incomplete(4) unmatched(4)
2011-07-24 19:39:59.897 MSqlQuery::exec(DBManager1) SELECT title, subtitle, description, category, category_type, starttime, endtime, subtitletypes+0,audioprop+0, videoprop+0, seriesid, programid, partnumber, parttotal, syndicatedepisodenumber, airdate, originalairdate, previouslyshown,listingsource FROM program WHERE chanid = '1243' AND manualid = 0 AND ( ( starttime >= '2011-07-25T07:30:00' AND starttime < '2011-07-25T08:00:00' ) OR ( endtime > '2011-07-25T07:30:00' AND endtime <= '2011-07-25T08:00:00' ) ) <<<< Returns 1 row(s)
2011-07-24 19:39:59.898 MSqlQuery::next(DBManager1) Result: "title = Lidia's Italy, subtitle = , description = Light But Luscious, category = , category_type = , starttime = 2011-07-25T07:30:00, endtime = 2011-07-25T08:00:00, subtitletypes+0 = 1, audioprop+0 = 0, videoprop+0 = 0, seriesid = , programid = , partnumber = 0, parttotal = 0, syndicatedepisodenumber = , airdate = 0, originalairdate = , previouslyshown = 0, listingsource = 1"
2011-07-24 19:39:59.907 GM : Lidia's Italy new best match Lidia's Italy with score 11000
2011-07-24 19:39:59.911 EIT: accept match[0]: 11000 'Lidia's Italy' vs. 'Lidia's Italy'
2011-07-24 19:39:59.919 MSqlQuery::exec(DBManager1) UPDATE program SET title = 'Lidia's Italy', subtitle = '', description = 'Light But Luscious', category = '', category_type = '', starttime = '2011-07-25T07:30:00', endtime = '2011-07-25T08:00:00', closecaptioned = 'true', subtitled = 'false', stereo = 'false', hdtv = 'false', subtitletypes = '1', audioprop = '0', videoprop = '0', partnumber = '0', parttotal = '0', syndicatedepisodenumber = '', airdate = '0000', originalairdate='', listingsource = '1', seriesid = '', programid = '', previouslyshown = 'false' WHERE chanid = '1243' AND starttime = '2011-07-25T07:30:00'
2011-07-24 19:39:59.925 EITHelper: Added 1 events -- complete(1) incomplete(4) unmatched(4)
2011-07-24 19:40:00.240 DTVSM(103120B0-0): Time Offset: -2.0236



I suspect that the bandwidth is mostly the back end polling for TV directory information.
Back to top
View user's profile Send private message
Nicias
Guru
Guru


Joined: 06 Dec 2005
Posts: 446

PostPosted: Mon Jul 25, 2011 2:17 pm    Post subject: Reply with quote

It's been a while since I used mythtv for anything besides watching videos, but this looks like your machine is polling the HDHR for EIT schedule information. Do you use the OTA information for your scheduling or do you use something like schedulesdirect?
Back to top
View user's profile Send private message
IRQsRFun
Apprentice
Apprentice


Joined: 02 May 2003
Posts: 195
Location: Somewhere between .3 and .7 Vdd

PostPosted: Mon Jul 25, 2011 2:29 pm    Post subject: Reply with quote

I am using over the air information to get the EIT schedule information.
Back to top
View user's profile Send private message
Nicias
Guru
Guru


Joined: 06 Dec 2005
Posts: 446

PostPosted: Mon Jul 25, 2011 4:36 pm    Post subject: Reply with quote

Then I think that that traffic is the HDHomerun pulling in scheduling information. To check you could disable the EIT on that tuner, and see if that stops the traffic. If that is the case, I don't think there is anything you can do about it. My understanding of EIT is that it trickles in over the course of the day for the next while. The only option I know of to avoid using EIT is to switch to schedulesdirect,

-N
Back to top
View user's profile Send private message
IRQsRFun
Apprentice
Apprentice


Joined: 02 May 2003
Posts: 195
Location: Somewhere between .3 and .7 Vdd

PostPosted: Mon Jul 25, 2011 5:53 pm    Post subject: Reply with quote

Thank you everyone. I will mark this as solved
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum