NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 654 655 656 657 658 … 1231 Next »
Closing (Clicking on OK) Config Takes Forever

 
  • 0 Vote(s) - 0 Average
Closing (Clicking on OK) Config Takes Forever
nitrogen_widget
Offline

Posting Freak

Posts: 797
Threads: 33
Joined: Aug 2005
#11
2006-12-13, 02:03 PM
I get similiar speed issues.
Though not that bad.
It took about 3 mins. for the config app to close & about 3 also for the guide to come up.
Lot's of disk activity.
I went to zap2it & saw that easily 100 new channels appeared for Driectv.
Chanels I will never use & in fact didn't even know existed.
I trimmed things down & it seemed to speed things up.
It took my sql DB from 45 mb to around 27 mb.

I just figured it wasn't the channels themselves but all the guide text with them that has to processed that was causing problems.
Ted the Penguin
Offline

Posting Freak

Posts: 1,590
Threads: 64
Joined: Aug 2006
#12
2006-12-13, 02:35 PM
I think its everything, all of the channels, plus the text for them, plus how many days you have in the EPG, it adds up. also I dont know how sqllite scales, or if there is a memory bottleneck somewhere that when you get over a certain size it will get exponentially slower because it has to cache to disk, or the database becomes inefficient when over some size, so every single operation takes longer
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,810
Threads: 769
Joined: Nov 2003
#13
2006-12-13, 03:27 PM
The genre items also have a big impact on how long things take. There is often several of these per show. With 577 odd channels, 13 days of listings, its often inserting quarter of million listings (assuming about 30 shows per day per channel), and over half a million genre items. Thats quite a bit of data, and because the EPG needs to be able to accommodate the situation where data already exists (ie, subsequent EPG updates), it needs to check for the existance of certain items before deciding if it needs to insert or update existing ones. This is a big factor.
Echoloc8
Offline

Junior Member

Posts: 8
Threads: 1
Joined: Dec 2006
#14
2006-12-13, 04:29 PM
Well, trimming my DirecTV channels from 600ish (including locals) down to around 120 seems to have done the trick, for both issues! Big Grin

Saving and exiting config.exe is now down to around 10 seconds, and the wait for the first access of the TV Guide screen in the GUI is down to around 45 seconds, which is acceptable, since I'll be leaving the GUI up all the time.

Thanks muchly for all the help! I will be interested to see if better scaling with SQLite becomes possible with time, though I do understand the massive amounts of data involved (I'm a database/intranet programmer in my day job).

-Rich
Ted the Penguin
Offline

Posting Freak

Posts: 1,590
Threads: 64
Joined: Aug 2006
#15
2006-12-13, 04:34 PM
sub Wrote:it needs to check for the existance of certain items before deciding if it needs to insert or update existing ones.
HAHA THERE is where it becomes exponential
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,810
Threads: 769
Joined: Nov 2003
#16
2006-12-13, 04:40 PM
Yes exactly. There are some more complex schemes I could use to avoid this occuring, but for the majority of users the existing approach works just fine. Its only a problem for that small percentage of users that are in the US with a phenominally large number of channels. I'd guess the vast majority of users have less than a hundred channels - most a lots less.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,810
Threads: 769
Joined: Nov 2003
#17
2006-12-13, 04:42 PM
Sorry, I drifted back to saving the EPG again... I forgot we were discussing loading the tv guide.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,810
Threads: 769
Joined: Nov 2003
#18
2006-12-13, 04:44 PM
Quote:Saving and exiting config.exe is now down to around 10 seconds, and the wait for the first access of the TV Guide screen in the GUI is down to around 45 seconds, which is acceptable, since I'll be leaving the GUI up all the time.
Its worth noting, that this delay is only seen if the first thing you do after start GB-PVR is switch to the TV Guide. If you'd been doing others first (live tv, viewing recordings etc), then the TV Guide will give you zero delay the first time you access it, since the background load would have completed by then.
Echoloc8
Offline

Junior Member

Posts: 8
Threads: 1
Joined: Dec 2006
#19
2006-12-13, 04:47 PM
FWIW, it makes complete sense that saving the entire EPG would take a large amount of time: it's loads and loads of information. Cool

I hadn't realized that genre info caused so many problems, though: all the more impressive that Zap2it makes their guide data available free for personal use.

-Rich
Echoloc8
Offline

Junior Member

Posts: 8
Threads: 1
Joined: Dec 2006
#20
2006-12-13, 04:52 PM
sub Wrote:Its worth noting, that this delay is only seen if the first thing you do after start GB-PVR is switch to the TV Guide. If you'd been doing others first (live tv, viewing recordings etc), then the TV Guide will give you zero delay the first time you access it, since the background load would have completed by then.

Very true, and that's a welcome feature. Smile My getting-started experience has been distorting my perception, I think, because I've been doing all my testing without a real collection of recordings, which means the only way to test video was to hit Live TV or the TV Guide, both of which depend (Live TV seemingly less so, for channel-changing) on having guide data loaded.

During normal use I'll be hitting recordings first thing, of course, allowing the TV Guide data to background-load with no fuss.

-Rich
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can't view channels in config donschjr 8 2,946 2010-08-13, 12:50 AM
Last Post: donschjr
  Easy way to toggle Client/Server without using Config? Dan the man 2 2,157 2010-08-02, 11:53 AM
Last Post: Reddwarf
  Strange database problem -- pvrx2 not seeing updates, EWA and Config.exe are. 86atc250r 5 2,527 2010-07-26, 10:09 AM
Last Post: martint123
  Problem with Config Vasbert 1 1,479 2010-06-23, 06:20 PM
Last Post: sub
  HVR 1600 There is sound but no picture ? config problem? frank532 7 3,161 2010-06-11, 06:59 PM
Last Post: ShiningDragon
  Config crashing. JP23 6 2,597 2010-05-30, 04:07 PM
Last Post: sub
  Config doesn't seem to be updating... Miller 1 1,695 2010-05-28, 12:50 AM
Last Post: JonnyCam
  hvr900h - works in config, not in pvrx2 carrots 1 1,485 2010-05-21, 01:42 PM
Last Post: sub
  cannot map the digital channel in config avengine 0 1,148 2010-05-01, 11:57 PM
Last Post: avengine
  Exception starting config.exe Whoopsadaisy 1 1,609 2010-03-31, 08:35 PM
Last Post: Cybernik

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode