Domov › Diskusné Fóra › Pomoc: hardware › Active a Inactive Memory v iStat Pro?
- This topic has 14 odpovedí, 4 hlasy, and was last updated pred 17 years, 7 months by Macker2.
-
AutorPríspevky
-
5. apríla 2007 o 13:30 #54484Macker2Účastník (Participant)
Pani chcem sa spytat na jednu vec v utilitke iStat Pro mi ukazuje pamat nasledovne hodnoty
Memory:
Wired -170MB
Active – 902MB
Inactivite – 952MB
Free – 24MBMBP mam zapnuty uz dva dni ale co znamena ta inactive ram preco a ako dostanem hodnoty naspet bez restartnutia alebo respektive preco mam tak malo free ked momentalne okrem mail a firefoxu nemam nic ine zapnute. Necitim sice ziadne spomalenie len by ma zaujimalo co vlastne znamenaju tie hodnoty a preco je niaka hodnota inactive?
Dakujem
5. apríla 2007 o 14:14 #107305DoNaLdÚčastník (Participant)Active memory is what is currently in use by running applications.
Free memory is just that, free. Nothing has a claim on it, and it’s up for grabs for any application that needs it.
When you log in, OSX claims the memory it needs to do all of its chores. This is wired. Other applications claim a smallish chunk of active memory as they are opened. Most applications that need to keep track of any kind of history or user data gradually use up more memory the longer they are open. Every now and then an application will need to use some part of its memory that it doesn’t use frequently and OSX has to get this from disk and place it in that application’s active memory allocation. All of these things can slow down a system.
Just opening Firefox caused the „Outs“ to nearly double almost instantly. Inactive memory has gone down even more, and my system is noticeably less responsive. Continuing on this trend leads to a condition where „Ins“ and „Outs“ are nearly equal, and climbing fast. When this happens, OSX is spending all its time shuttling memory in and out of the virtual memory pages on disk, and doesn’t have time to do much else. Similarly, your running applications are all waiting on OSX to swap memory to and from disk, and take much longer to do what you want them to do. This is bad. Closing the memory hogs in a condition like this will lead to almost instantaneous relief.
In this case, you’ll notice that closing Parallels immediately caused a huge leap in free memory, and a marked decrease in active. This is sort of an isolated case in that the memory that was previously wired for the virtual machine is now free. In a normal case, closing applications like Photoshop, Office programs, etc. will cause a slower increase in free memory and a more immediate increase in inactive memory, with an additional decrease to active. It will take a little while for your system to get „balanced“ again, and the more applications you close, the faster this will happen. You’ll notice that in the time it took me to shut down my windows system running in Parallels, close Parallels, and take another screen-shot that page „Outs“ increased by 9 times, and by proportion were rapidly gaining on page „Ins“.5. apríla 2007 o 14:19 #107306DoNaLdÚčastník (Participant)Ale v zasade, odpoved na tvoju otazku, co je to inactive, je vlastne „Free“ pamat, ktora je okamzite pripravena byt k dispozicii inemu programu ale ty sa nestaraj o to, ako pouziva system pamat, nechaj to na systeme, nech si to riadi sam.
5. apríla 2007 o 14:34 #107307Macker2Účastník (Participant)Dikes Danalde si inac blazen ….. ja tu od 14 15 do 14 30 lustim tu anglictinu a ked dam refres zistim ze 15 minut zbytocne )))))))) cize nemam riesit ok neiresim ))))) ja len tak doteras som istat pro nemal a nebol problem ))))) takze pohoda
5. apríla 2007 o 14:36 #107308DoNaLdÚčastník (Participant)Preco prave blazon ? :)
5. apríla 2007 o 14:49 #107310Macker2Účastník (Participant)ja len ze som to tu si prekladal krvopotne v mojej hlavicke ale nedal som refres az kym som to ako tak prelozil … a potom dam refres a kukam na tvoj druhy prispevok ))) ze AHA
5. apríla 2007 o 14:54 #107311DoNaLdÚčastník (Participant)hm.. tak som ti to chcel ulahcit .. :) .. out of scope: po pravde, anglicky by si sa mal naucit cim skor .. bez toho sa v dnesnom svete daleko nedopracujes :)
6. mája 2007 o 22:20 #107804edkisÚčastník (Participant)mna zaujima co je v pamati to: wired
Z toho anglickeho textu som nepochopil podstatu wired6. mája 2007 o 22:53 #107806DoNaLdÚčastník (Participant)Wired memory je cast pamate, ktoru si vyalokuje system sam pre seba pri starte a pouziva ju pocas celej doby behu a „nikoho tam nepusta“.
6. mája 2007 o 22:57 #107807edkisÚčastník (Participant)tak potom som si to spravne myslel heh cize wired je pamat urcena vylucne pre system /dynamicky nemeniaca sa/ a v active su aktualne beziace programy /procesy/ ?
6. mája 2007 o 23:39 #107808DoNaLdÚčastník (Participant)ano .. tak nejak
7. mája 2007 o 9:28 #107810Dominik BaloghÚčastník (Participant)V active zostavaju aj tie aplikacie ktore si uz vypol, pretoze je predpoklad ze ich spustis znova a tym padom to nabehne rychlejsie. Vyprazdni sa len vtedy, ked ina aplikacia potrebuje surne vela RAM… Cize aj ked mas 8GB RAM, a ukazuje ti 0 Free, je to stale OK, tak to ma fungovat.
7. mája 2007 o 10:31 #107811edkisÚčastník (Participant)Nie je to nahodou tak ze v active mas aktualne spustene a v inactive mas tie ktore si vypol a je predpoklad ze ich spustit znova?
7. mája 2007 o 10:40 #107812DoNaLdÚčastník (Participant)Ano, Active je cisto ta pamat, ktoru prave teraz vyuziva nejaky proces a je aktivna ako aj sam nazov napoveda … inactive je pamat, ktora je vyhradena pre process, ktory skoncil a uvolnil pamat ale system ju zatial nezaradil do Free casti pamate .. ale zatial si ju nechal vyalokovanu pre pripadne znovu spustenie tej aplikacie/procesu ako Inactive. Ale tak isto je Inactive pripravena pre hoci aky iny proces, ktory si vyziada pamat, aj ked nebol este ten process ani raz spusteny. Vlastne sa dokaze spravat zaroven ako Free pamat.
A na co to vlastne potrebujete vediet, chlapci ? :)
7. mája 2007 o 11:10 #107813Macker2Účastník (Participant)Aby sme boli mudrejsi Donalde :-)))
-
AutorPríspevky
- Musíte byť prihlásený, aby ste mohli odpovedať na túto tému.