安裝許多apps但未啟動會否影響速度 - 手機討論

Table of Contents

每隻手機不一樣,拿我的手機來說3g ram 32g rom 而緩存只有248mb,最底下那個/cache那邊。

https://i.imgur.com/XkDRa62.jpg

先假設大大app控管得宜,那麼ram就算2g而已都可以順順跑,


控管app就像交流道紅綠燈,或是高架橋高乘載限制大巴上去,越是控管得當,路的寬度可以越小。

所以基本上像是大大會控管app的,也只有做到省電或是不塞車。少開一點車省油嘛,少車就不塞車嘛。



你下載安裝app在/data這兒不影響,只有開機讀取,讓我們往下看到/cache,是的你沒看錯,一台3/32gb手機,緩存只有248mb,當然各位大大手機肯定比小弟厲害。


緩存就像是高速公路上限制不管多少車子,不管你控管多少車子,我高速公路只能載248人,一旦有一台車bug忘記自己有載人,還繼續塞人超載,死的不是車子是這個限制248人的高速公路。


所以你如何控管,速度也只是不塞車,但是人數卡在哪兒還是塞人,而解決辦法有兩種。


清垃圾幫你清垃圾啊,哪家手機沒清垃圾內建的,這機制就是讓你android可以使用幾年也很順的理由。


刷原生google的系統,該系統完全優化各種空間,像是我system這空間有多餘,而這多餘是不能使用的,最主要是塞進system的app將會是我手機最信任的app,所以很少,而google原生系統的優化,htc的pixel,小米還是紅米的A1,都存在相同3/32gb手機下更優秀的緩存空間。


很多廠商功能很多,且不佔ram,正在執行的app很少,但垃圾很多,導致每次多工鍵刷了刷,明明什麼都沒有,還是lag,背景程式卻一大堆,整個緩存滿滿滿的,悲劇xddd。




而這也是最近sony收掉某些東西的原因,sony可以說是開發很多有趣玩意,但是xda大神們各種玩玩就丟棄,喜新厭舊,玩玩就丟,因為緩存要清很麻煩,不小心清掉自己想要的,反而要重新設定,就連手機各家廠商都有的天氣app,也漸漸遠離初衷,而被......不說各位大神,我也拋棄,各種殺,不要用就砍,這樣緩存才大。

--

All Comments

Yuri avatarYuri2018-06-18
你怎麼還活著啊 我以為你已經泡水去了
Leila avatarLeila2018-06-23
我覺得推文很歪,但這種又不好直接google找答案,這篇應該很白話......
Todd Johnson avatarTodd Johnson2018-06-27
https://i.imgur.com/0R0p0BI.png 是不是有什麼誤會還是我的誤解? /cache 分區等於緩存? (非戰)
Michael avatarMichael2018-07-02
要詳細還是要知道一個app的組成,想要更深入也可以,但我怕主題跑掉
Carol avatarCarol2018-07-07
塞車大家都知道了,給大家理解塞人罷了
Kelly avatarKelly2018-07-12
在討論會要用英文,我中文不好
Erin avatarErin2018-07-16
請問緩存是什麼中文?
Charlie avatarCharlie2018-07-21
Please do, I am better in English regarding technical matters.
Xanthe avatarXanthe2018-07-26
為啥我覺得樓上句子唸起來好怪 還是我英文太破?
Jessica avatarJessica2018-07-30
可能英文沒樓上大大的好?
Oliver avatarOliver2018-08-04
可是我英文真的很破....
Susan avatarSusan2018-08-09
jaw: 緩存一般指的是 buffer, cache, 中文的話可翻成緩衝, 快取, 也有源自對岸的緩存
Elvira avatarElvira2018-08-13
嗯...這兒,我找蠻久的https://goo.gl/Eh6hvG
Necoo avatarNecoo2018-08-18
D 大, 先說我沒看你貼的連結, 小弟大致知道 /cache 分區的用途. 重點是, 就我所知是它與絕大部份 app 在平時運作幾乎無關
Leila avatarLeila2018-08-23
https://i.imgur.com/TwxU8yv.png https://i.imgur.com/70OryH8.png 至少在我的手機上, 最近被動到的檔案幾乎都是 magisk 相關. 不懂 /cache 分區跟一般 app 平時運行的順暢與否的關係. 感謝解惑
Noah avatarNoah2018-08-28
https://i.imgur.com/TwxU8yv.pnghttps://i.imgur.com/70OryH8.png
Elvira avatarElvira2018-09-01
這就要說....../app也是一個分區,你平常用/app嘛,但是跑app要一些拉基給他加油加水,要不他車子跑不動嘛
Poppy avatarPoppy2018-09-06
圖一為按照時間排序, /cache 的檔案列表, 下面最新
Adele avatarAdele2018-09-11
圖二是六分鐘的即時存取監控
Odelette avatarOdelette2018-09-15
說好的 /cache 分區呢? /app 分區? 可能我的系統舊(mm) 沒有 /app 分區
Harry avatarHarry2018-09-20
我想你問的是app不要cache也可以跑不相關是麼?app時常產生垃圾來幫助它跑,但是cache的容量和ram一樣是固定的,app不會一直呼叫垃圾來跑,是他會自己產生垃圾來幫助自己潤滑,所以不常呼叫是很正常的,拉基殺掉app還是不影響,只是你要重新跑自己想要的拉基出來很麻煩,很難管,有些拉基是屬於附屬的,更難管,所以我們最好的方法就是把app的其他功能拔掉,權限拔掉,讓他剩下自己要的且不會黑屏,限制拉基是屬於有用的
Connor avatarConnor2018-09-25
我要說的是 (至少在我的手機上), 除了 magisk 在那邊寫 log 之外, 大多數時候 /cache 分區根本沒人去讀或寫, 因此不懂 /cache 分區與 app 的日常運作順暢與否之間的關係
George avatarGeorge2018-09-29
讀圖案的看照片的舉例,他跑一次會產生拉基,這拉基是讓你跑看照片app更順,但是這個拉基是一旦太多,其他app的拉基就沒辦法產生,每個app都要拉基,沒地方產生拉基,那就很頓,但還是可以跑app,你每殺掉一次看照片app的拉基,他就會重新變慢,然後慢慢產生拉基加快app速度這樣,我們不喜歡就是這樣,我要的功能的拉基和不想要的拉基很難管,那我只能砍掉app功能或是砍掉app來管,這沒辦法的事
Sierra Rose avatarSierra Rose2018-10-04
先說結論是同意的, 我自己也是會去關掉不想讓 app用的權限, 擋掉 intent, 甚至停用特定 activity.但還是認真求解 /cache 分區
Ursula avatarUrsula2018-10-09
筆誤. activity (x) receiver (o)
Olga avatarOlga2018-10-14
未答先猜原 po 說的是 dalvik/art cache 以及 app自行產生的 cache (如 browser cache). 就我所知, 至少在我的手機上, 那些都不是放在 /cache 分區
Hamiltion avatarHamiltion2018-10-18
除了google以外,我有時候也會問wikihttps://goo.gl/iRgcYd
Sierra Rose avatarSierra Rose2018-10-23
Cache != /cache 分區
Tristan Cohan avatarTristan Cohan2018-10-28
D 大貼的圖是 /cache 分區
Dinah avatarDinah2018-11-01
D, I honestly think Chinese isn't the best tool to resolve the communication gap here. The thread is like 雞同鴨講. The thing that confuses me is not "cache", but the partition /cache.To the best of my knowledge, /cache partitionhas nothing to do with how smooth apps run, once booted.
Carol avatarCarol2018-11-06
I don't know if you realise, the screen cap you posted in OP are your partitions, the labelcache in it is your /cache partition
Quanna avatarQuanna2018-11-11
Neither dalvik/art cache, nor app generated cache (e.g. browser cache) resides in /cache partition. Hence, to the best of my knowledge, /cache partition does not play a part in apps' daily operation in run time, once booted
Ivy avatarIvy2018-11-15
As to your conclusion, I am with you. I am allfor strict monitoring and control apps' permissions and functionality
Susan avatarSusan2018-11-20
嗯......其實我之前有過回答類似這個,好像以前有人問我什麼/system分區和/data分區,我記得好像也是不能讓他滿意。在cpu呼叫/data後,所產生更快速幫助/app運行的,而產生拉基在/cache分區,有些手機的"正在執行的app"顯示ram,另一個選項的背景的app顯示cache。而/cache很小,他在cpu裡面,所以對我們而言ram太好掌控了,cache反而不好管,他的檔案名稱很多,可以的話我們其實都是直接刷掉/cache,多刷刷,只要app正常都不會黑屏,我是有時候會黑啦,因為我授權開開關關玩來玩去的......
Faithe avatarFaithe2018-11-25
問題是似乎不是這樣啊, 不是有貼給你開, 除了開機相關以及 magisk, 沒有人去碰 /cache partition 啊. 至少我的手機是這樣啦. Moto stock MM rom (AOSP-ish), rooted with magisk.
Kama avatarKama2018-11-30
Emphasis "cache" is not "/cache" partition
Daniel avatarDaniel2018-12-04
筆誤. 貼給你開 (x) 貼給你看 (o)
Ina avatarIna2018-12-09
等等, /cache 在 cpu 裏? (黑人問號) I think it's best if we stop here. :-)
Sierra Rose avatarSierra Rose2018-12-14
Dalvik/art cache != app generated cache != /cache partition != cpu cache
Joe avatarJoe2018-12-18
是相等的吧?
James avatarJames2018-12-23
https://goo.gl/553nkK
Hardy avatarHardy2018-12-28
可以wiki一下啊,這三者是相等的
Iris avatarIris2019-01-01
有點難解釋,你能直接看我貼第一篇連結麼
Annie avatarAnnie2019-01-06
OK, whatever you say. I am done here.
Lily avatarLily2019-01-11
I was being polite, I KNOW what /cache partition is. Really, we haven't touch the level of detail that would make me revisit the page
Ursula avatarUrsula2019-01-16
你認為我講不一樣的東西啊,我想說我換另一個解釋的說,是同一個東西......xddd
Daniel avatarDaniel2019-01-20
Rephrase. I KNOW the 4 types of cache mentioned in this thread to decent level of detail. No, they are not the same. Most importantly, thepartition /cache isn't what you think it is.
Hamiltion avatarHamiltion2019-01-25
I would blame it on the bad name. Nevertheless, it would really help if you would study thesubject a bit more before we continue the conversation
Bethany avatarBethany2019-01-30
Just for the sake of it, I read your 1st linkregarding clearing the cache dir. It's an appspecific folder resides in app's data filder,which is not under /cache partition
Olga avatarOlga2019-02-03
https://i.imgur.com/noc1Wao.png Take the imgurclient I use for example, it's in /data/data/com.imgur.mobile
Mason avatarMason2019-02-08
https://i.imgur.com/NPbCN5S.png And guess which partition it resides on? No, not /cache, it's on /data.
Dinah avatarDinah2019-02-13
https://i.imgur.com/NxaYJUz.png Just found outthe command 'stat' in termux doesn't work properly for querying mount-point/filesystem
Kelly avatarKelly2019-02-17
I had to use the applet 'df' in a custom version of busybox (via magisk) to get it properly.You may not be able to reproduce this result.It's on /data, just take my words for it,
John avatarJohn2019-02-22
對啊,在/data裡面啊
Andrew avatarAndrew2019-02-27
這樣解除安裝的時候,一併刪除/cache啊
Yedda avatarYedda2019-03-04
對啊/cache在指定app裡面啊
Tristan Cohan avatarTristan Cohan2019-03-08
不不不,我所說的/cache就是在/data裡面
Brianna avatarBrianna2019-03-13
欸......然後咧?/cache在/data裡面會怎樣麼@@
Andy avatarAndy2019-03-18
其實cache有分內部和外部,你可以在rom裡面有些舊手機在sd卡上,都可以看到,但是這個外部/cache是不限制容量的,也就是說,內部的/data/data/abcdefg/cache才會塞到
Christine avatarChristine2019-03-22
喔你是問路徑?
Cara avatarCara2019-03-27
我們安裝在/data/app裡面的app,他會在/data/data產生app名稱的路徑,然後有/files和/cache,平常都是/files在跑然後拉基幫忙,這樣......ok嗎==
Dorothy avatarDorothy2019-04-01
The dir /cache, is a top level dir, i.e. in root. AFAIK, it is a partition of its own. App cache dirs resides in app specific dirs, e.g. /data/data/some.app.com/cache. One could referthe latter as "app cache dir", or as simply as"cache dir" in relevant content. However, inmy professional career, never had I seen anyone prefix the latter with slash, i.e. "/cache",that's THE /cache partition. Please do your home work.
Carol avatarCarol2019-04-05
Correction: content (x) content (o)
Dorothy avatarDorothy2019-04-10
content (x) context (o)
Erin avatarErin2019-04-15
Tech geeks (pro or not), we try to be as specific as we can. Sure, geeks are also human andcan be lazy to say/type mouthful words, but never prefix a non-top-level dir with slash
Brianna avatarBrianna2019-04-20
Don't feel the same? Try do it in any decent tech community, and see how they react.
Tracy avatarTracy2019-04-24
如果要說/data底下的cache不會是打「底下的/cache」啦...
Franklin avatarFranklin2019-04-29
簡單來說就是 因為/cache是真有其物 所以原PO的「讓我們往下看到/cache」這樣誤會大了
Madame avatarMadame2019-05-04
一般在說unix的路徑時 用/data/cache等一次說完 不會像原PO這麼說 一次說完比較不會產生不必要的誤會XD不過這邊不適合這樣說 因為實際上cache路徑會是「/data/data/程式名稱/cache」或是其它地方 名稱有夠長不然就換個說法 「app在/data下 而app會產生cache」這樣應該就可以明確表達原PO的意思又不會誤會xD
Zenobia avatarZenobia2019-05-08
這......是喔......
Kelly avatarKelly2019-05-13
@@/system啦/data啦/cache都只是省略要不要打一長串......