|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
10/19/2009, 07:03 PM
|
#1 (permalink) |
|
Member
Join Date: Jun 2009
Location: Sunnyvale CA
Posts: 534
Thanks: 18
Thanked 103 Times in 46 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.
__________________
I know Javascript. And CSS, and design. Check out my To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. . Beauty AND brains! To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , the real dot matrix message scroller! |
|
|
| Thanked By 3: |
10/19/2009, 07:08 PM
|
#2 (permalink) |
|
Member
Join Date: Jul 2009
Location: New York City
Posts: 179
Thanks: 5
Thanked 23 Times in 13 Posts
|
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... To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
|
|
10/19/2009, 07:15 PM
|
#3 (permalink) |
|
Member
Join Date: Jun 2009
Location: Sunnyvale CA
Posts: 534
Thanks: 18
Thanked 103 Times in 46 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....
__________________
I know Javascript. And CSS, and design. Check out my To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. . Beauty AND brains! To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , the real dot matrix message scroller! |
|
|
10/19/2009, 07:39 PM
|
#5 (permalink) |
|
Member
Join Date: Jun 2009
Location: Sunnyvale CA
Posts: 534
Thanks: 18
Thanked 103 Times in 46 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.
__________________
I know Javascript. And CSS, and design. Check out my To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. . Beauty AND brains! To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , the real dot matrix message scroller! |
|
|
10/19/2009, 07:43 PM
|
#6 (permalink) | |
|
Member
Join Date: Jul 2009
Location: New York City
Posts: 179
Thanks: 5
Thanked 23 Times in 13 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:
__________________
P2Labs :: finger on the pulse... To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
|
|
|
10/19/2009, 09:39 PM
|
#9 (permalink) | ||
|
Member
Join Date: Jun 2009
Posts: 299
Thanks: 98
Thanked 80 Times in 47 Posts
|
Quote:
![]() As an aside, anyone else try this?
__________________
Quote:
|
||
|
|
10/19/2009, 10:01 PM
|
#10 (permalink) |
|
Member
Join Date: Jun 2009
Location: Sunnyvale CA
Posts: 534
Thanks: 18
Thanked 103 Times in 46 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.
__________________
I know Javascript. And CSS, and design. Check out my To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. . Beauty AND brains! To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , the real dot matrix message scroller! |
|
|
10/20/2009, 04:22 AM
|
#12 (permalink) |
|
Member
Join Date: Aug 2009
Posts: 158
Thanks: 19
Thanked 41 Times in 25 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, 01:23 PM
|
#13 (permalink) |
|
Member
Join Date: Jun 2009
Location: Sunnyvale CA
Posts: 534
Thanks: 18
Thanked 103 Times in 46 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.
__________________
I know Javascript. And CSS, and design. Check out my To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. . Beauty AND brains! To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , the real dot matrix message scroller! |
|
|
10/21/2009, 07:35 PM
|
#14 (permalink) |
|
Member
Join Date: Jun 2009
Location: Louisville, KY
Posts: 255
Thanks: 25
Thanked 58 Times in 26 Posts
|
The modern user wont be able to adjust this though.
This is a patch for the phone itself correct?
__________________
My Apps: To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. _______________ To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
|
|
10/21/2009, 07:39 PM
|
#15 (permalink) |
|
Member
Join Date: Jun 2009
Location: Sunnyvale CA
Posts: 534
Thanks: 18
Thanked 103 Times in 46 Posts
|
The 'modern user' ?
This is a patch like any other patch really.
__________________
I know Javascript. And CSS, and design. Check out my To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. . Beauty AND brains! To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , the real dot matrix message scroller! |
|
|
10/21/2009, 07:40 PM
|
#16 (permalink) | |
|
Member
![]() Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 1,716
Thanks: 448
Thanked 6,763 Times in 604 Posts
|
Quote:
|
|
|
|
10/21/2009, 08:12 PM
|
#17 (permalink) |
|
Member
Join Date: Jul 2009
Location: Chicago
Posts: 60
Thanks: 5
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, 08:39 PM
|
#18 (permalink) |
|
Member
Join Date: Jun 2009
Posts: 767
Thanks: 37
Thanked 264 Times in 82 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, 08:45 PM
|
#19 (permalink) |
|
Member
Join Date: Jun 2009
Location: Louisville, KY
Posts: 255
Thanks: 25
Thanked 58 Times in 26 Posts
|
Well I meant average Pre users, someone not on PreCentral. So this won't really help developers.
__________________
My Apps: To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. _______________ To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
|
|
10/21/2009, 08:53 PM
|
#20 (permalink) |
|
Member
Join Date: Jun 2009
Location: Sunnyvale CA
Posts: 534
Thanks: 18
Thanked 103 Times in 46 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.
__________________
I know Javascript. And CSS, and design. Check out my To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. . Beauty AND brains! To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , the real dot matrix message scroller! |
|
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT -4. The time now is 04:31 PM.








Linear Mode








