webOS Nation Forums >  webOS apps and software >  webOS development > Removing --gc_global flag in /etc/palm/browser.conf : animation speed increase
Removing --gc_global flag in /etc/palm/browser.conf : animation speed increase

  Reply
 
LinkBack Thread Tools Display Modes
Old 10/21/2009, 06:55 PM   #21 (permalink)
Member
 
TheMarco's Avatar
 
Join Date: Jun 2009
Location: Sunnyvale CA
Posts: 699
Likes Received: 6
Thanks: 19
Thanked 160 Times in 72 Posts
Default

Quote:
Originally Posted by socca1157 View Post
Well I meant average Pre users, someone not on PreCentral. So this won't really help developers.
I agree. However this is the case with all patches and apps presented here.

I wasn't offering this idea as a 'solution' but more as an interesting little thing that shows that better performance IS possible
__________________
My shiny new TouchPad apps: Scientific RPN Calculator HD - Screamager HD
TheMarco is offline   Reply With Quote
Old 10/21/2009, 07:11 PM   #22 (permalink)
Homebrew Developer
 
socca1157's Avatar
 
Join Date: Jun 2009
Location: Louisville, KY
Posts: 312
Likes Received: 0
Thanks: 32
Thanked 60 Times in 28 Posts
Default

In that case, interesting discovery!
__________________
Beerology 101 | Liquorpedia | FMLshake | TFLNshake | MLIAshake
FMLpro | PocketParty | FreeSun | Penguin Panic | Jot It | Cloud Hopper
___
Killin' It LLC | Austin Cameron | WebOS & Web Development
socca1157 is offline   Reply With Quote
Old 10/23/2009, 07:54 AM   #23 (permalink)
Member
 
rboatright's Avatar
 
Join Date: Jun 2009
Location: topeka, ks
Posts: 550
Likes Received: 0
Thanks: 4
Thanked 188 Times in 90 Posts
Default

The ability of apps to trigger a gc when they want would make LOTS of games run better.
Run a "small" gc when you launch a new ball, etc.

Get rid of the randomness.
__________________
Rick_
http://www.webos-internals.org
http://www.1632.org
rboatright is offline   Reply With Quote
Old 10/23/2009, 08:08 AM   #24 (permalink)
Member
 
Shadavis08's Avatar
 
Join Date: Aug 2009
Location: Ї Ƈøṁε ℉яøṁ ṫɦε ℓαη∂ øḟ ṫɦε øḟḟ ṫø℘ḯ¢ !! NOW BACK OFF !! ltm ltm ltm
Posts: 9,127
Likes Received: 70
Thanks: 2,261
Thanked 2,792 Times in 2,201 Posts
Default

so how can we delete this patch if its needed??

PS ; what is the flag for anyways ?? I mean why is it there if it is not needed and slows the phone down ???
__________________
ĦṔ-ḶøØṫ-ŦḯØη
Here is a direct link to webOS Doc for all carriers
http://www.webos-internals.org/wiki/...octor_Versions
P.S. if i have helped you and you are thankful please hit the thanks button to the right---->
Shadavis08 is offline   Reply With Quote
Old 10/23/2009, 09:13 AM   #25 (permalink)
Member
 
jonaddis84's Avatar
 
Join Date: Aug 2009
Posts: 107
Likes Received: 0
Thanks: 6
Thanked 5 Times in 4 Posts
Default

Im an "average" user. Just installed this, Ill update if I notice anything go wrong.
jonaddis84 is offline   Reply With Quote
Old 10/23/2009, 09:26 AM   #26 (permalink)
Formerly Shadow-360
 
Adam Carr's Avatar
 
Join Date: Oct 2009
Posts: 664
Likes Received: 0
Thanks: 52
Thanked 344 Times in 116 Posts
Default

Quote:
Originally Posted by Shadavis08 View Post
so how can we delete this patch if its needed??

PS ; what is the flag for anyways ?? I mean why is it there if it is not needed and slows the phone down ???
The same way you installed, though WOSQI =).

When installed, g to quick install, tools>Device management (With Pre connected). Choose patches from the drop down menu and choose the patch you wish to uninstall and itll remove.

Alternatively it should also be able to be removed through preware.
Trying this on my 1.1.3 Pre, not sure if itll work because of the older OS but heck =P. Thanks for the patch.
Adam Carr is offline   Reply With Quote
Old 10/23/2009, 09:45 AM   #27 (permalink)
Formerly Shadow-360
 
Adam Carr's Avatar
 
Join Date: Oct 2009
Posts: 664
Likes Received: 0
Thanks: 52
Thanked 344 Times in 116 Posts
Default

Just installed. Havent noticed much if any difference, animations are slightly more fluid?

Not sure this patch is even installed, got some HUNK line 61 error????

Then said something was moved to browser.conf.rej????

Is there a log file which i can access in Quick install? Cant seem to be able to remove the patch in quick install either.
Adam Carr is offline   Reply With Quote
Old 10/23/2009, 10:03 AM   #28 (permalink)
Member
 
housetube's Avatar
 
Join Date: Jul 2009
Posts: 133
Likes Received: 0
Thanks: 31
Thanked 11 Times in 9 Posts
Default

Just another average user, I'll give it a try and see if I notice anything.
housetube is offline   Reply With Quote
Old 10/23/2009, 03:50 PM   #29 (permalink)
Member
 
Join Date: Jun 2009
Posts: 770
Likes Received: 0
Thanks: 37
Thanked 276 Times in 83 Posts
Default

I ended up removing this was getting too many out of memory errors/throw cards away with it (especially when listening to podcasts using drpodder)
-m
diomark is offline   Reply With Quote
Old 10/23/2009, 04:41 PM   #30 (permalink)
Member
 
jonaddis84's Avatar
 
Join Date: Aug 2009
Posts: 107
Likes Received: 0
Thanks: 6
Thanked 5 Times in 4 Posts
Default

Definite memory leak with this patch. I had it give me the too many cards error with only SMS and Music Remix open, and I have the other two patches installed from Diomark. Hadnt got that error since I installed those two patches until now, only a few hours after installing this patch.

On the good side, I did notice playing Wabbithunt was much smoother.
jonaddis84 is offline   Reply With Quote
Old 10/23/2009, 04:52 PM   #31 (permalink)
Member
 
gage006's Avatar
 
Join Date: Jul 2009
Posts: 547
Likes Received: 0
Thanks: 50
Thanked 53 Times in 41 Posts
Default

I haven't got any errors and I've used DrPodder pretty extensively.
__________________
Twitter
gage006 is offline   Reply With Quote
Old 10/23/2009, 08:26 PM   #32 (permalink)
Member
 
K4p741nkrunch's Avatar
 
Join Date: Aug 2009
Posts: 187
Likes Received: 0
Thanks: 21
Thanked 48 Times in 32 Posts
Default

I have been getting some out of memory errors since I installed this. Thought it was strange considering I had done the memory tweaks and tested 28 apps open at once without getting that error before. I'm gonna remove it, but it definitely did what it promised to do, make animations smoother. Maybe instead of turning it off you could adjust some of the parameters and lessen the memory effects.
K4p741nkrunch is offline   Reply With Quote
Old 10/23/2009, 08:38 PM   #33 (permalink)
Member
 
Join Date: Apr 2006
Posts: 1,168
Likes Received: 0
Thanks: 51
Thanked 76 Times in 56 Posts
Default

You people are crazy mucking around with this stuff. Removing GC to improve performance...hilarious.
__________________
Palm Vx > Treo 650 > Centro > G1 > Pre > BlackBerry 9700
sivan is offline   Reply With Quote
Old 10/23/2009, 10:48 PM   #34 (permalink)
Member
 
mrloserpunk's Avatar
 
Join Date: Jul 2008
Location: Syracuse
Posts: 2,564
Likes Received: 0
Thanks: 740
Thanked 442 Times in 327 Posts
Default

why?
mrloserpunk is offline   Reply With Quote
Old 10/23/2009, 11:08 PM   #35 (permalink)
Member
 
Join Date: Apr 2006
Posts: 1,168
Likes Received: 0
Thanks: 51
Thanked 76 Times in 56 Posts
Default

Why? Because garbage collection is the process that reclaims unused memory.

Yes, it will cause some lag, but without it apps will run out of memory. This is not a "leak", it's a central feature.

It's like yanking the radiator from your car because it's heavy. Tinkering is fine, but it seems totally random in this case and now it's distributed with WOSQI.
sivan is offline   Reply With Quote
Old 10/23/2009, 11:15 PM   #36 (permalink)
Member
 
ivan1.ruiz's Avatar
 
Join Date: May 2008
Posts: 378
Likes Received: 0
Thanks: 37
Thanked 60 Times in 32 Posts
Default

can this be added to preware?
__________________
Ivan's Themes main thread

Oklahoma Sooner theme

If you would like to because you like my work or you just want to buy me a drink I would really appreciate it.
ivan1.ruiz is offline   Reply With Quote
Old 10/24/2009, 01:16 AM   #37 (permalink)
Member
 
Brain_ReCall's Avatar
 
Join Date: Jun 2009
Posts: 395
Likes Received: 7
Thanks: 123
Thanked 116 Times in 68 Posts
Default

Quote:
Originally Posted by sivan View Post
Why? Because garbage collection is the process that reclaims unused memory.

Yes, it will cause some lag, but without it apps will run out of memory. This is not a "leak", it's a central feature.

It's like yanking the radiator from your car because it's heavy. Tinkering is fine, but it seems totally random in this case and now it's distributed with WOSQI.
My understanding is that this flag determines the V8 garbage collection scheme. By default, V8 will perform incremental garbage collections on allocations up to a certain limit, then it will perform a full "stop the world" global GC. Palm set this flag so that V8 always performs global GC's.

See: flag-definitions.h - v8 - Project Hosting on Google Code
heap.cc - v8 - Project Hosting on Google Code

But, frankly, with this tweak (as with many others) we are stabbing in the dark. Only Palm knows the system impact of changing the GC scheme.


EDIT: To go completely off topic, a better car analogy (!) would be like ripping out the battery after the car is started because it is heavy. Sure, it'll run, just don't stop the engine.
__________________
Quote:
Originally Posted by Brain_ReCall
I'm an Embedded Software Engineer. My idea of a Good User Interface is printf().
Brain_ReCall is offline   Reply With Quote
Old 10/24/2009, 08:21 AM   #38 (permalink)
Member
 
guerillatwang's Avatar
 
Join Date: Jul 2009
Location: Kansas City, MO
Posts: 340
Likes Received: 0
Thanks: 97
Thanked 50 Times in 35 Posts
Default

I've had this on since the patch has been posted and have had absolutely no memory leak issues, or slowdowns of any kinda. Not sure about these other people though.
guerillatwang is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0