找回密码
 加入我们

扫一扫,访问微社区

QQ登录

只需一步,快速开始

搜索
查看: 2769|回复: 11

[软硬件讨论] 如何提高PRE的性能?(在2.1ROM下)

[复制链接]
发表于 2011-3-4 13:35 | 显示全部楼层 |阅读模式
原文来自pre central 的帖子:参见:http://www.webos-internals.org/wiki/WebOS_2_Upgrade% v  S, P/ o" F# {1 w( d0 b5 l. n
The Pre Plus has 512 MB of memory and thus runs 2.1 quite well, but this is not the case with the original Pre since it has only 256 MB. Luckily, Palm adopted WebOS Internals's configuration of the standard Linux compcache technology that was ported to the custom kernels, and it comes active, but with only 10 MB. One potential way to enhance performance in original Pre devices is to make the compcache bigger.3 e/ W: Q/ V7 v, \
3P有512M内存,所以用2.1相当不错,但只有256M内存的2P就比较差。而PALM实际上使用了WebOS Internals在超频核心中加入的COMPCACHE技术,但只有10M。一个可能有效的方法就是让这个值更大一些。0 l+ ]  w1 C9 s4 x

6 E% f% X/ B: v+ ]; i8 m# G; _Increase compcache size, Temporary Method2 R4 ~/ k' q8 F9 Y7 D- t2 v& F
You can use the Govnah application to increase the size of the compcache. Disable compcache, change the size, and then reenable.
& G' q% i2 Z: m! D9 o7 |临时提高COMPCACHE大小的方法:, s6 l+ F% g% ^0 ^
使用新的Govnah application(7.25)来提高,先取消它,然后可以修改大小,然后再度启用它,不过这个办法一重启就没用了。; z3 a6 [% j* L8 y4 }" _0 c

9 R  Y, B( d" Z- H6 ]Increase compcache size, Permanent Method5 h- R9 W2 t: E0 [0 h
You have to edit the file /etc/event.d/compcache and substitute the 10240 value for 32768, reboot your Pre and verify it's working by using Govnah.& q+ T  _) P& v1 f" W3 N
永久性提高COMPCACHE大小的方法:+ j4 ]6 H$ c, `
必须修改文件/etc/event.d/compcache并重启,然后在GOVNAH中确认有效。
5 B- m' \6 J, T2 B! x% b
$ S5 j6 P, O  ]+ e/ LFor example, you could follow these steps:
& z( L/ A. S, u* e, r9 C% i- c  gMake sure novacomd is running on your computer.6 F; n+ t: ?* f5 B
Use a terminal (any mentioned in step 5 will work) to run novaterm and access your phone. Type in the following:
! {+ @/ n% R' Q$ f1 M, K( Rvi /etc/event.d/compcache# R4 w1 P* R: f/ [; z
Go down to line 10 type i then delete 10240 and replace it with 32768, hit the escape key then type :wq
  @. D' |8 V2 D6 o" C5 qReboot your Pre and verify it's working by using Govnah.
' D9 R" j: s6 c8 c
3 ~7 y: d5 e( j* x( T% y确保novacomd在电脑中工作正常(一般刷过机都会存在),可以在任务管理器中看到。& m5 ^% D0 Y' n/ W! v* s
使用任何方式连接手机并运行novaterm,比如putty,方式请搜索
9 D: _0 s& m; S& ~& d: H8 a之后输入下列命令:; f' X) c# G3 }/ `1 |4 o
vi /etc/event.d/compcache
, R  N9 r6 u) B: S7 u3 m" A3 ?
* |$ z$ ^0 E6 c/ s到第10行,输入i, 然后删除10240,修改为32768, 按ESC键,并输入 :wq
5 \2 T; }7 }/ k$ p/ q重启手机并通过Govnah确认修改成功。
4 E' C% ]& e! V/ t9 u1 z$ W3 ^  r$ O# c8 k/ `
[ Edited by 天仙不配 on 2011-3-4 13:50 ]
回复

使用道具 举报

发表于 2011-3-4 14:06 | 显示全部楼层
感觉临时方法能更安全一些% K: x  Y2 W$ {; I6 H3 F( K, W3 z
永久修改的话 32768话说有越界的可能吧
, z! t) ~% j) a3 s$ G7 n
- G( R) M7 a  ]) f" a7 `万一永久失败了,
回复 支持 反对

使用道具 举报

发表于 2011-3-4 14:44 | 显示全部楼层
这么搞有风险哦,govnah的帮助说如果设置的过高会导致程序响应速度不够,比如电话程序会来不及 catch a call,然后漏掉电话
回复 支持 反对

使用道具 举报

发表于 2011-3-4 15:25 | 显示全部楼层

compcache ???

increase compcache to 32M...the pre runs slowly when windows starting up...you need more time to operate....But after a while you can open more card and switch smoothly...maybe.
回复 支持 反对

使用道具 举报

发表于 2011-3-4 23:20 | 显示全部楼层
风险大,不敢试!!
回复 支持 反对

使用道具 举报

发表于 2011-3-4 23:46 | 显示全部楼层
已经测试,nice
回复 支持 反对

使用道具 举报

发表于 2011-3-5 00:04 | 显示全部楼层
在试。。。。。。。。。。。
回复 支持 反对

使用道具 举报

发表于 2011-3-5 00:07 | 显示全部楼层
临时提高COMPCACHE大小的方法:
/ m, I  E6 R9 s- s- i+ p. t) g/ Y使用新的Govnah application(7.25)来提高,先取消它,然后可以修改大小,然后再度启用它,不过这个办法一重启就没用。
- |# w& Q7 i3 H7 F# ^
- j% U6 c4 E( g; N( c* ?! i# o' k0 C5 I" l! X; }; N
设好,重启,不会变。
回复 支持 反对

使用道具 举报

发表于 2011-3-5 02:31 | 显示全部楼层
mark  ..
回复 支持 反对

使用道具 举报

发表于 2011-3-5 06:14 | 显示全部楼层
如果重启后不变的话还不错
回复 支持 反对

使用道具 举报

发表于 2011-3-5 08:04 | 显示全部楼层
这跟提高性能有毛关系。。
/ _" Y$ {0 R$ D. g7 ~2 R* [compcache是拿cpu时间换ram空间,只会降低性能(尽管不明显)
回复 支持 反对

使用道具 举报

发表于 2011-11-19 00:06 | 显示全部楼层
临时修改 改成多少比较合适呢 16,24,或更高?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

QQ|Archiver|手机版|小黑屋|吹友吧 ( 京ICP备05078561号 )

GMT+8, 2024-3-28 18:30 , Processed in 0.216603 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表