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
|
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. |
11/28/2011, 01:22 PM
|
#2 (permalink) |
|
Member
![]() ![]() Join Date: Feb 2007
Location: Minsk, Belarus
Posts: 598
Likes Received: 18
Thanks: 106
Thanked 203 Times in 63 Posts
|
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 |
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
|
Quote:
The disk cache is a universal linux operation. Its on almost every linux distribution out there. |
|
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
|
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? |
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
|
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. |
11/29/2011, 10:39 AM
|
#7 (permalink) |
|
Member
![]() Join Date: Jul 2007
Location: 泗水 , 印度尼西亚
Posts: 684
Likes Received: 48
Thanks: 137
Thanked 30 Times in 27 Posts
|
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. |
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
|
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....
|
11/30/2011, 04:40 AM
|
#9 (permalink) |
|
Homebrew Developer
![]() Join Date: Dec 2009
Location: Here.
Posts: 624
Likes Received: 82
Thanks: 22
Thanked 167 Times in 84 Posts
|
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 ? :]
|
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
|
Quote:
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. |
|
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
|
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. |
02/08/2012, 11:42 AM
|
#16 (permalink) |
|
Homebrew Developer
![]() Join Date: Dec 2009
Location: Here.
Posts: 624
Likes Received: 82
Thanks: 22
Thanked 167 Times in 84 Posts
|
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. |
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
|
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 |
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
|
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 |
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
|
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 |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



