Page 1 of 2 12 LastLast
Results 1 to 20 of 38
  1.    #1  
    So... just for the heck of it, I removed the --gc_global flag from /etc/palm/browser.conf after learning that this flag controls the 'big garbage collection' that takes 300ms every time it kicks in.

    I was quite surprised to see that my app 'Screamager' runs MUCH smoother now. I'd think a lot of other apps that are pestered by 'choppiness' may now run smoother.

    I have no idea yet what the side effects of removing this flag are but... so far so good. I'm gonna keep running for a while like this to see if I discover any disadvantages.
    My shiny new TouchPad apps: Scientific RPN Calculator HD - Screamager HD
  2. #2  
    oooh.. I wonder what other increases can be found...

    btw - what are you going to do with your rpn calc and the pixi?
    P2Labs :: finger on the pulse...
    P2Labs.com | Twitter | P2Snippets | P2Wardrobe
  3.    #3  
    I'm still trying to figure that out. The 80px less screen estate is a real showstopper for that app...

    For Screamager I can just 'squeeze' the dots a bit which won't matter much for the experience. For the calculator however there's not much I can squeeze without ruining the user experience.

    When creating this app I couldn't have dreamed that Palm would be stupid enough to go with multiple display resolutions. Horror....
    My shiny new TouchPad apps: Scientific RPN Calculator HD - Screamager HD
  4. diomark's Avatar
    Posts
    752 Posts
    Global Posts
    770 Global Posts
    #4  
    Cool find; Let us know if you see any differences in memory usage..
    -m
  5.    #5  
    I'm not an expert in memory usage monitoring but using 'top' I haven't been able to spot anything alarming so far.

    Note: The choppiness is not completely gone but the frequency of 'freezes' in Screamager seems to have gone down a lot and the framerate seems a bit better as well.
    My shiny new TouchPad apps: Scientific RPN Calculator HD - Screamager HD
  6. #6  
    If they did the least they could have done was go for a HIGHER resolution and a LARGER screen. I'm not sure how well Pixi will be received. If it's a "poor mans" Pre that's really stretching it as a Pre is so cheap compared to those 'other' phones...

    Quote Originally Posted by TheMarco View Post
    I'm still trying to figure that out. The 80px less screen estate is a real showstopper for that app...

    For Screamager I can just 'squeeze' the dots a bit which won't matter much for the experience. For the calculator however there's not much I can squeeze without ruining the user experience.

    When creating this app I couldn't have dreamed that Palm would be stupid enough to go with multiple display resolutions. Horror....
    P2Labs :: finger on the pulse...
    P2Labs.com | Twitter | P2Snippets | P2Wardrobe
  7.    #7  
    been running with this setting all afternoon now. I have not experienced any issues yet.
  8. #8  
    Here's a quick patch if anyone else wants to try this out. Very interesting find TheMarco
    Attached Files Attached Files
  9. #9  
    Quote Originally Posted by Jason Robitaille View Post
    Here's a quick patch if anyone else wants to try this out. Very interesting find TheMarco
    You zipped a 400 byte file? Well done.


    As an aside, anyone else try this?
    Quote Originally Posted by Brain_ReCall
    I'm an Embedded Software Engineer. My idea of a Good User Interface is printf().
  10.    #10  
    I guess the worst that could go WRONG with this is the phone starting to leak memory over time. In that case it would slowly get more and more sluggish, you'd reboot, put the --gc_global back and reboot again.

    I don't think there are any risks involved with trying this.

    My phone is still doing absolutely fine with this.
    My shiny new TouchPad apps: Scientific RPN Calculator HD - Screamager HD
  11. #11  
    Quote Originally Posted by Brain_ReCall View Post
    You zipped a 400 byte file? Well done.
    PreCentral forums don't support direct .patch uploads
  12. #12  
    Hey TheMarco, great find!

    I love the Screamager app and I'm definitely willing to test a way to make it smoother

    *Update*

    Ok tested the app and it runs great. I still get a freeze after every 3 passes of the text with the default text in there, but it beats the 1&1/2 I was getting before. Also the freezes seem to take less time before they unfreeze. They're just kind of small hiccups now.

    Thanks alot, I'll leave this on!
  13.    #13  
    Did anyone test this with other apps that have laggy performance? I'm surprised that this thread receives so little attention.

    Update from my part: I've been running my phone for almost 24 hours now and I have not found any drawbacks for this tweak.
    My shiny new TouchPad apps: Scientific RPN Calculator HD - Screamager HD
  14. #14  
    The modern user wont be able to adjust this though.

    This is a patch for the phone itself correct?
  15.    #15  
    The 'modern user' ?

    This is a patch like any other patch really.
    My shiny new TouchPad apps: Scientific RPN Calculator HD - Screamager HD
  16. #16  
    Quote Originally Posted by socca1157 View Post
    The modern user wont be able to adjust this though.

    This is a patch for the phone itself correct?
    It's a patch for a configuration file on the Pre, yea. And the average user should be able to install the patch easy. It's not too difficult: http://forums.precentral.net/canuck-...les-wosqi.html
  17. wkalam2's Avatar
    Posts
    59 Posts
    Global Posts
    61 Global Posts
    #17  
    This was simple to install, and I've too noticed speed increases almost everywhere. Overall it just seems way less laggy and snappier. Looking forward to seeing if it stays that way!
  18. diomark's Avatar
    Posts
    752 Posts
    Global Posts
    770 Global Posts
    #18  
    For what it's worth, I think this hack helps. I did notice one thing though (that I haven't been able to replicate..) - using drPodder to play a downloaded podcast, it started cutting out on me half-way through - and I also hit the too many cards error. pausing it and replying fixed the issue.. (I've *never* had that problem before in my 2+ months of using drpodder to listen to podcasts..) - so maybe it's not performing garbage collection that's needed to clear out the buffer?

    Keeping this hack on and will see how things go.

    -m
  19. #19  
    Well I meant average Pre users, someone not on PreCentral. So this won't really help developers.
  20.    #20  
    diomark that could very well be.

    In my opinion it would be ideal if apps could trigger their OWN garbage collection when needed and have this run as some low-priority background process rather than something that pretty much locks up the phone for a third of a second.

    For example in Screamager I would run it after the animation finishes scrolling, right before it starts over again. It would work fine and there would be no hiccups.
    My shiny new TouchPad apps: Scientific RPN Calculator HD - Screamager HD
Page 1 of 2 12 LastLast

Posting Permissions