webOS Nation Forums >  Homebrew >  webOS patches > [patch in preware] Disk Cache mod
[patch in preware] Disk Cache mod

  Reply
Like Tree2Likes

 
LinkBack Thread Tools Display Modes
Old 11/28/2011, 11:01 AM   #1 (permalink)
Member
 
Join Date: Sep 2009
Location: Canada
Posts: 1,488
Likes Received: 311
Thanks: 64
Thanked 660 Times in 214 Posts
Default [patch in preware] Disk Cache mod

Someone wanted a thread for this patch, so here ya go.

Basically normally the disk cache for linux is 128kb, and during the attempt to get webOS 2.1 to run on the Pre Minus better we decided to disable the RAID cache completely, and set the disk cache to 1MB from 128kb.

The feeling was that it would make loading times of apps shorter and provide a more consistent and fluid experience.

Also, I find that when im using bluetooth with music, the music skips less and is more consistant, ie no weird pitch changes.
__________________
Please Donate if you like my patches and work. Thanks
rmausser is offline   Reply With Quote
Liked by Rnp and milmichael1 like this.
Old 11/28/2011, 01:22 PM   #2 (permalink)
Member
 
ahsirg's Avatar
 
Join Date: Feb 2007
Location: Minsk, Belarus
Posts: 598
Likes Received: 18
Thanks: 106
Thanked 203 Times in 63 Posts
Default

rmausser, great that you keep finding these things
do we need to uninstall mojo FPS or any other patch? or replace /etc/init.d/compache with the default one (i'm using linux swap in there)
__________________
Amigo Music Player Tractor - Archive Extractor
Sync Palm Pre with iTunes
ryhor.com - find cool apps for the Treo and Palm
ahsirg is offline   Reply With Quote
Old 11/28/2011, 02:45 PM   #3 (permalink)
Member
 
Join Date: Sep 2009
Location: Canada
Posts: 1,488
Likes Received: 311
Thanks: 64
Thanked 660 Times in 214 Posts
Default

Quote:
Originally Posted by ahsirg View Post
rmausser, great that you keep finding these things
do we need to uninstall mojo FPS or any other patch? or replace /etc/init.d/compache with the default one (i'm using linux swap in there)
No you do not need to change anything.

The disk cache is a universal linux operation. Its on almost every linux distribution out there.
__________________
Please Donate if you like my patches and work. Thanks
rmausser is offline   Reply With Quote
Old 11/28/2011, 03:35 PM   #4 (permalink)
Member
 
Join Date: Sep 2011
Location: US
Posts: 32
Likes Received: 4
Thanks: 3
Thanked 3 Times in 3 Posts
Default

So allow me to summarize. You are saying that in webOS, the stock disk cache (2.1, 3.0.X, etc) are set to 128kb (not MB, right)? And this patch makes that to 1 MB and disables RAID caching? And this improves general disk performance which leads to overall device performance improvements? Can I ask why you opted to disable RAID caching?

Also I noticed you alluded to WebOS 2.1... So I did see the patch for webOS 3.0.4 -- is it ready for that version as well?
polaris_silvertree is offline   Reply With Quote
Old 11/28/2011, 04:36 PM   #5 (permalink)
Member
 
Join Date: Mar 2010
Location: sevilla
Posts: 38
Likes Received: 1
Thanks: 9
Thanked 0 Times in 0 Posts
Default

hello.
can i use this patch with pre3 and touchpad?
i'm french and use google translator, but i'm not sure 100% that i can use it for this device.
thanks
judabricot is offline   Reply With Quote
Old 11/29/2011, 10:20 AM   #6 (permalink)
Member
 
Join Date: Sep 2009
Location: Canada
Posts: 1,488
Likes Received: 311
Thanks: 64
Thanked 660 Times in 214 Posts
Default

I dont quite remember why, because we started this way back in march, but I think RAID cache was unnecessary for SSD's

You can use this on any device you want, its a linux process, it exists on every single webOS version.
__________________
Please Donate if you like my patches and work. Thanks
rmausser is offline   Reply With Quote
Old 11/29/2011, 10:39 AM   #7 (permalink)
Member
 
The Bard's Avatar
 
Join Date: Jul 2007
Location: 泗水 , 印度尼西亚
Posts: 684
Likes Received: 48
Thanks: 137
Thanked 30 Times in 27 Posts
Default

cache mem bigger should be better.

I installed this patch on my Pre3, I haven't noticed any big difference in performance. I will test it more, and report back if there is problem after install this patch.
The Bard is offline   Reply With Quote
Old 11/30/2011, 02:13 AM   #8 (permalink)
Member
 
Join Date: Sep 2011
Location: US
Posts: 32
Likes Received: 4
Thanks: 3
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by rmausser View Post
I dont quite remember why, because we started this way back in march, but I think RAID cache was unnecessary for SSD's

You can use this on any device you want, its a linux process, it exists on every single webOS version.
Well I ask because I am wondering now that you've raised the cache to 1 MB -- whether some of the contention that the disk caching was dealing with has been alleviated, making it ok for the RAID cache to be used. I would think HP would've optimized the RAID cache for SSD's....
polaris_silvertree is offline   Reply With Quote
Old 11/30/2011, 04:40 AM   #9 (permalink)
Homebrew Developer
 
ShiftyAxel's Avatar
 
Join Date: Dec 2009
Location: Here.
Posts: 624
Likes Received: 82
Thanks: 22
Thanked 167 Times in 84 Posts
Default

Personally I wouldn't be super-suprised if there was extraneous stuff like an unused/unrequired RAID cache floating around webOS. I love it, but it's not the best-optimised OS ever.
Do you guys think that raising the disk cache further would yield even better results, or are we already at the point where further expansion would be pointless?
__________________
Stuff and Things that I had a hand (or two) in:
WiFi File Sharing - Simple Network Sharing for webOS (Now available in Preware!)
Enyo Smooth Scrolling, Mojo Smooth Scrolling, Mojo FPS Booster, Mojo Tap Responsiveness, Mojo Flick Regulator, Mojo Speedy Switch, Pre3 Just Type Scrim Fix, HP webOS Carrier String, EDGE Icon Patches.

If you like any of the above and are feeling generous, why not ? :]
ShiftyAxel is offline   Reply With Quote
Old 11/30/2011, 03:20 PM   #10 (permalink)
Member
 
Join Date: Sep 2009
Location: Canada
Posts: 1,488
Likes Received: 311
Thanks: 64
Thanked 660 Times in 214 Posts
Default

Quote:
Originally Posted by ShiftyAxel View Post
Personally I wouldn't be super-suprised if there was extraneous stuff like an unused/unrequired RAID cache floating around webOS. I love it, but it's not the best-optimised OS ever.
Do you guys think that raising the disk cache further would yield even better results, or are we already at the point where further expansion would be pointless?
Im not even sure 1MB is necessary, its almost like a "why not?"

Some people on the old pre minus forum thought that 0kb, aka NO cache was best, as apparently Solid State Drives do not need cache.

I found when I did this though that my bluetooth stereo headphones would skip like MAD.

Try 2mb, but I barely even see a difference with 1mb

This was more of a "it cant hurt" thing I did, rather than a huge difference.
__________________
Please Donate if you like my patches and work. Thanks
rmausser is offline   Reply With Quote
Old 12/01/2011, 07:42 AM   #11 (permalink)
Member
 
Join Date: Mar 2010
Posts: 291
Likes Received: 2
Thanks: 70
Thanked 39 Times in 31 Posts
Default

Should this patch have any affect on the settings we choose when using UberKernel and Govnah? In particular, I am thinking about the compcache settings. I tried this patch and did notice that the swap side could handle a lot more on My Pre-, but I felt I ran into issues. Thinking about trying this patch again.

Edit: Could maybe word this better. How does Disk Cache relate to the memory that the compcache is tied to? Are they one in the same? Or maybe the Linux Disk Cache is at a more base level outside the OS? Just trying to understand the potential for overlap or negation of the kernel tweaks. Thx

-- Sent from my Palm Pre using Forums
__________________
Ha! Still kicking it old school with a Sprint Pre on a slick patched-out webOS 1.4.5. Long Live Palm!

Last edited by palmuse; 12/01/2011 at 02:19 PM.
palmuse is offline   Reply With Quote
Old 12/24/2011, 09:51 AM   #12 (permalink)
Member
 
Join Date: Jul 2010
Location: Puerto Rico
Posts: 66
Likes Received: 8
Thanks: 28
Thanked 11 Times in 9 Posts
Default

Is this patch available now with the update to 2.2.4?? thanks
__________________

My Preł internet connection speeds. Not quite 4g but fast enough... (:
eny2002 is offline   Reply With Quote
Old 12/29/2011, 12:48 PM   #13 (permalink)
Member
 
Join Date: Oct 2011
Posts: 40
Likes Received: 8
Thanks: 8
Thanked 6 Times in 3 Posts
Default

Yes, please update for 2.2.4? Purty please?
jayteeee is offline   Reply With Quote
Old 12/29/2011, 05:44 PM   #14 (permalink)
Member
 
Join Date: May 2010
Location: Oslo, Norway
Posts: 48
Likes Received: 6
Thanks: 6
Thanked 5 Times in 4 Posts
Default

Meanwhile, it's easy to include 2.2.3 feeds in Preware.
olebl is offline   Reply With Quote
Old 02/08/2012, 07:52 AM   #15 (permalink)
Member
 
giggles's Avatar
 
Join Date: Apr 2010
Posts: 677
Likes Received: 17
Thanks: 45
Thanked 51 Times in 42 Posts
Default

if this is the same patch that I installed on preware on my pre2 2.2.4(had the same name) it caused audio play back to skip when there was processor load.
giggles is offline   Reply With Quote
Old 02/08/2012, 11:42 AM   #16 (permalink)
Homebrew Developer
 
ShiftyAxel's Avatar
 
Join Date: Dec 2009
Location: Here.
Posts: 624
Likes Received: 82
Thanks: 22
Thanked 167 Times in 84 Posts
Default

Quote:
Originally Posted by giggles View Post
if this is the same patch that I installed on preware on my pre2 2.2.4(had the same name) it caused audio play back to skip when there was processor load.
I've experienced this issue also (Pre3). Will try uninstalling and report back.
__________________
Stuff and Things that I had a hand (or two) in:
WiFi File Sharing - Simple Network Sharing for webOS (Now available in Preware!)
Enyo Smooth Scrolling, Mojo Smooth Scrolling, Mojo FPS Booster, Mojo Tap Responsiveness, Mojo Flick Regulator, Mojo Speedy Switch, Pre3 Just Type Scrim Fix, HP webOS Carrier String, EDGE Icon Patches.

If you like any of the above and are feeling generous, why not ? :]

Last edited by ShiftyAxel; 02/08/2012 at 11:56 AM.
ShiftyAxel is offline   Reply With Quote
Old 02/08/2012, 05:58 PM   #17 (permalink)
Member
 
giggles's Avatar
 
Join Date: Apr 2010
Posts: 677
Likes Received: 17
Thanks: 45
Thanked 51 Times in 42 Posts
Default

Quote:
Originally Posted by ShiftyAxel View Post
I've experienced this issue also (Pre3). Will try uninstalling and report back.
ahh nvm.. worked fine for a awhile then after i restarted my phone again it came back. :/
giggles is offline   Reply With Quote
Old 03/12/2012, 02:49 AM   #18 (permalink)
Member
 
Join Date: Aug 2011
Posts: 229
Likes Received: 24
Thanks: 83
Thanked 21 Times in 17 Posts
Default

Before installing this patch, Gun bros runs choppy on my Touchpad running 3.0.5. After installing, it runs smoothly again like it did on 3.0.4. But I found after installing this patch, my email app would sometimes not load correctly. It would be just a blank card and won't notify new emails anymore. I need to do a hard reset to fix this. Anyone get any idea on this issue? Could there be a fix on the patch?

-- Sent from my TouchPad using Communities
matchqq is offline   Reply With Quote
Old 03/12/2012, 10:05 AM   #19 (permalink)
Member
 
Join Date: Sep 2009
Location: Canada
Posts: 1,488
Likes Received: 311
Thanks: 64
Thanked 660 Times in 214 Posts
Default

hmm

considering this patch changes very little, I am not sure if its the culprit to mess up your email app.

Try removing the patch and see if that fixes your email app.

If not, you might need to visit the Doctor
__________________
Please Donate if you like my patches and work. Thanks
rmausser is offline   Reply With Quote
Old 03/12/2012, 10:53 AM   #20 (permalink)
Member
 
Join Date: Aug 2011
Posts: 229
Likes Received: 24
Thanks: 83
Thanked 21 Times in 17 Posts
Default

It didn't really break my email app. The email app went back to normal after a hard reset. (hold power and home button for about 10 seconds) The issue happens after using Touchpad for a while. Not in the beginning of use of the day.

-- Sent from my TouchPad using Communities
matchqq is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0