10/19/2009, 05:03 PM
|
#1 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Location: Sunnyvale CA
Posts: 699
Likes Received: 6
Thanks: 19
Thanked 160 Times in 72 Posts
|
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. |
10/19/2009, 05:15 PM
|
#3 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Location: Sunnyvale CA
Posts: 699
Likes Received: 6
Thanks: 19
Thanked 160 Times in 72 Posts
|
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.... |
10/19/2009, 05:39 PM
|
#5 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Location: Sunnyvale CA
Posts: 699
Likes Received: 6
Thanks: 19
Thanked 160 Times in 72 Posts
|
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. |
10/19/2009, 05:43 PM
|
#6 (permalink) | |
|
Member
![]() ![]() Join Date: Jul 2009
Location: New York City
Posts: 194
Likes Received: 1
Thanks: 5
Thanked 29 Times in 14 Posts
|
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:
|
|
10/19/2009, 07:39 PM
|
#9 (permalink) | ||
|
Member
![]() Join Date: Jun 2009
Posts: 395
Likes Received: 7
Thanks: 123
Thanked 116 Times in 68 Posts
|
Quote:
![]() As an aside, anyone else try this?
__________________
Quote:
|
||
10/19/2009, 08:01 PM
|
#10 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Location: Sunnyvale CA
Posts: 699
Likes Received: 6
Thanks: 19
Thanked 160 Times in 72 Posts
|
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. |
10/20/2009, 02:22 AM
|
#12 (permalink) |
|
Member
![]() Join Date: Aug 2009
Posts: 187
Likes Received: 0
Thanks: 21
Thanked 48 Times in 32 Posts
|
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! |
10/21/2009, 11:23 AM
|
#13 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Location: Sunnyvale CA
Posts: 699
Likes Received: 6
Thanks: 19
Thanked 160 Times in 72 Posts
|
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. |
10/21/2009, 05:35 PM
|
#14 (permalink) |
|
Homebrew Developer
![]() Join Date: Jun 2009
Location: Louisville, KY
Posts: 312
Likes Received: 0
Thanks: 32
Thanked 60 Times in 28 Posts
|
The modern user wont be able to adjust this though.
This is a patch for the phone itself correct?
__________________
Beerology 101 | Liquorpedia | FMLshake | TFLNshake | MLIAshake FMLpro | PocketParty | FreeSun | Penguin Panic | Jot It | Cloud Hopper ___ Killin' It LLC | Austin Cameron | WebOS & Web Development |
10/21/2009, 05:40 PM
|
#16 (permalink) | |
|
Legend
![]() Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
|
Quote:
|
|
10/21/2009, 06:12 PM
|
#17 (permalink) |
|
Member
![]() Join Date: Jul 2009
Location: Chicago
Posts: 61
Likes Received: 0
Thanks: 6
Thanked 13 Times in 8 Posts
|
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!
|
10/21/2009, 06:39 PM
|
#18 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 770
Likes Received: 0
Thanks: 37
Thanked 276 Times in 83 Posts
|
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 |
10/21/2009, 06:45 PM
|
#19 (permalink) |
|
Homebrew Developer
![]() Join Date: Jun 2009
Location: Louisville, KY
Posts: 312
Likes Received: 0
Thanks: 32
Thanked 60 Times in 28 Posts
|
Well I meant average Pre users, someone not on PreCentral. So this won't really help developers.
__________________
Beerology 101 | Liquorpedia | FMLshake | TFLNshake | MLIAshake FMLpro | PocketParty | FreeSun | Penguin Panic | Jot It | Cloud Hopper ___ Killin' It LLC | Austin Cameron | WebOS & Web Development |
10/21/2009, 06:53 PM
|
#20 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Location: Sunnyvale CA
Posts: 699
Likes Received: 6
Thanks: 19
Thanked 160 Times in 72 Posts
|
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. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



