NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums General General Discussion v
« Previous 1 … 120 121 122 123 124 … 159 Next »
0.97/.net 2.0...how's the perfomrance?

 
  • 0 Vote(s) - 0 Average
0.97/.net 2.0...how's the perfomrance?
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#11
2006-07-03, 11:55 AM
oh one bad thing, .net 2.0 seems to "crash" more now, before gbpvr would handle the crash internally and report it to the gbpvr.exe.log, now a lot of crashes will cause gbpvr to close and a error message be sent to the event log (but this error isnt as helpful and is harder to debug).

but thats only because of bugs to begin with Smile
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,909
Threads: 770
Joined: Nov 2003
#12
2006-07-03, 05:01 PM
Quote:@Sub: would it be possible to wrap the patches up in a new release?
I going to be doing that very soon.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,909
Threads: 770
Joined: Nov 2003
#13
2006-07-03, 05:13 PM
Quote:oh one bad thing, .net 2.0 seems to "crash" more now, before gbpvr would handle the crash internally and report it to the gbpvr.exe.log, now a lot of crashes will cause gbpvr to close and a error message be sent to the event log (but this error isnt as helpful and is harder to debug).

but thats only because of bugs to begin with
Yes, thats very correct.

The default behaviour of .NET 1.1 was to continue on if there was an unhandled exception on a background thread (for example, EPG update). .NET 2.0 treats this very differently, and instead terminates the application. This has accounted for nearly every failed recording I've looked into since v0.97 (though there is one other reason I'm aware of).

In the past this would have caused less impact because recordings would continue to happen, but some background logic may have stopped happening (File Conversion, EPG updates, Post Processing, Parallel Processing etc). These unhandled exceptions were never logged in the past, so we never knew they happened. Under the new .NET 2.0 scheme, the whole process will terminate, leading to failed recordings etc.

I wasnt aware of this until after v0.97 went out there. Much of the bug fixing since the release, and resulting patches, has gone into making sure unhandled exceptions were no longer possible on these background threads.

There is a setting that can be added to a .NET XML configuration file to get it to behave the same way as .NET 1.1, but this is just ignoring problems that were always there. I'd rather fix the problems.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,909
Threads: 770
Joined: Nov 2003
#14
2006-07-03, 05:20 PM
Another type of problem we've seen happening on .NET 2.0 is that some things are happening much quicker than they were previously, highlighting a problem with the Access database, which causes committed database updates not to be written to disk immediately. This can cause problems for logic that runs immediately after the updates occur, expecting the data to be there, but instead getting exceptions about inconsistant data.

In the old version of .NET, I had encountered this in a few place, and coded around it (with big sleeps in the code), but now I'm seeing these types of errors in a few more places.

...move on v0.98 when MS Access will no longer be an option.
lingenfr
Offline

Member

Posts: 64
Threads: 9
Joined: Mar 2006
#15
2006-07-03, 05:26 PM
sub Wrote:...move on v0.98 when MS Access will no longer be an option.
Yeah!
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,909
Threads: 770
Joined: Nov 2003
#16
2006-07-03, 05:43 PM
Quote:
sub Wrote:...move on v0.98 when MS Access will no longer be an option.
Yeah!
In case you dont already know, the alternative SQLite database option is already available in v0.97.
dottore
Offline

Posting Freak

Posts: 986
Threads: 44
Joined: May 2004
#17
2006-07-03, 06:20 PM
so overall it was a good idea to switch to .net 2.0. many unknown errors will be fixed then...

will you look into vista-compatibility? it works with vista, no problem, but every time i exit the config app, it crashes. it writes the changes but cannot restart the recording service.

one minor thing, since vista is not yet official...
---------------------
www.sitecomposer.de
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,909
Threads: 770
Joined: Nov 2003
#18
2006-07-03, 06:39 PM
I'm not going to try vista myself yet, but if you post the logs for this error then I'm happy to take a look.
dottore
Offline

Posting Freak

Posts: 986
Threads: 44
Joined: May 2004
#19
2006-07-03, 07:07 PM
ok, will try it tonight and post the logs. by the way, if you didn't manage to get a vista-key you won't be able to install it. microsoft stopped the vista-download today.
---------------------
www.sitecomposer.de
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,909
Threads: 770
Joined: Nov 2003
#20
2006-07-03, 07:11 PM
Dont worry, I'll definitly give vista a try with GB-PVR before vista is publically release - just not yet.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


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

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

Linear Mode
Threaded Mode