Jump to content


Photo

Freezing Screen

DM7020

  • Please log in to reply
49 replies to this topic

Re: Freezing Screen #41 allstarnz

  • Member
  • 36 posts

0
Neutral

Posted 28 November 2008 - 10:50

got pointed in this direction by NFSNovice...

I have a DM7020 using Jade and SQLite and have exactly the same thing. Seems to have crept in this latest build perhaps? I was running the build prior to Jade final, did the updates a few weeks ago and bam.

As suggested in this thread, I have changed the timezone, and set a swapfile of 8MB on my USB stick. Timezone change seems to have made a difference, faster but still not as good as it was not that long ago.

My EPG is 27.1MB

Re: Freezing Screen #42 WanWizard

  • PLi® Core member
  • 68,707 posts

+1,741
Excellent

Posted 29 November 2008 - 23:37

Another tip that I have a bit of success with at the moment:

Analysis of the database file has shown that db_epg (the import tool) has a negative impact on the way the records are stored in the database, leaving large gaps amounting up to 70% of the file. SQLite has a command called VACUUM, which reorders, compacts and reindexes the database. We have this command scheduled in Enigma every night at 04:00. I see a significant improvement in the stability and performance of the box if I schedule the radiotimes import so that it is finished before 04:00, when Enigma reorganizes the database.

Someone willing to try this as well, and see if the results can be reproduced?

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Freezing Screen #43 nfnovice

  • Senior Member
  • 696 posts

0
Neutral

Posted 30 November 2008 - 02:54

could even put the vaccuum (reorg and pack) as the last line of the epg import script - load it up and then clean it up.
what routine looks after throwing out previous days entries - that would leave gaps in the database anyway
DM800+DM7025+DM7020+DM7000+DM600+DM5620+DM500+VUDUO Dreambox great invention - whats it for ?

Re: Freezing Screen #44 WanWizard

  • PLi® Core member
  • 68,707 posts

+1,741
Excellent

Posted 30 November 2008 - 12:08

True. We've looked at this, but a VACUUM takes quite a lot of time (on my box a little over 3 minutes last night), and while it's running the box is unresponsive. It is therefore not a good idea to have enigma do it at regular intervals.

It might be an option to have db_epg do this, but I'd like some confirmation first that this really helps.

I just checked the logs of my debug version, and I only see a DELETE query when Enigma starts. So it looks like there is no regular cleanup of old records. This also might have a negative effect if you never restart Enigma. We'll have to look into this as well.

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Freezing Screen #45 nfnovice

  • Senior Member
  • 696 posts

0
Neutral

Posted 30 November 2008 - 22:24

I would think that most people run the scripts to load epg in the wee hours of the morning - that would probably also be a decent time to run any maintenance on the epg.
I note your comments on the the delete query only running when enigma starts - interesting.
What about the option to limit epg store size in EPG settings - what effect does that have - logic would suggest it must enable some deleting ?
DM800+DM7025+DM7020+DM7000+DM600+DM5620+DM500+VUDUO Dreambox great invention - whats it for ?

Re: Freezing Screen #46 WanWizard

  • PLi® Core member
  • 68,707 posts

+1,741
Excellent

Posted 1 December 2008 - 09:02

The limit epg store size is a setting for the standard memory EPG. When you restart enigma, this EPG is dumped to flash (default), and when it is to big, you get storage problems or enigma refuses to start. The americans have a lot of problems with that, Dish/BEV send lots of EPG data. It isn't used for SQLite.

With regards to the delete query, other team members have reported that their box runs delete queries on a regular basis. We're trying to find out why mine doesn't.

I have now scheduled the epg scripts at 03:30, before the maintenance, and that seems to work pretty well. The box is still responsive, and hardly no hickups noticable when browsing though the service selector. Still early days to call this conclusive though...

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Freezing Screen #47 allstarnz

  • Member
  • 36 posts

0
Neutral

Posted 2 December 2008 - 00:10

my EPG was playing silly buggers, so I killed the database, and started again. Goes much faster now.

I tried vacuum in two different times, both times it said the database was malformed.

Re: Freezing Screen #48 Sicilian

  • Senior Member
  • 454 posts

0
Neutral

Posted 2 December 2008 - 14:04

I'm willing to try vacuum if the details can be posted please.

Re: Freezing Screen #49 WanWizard

  • PLi® Core member
  • 68,707 posts

+1,741
Excellent

Posted 2 December 2008 - 14:29

Enigma does a VACUUM every night at 04:00, so there's nothing you should do manually.

What helps in my case (YMMV) is to run the import script before 04:00, instead of after it, so that the database can be compacted after the import.

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Freezing Screen #50 doggone1

  • Member
  • 23 posts

0
Neutral

Posted 15 March 2009 - 19:10

Hi all just found this thread after 3 months of freezing and lock ups even remote control was unprdictable even after updating to latest version of jade set to system time and alls working great no problems at all thanks for posting this



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users