Uyikhulula njani i-RAM ku-Ubuntu

Imemori ye-RAM yasimahla kwi-Ubuntu

Bekusoloko kusithiwa i Imemori ye-RAM ikhona ukuyisebenzisa. Ewe kunjalo, oku kuyasebenza xa sinekhompyuter enememori eyaneleyo ukuba singayibukeli into eyenzekayo ngayo. Xa siqina kancinci, kufanelekile ukuba siyithathele ingqalelo, ngengqiqo yokuba kufuneka sijonge indlela esixakeke ngayo kwaye, nanini na kunokwenzeka, siqinisekise ukuba iqela lethu lifumana umoya.

Ngamanye amaxesha inkqubo ayikhuphi Inkumbulo ye-RAM engasasetyenziswayo kwaye nangona ikhutshwa ngokwemfuno-ukuyibiza ngandlela thile-xa sivula inkqubo entsha, inokukhutshwa ngesandla ngokufaka elula. myalelo kwi-console yethu. Ngokwethiyori, oku kuziphatha kuqhelekile phantse kuzo zonke iinkqubo zokusebenza, kwaye kuyavakala: ukukwazi ukuhamba ngokukhawuleza xa sifuna ukufikelela kwinto ebesiyisebenzisile kwakhona.

Fumana ukuba yimalini esetyenziswayo kwaye emva koko ukhulule i-RAM

Okokuqala, yima yazi ukuba ingakanani imemori esebenzayo, yimalini esimahla kwaye yimalini egcinwe kwi-cache siphumeza umyalelo:

free -m

Ukubona ukusetyenziswa ngexesha lokwenyani esilisebenzisayo:

watch -n 1 free -m

Umyalelo wokuqala uya kubuyisela into efana nale siyibonayo ekubanjweni kwentloko, ngelixa okwesibini siya kubona into efana kakhulu, kodwa iya kuhamba ngexesha langempela.

Njengoko kunokubonwa, kukho inani elikhulu lememori egciniweyo, malunga nesiqingatha esisetyenziswa zizicelo ezivulekileyo. Kuba khupha amaphepha agciniweyo, ii-inode, kunye nongeniso lolawulo, sebenzisa nje umyalelo:

sudo sync

Ilandelwe ngu:

sudo sysctl -w vm.drop_caches=3

Kubalulekile ukuba ungalibali ukusebenzisa "sudo sync", okanye ngenye indlela sinokuphulukana nolwazi ekhoyo kwi-RAM engekagcinwa kwi-hard drive.

Ukuvala iinkqubo ezingeyomfuneko

Ubuntu, kunye neLinux ngokubanzi, ilawula i-RAM kakuhle, ke akusafuneki ukuba wenze nayiphi na kwezi zingasentla. Ingahluka ukuba isixokelelwano sokusebenza asiyazi into emayiyenze ngomsebenzi onzima. Oko kukuthi, xa sineenkqubo ezininzi ezivulekileyo, inkqubo yokusebenza ayikwazi okanye ayiyiyo yokugqiba ukuba yenzani nganye kubo, kwaye izama ukuyihambisa njengoko inako. Ukuba akukho RAM, mhlawumbi iya "kugqiba" ngokwayo ukuvala inkqubo ethile, kodwa oku kunokubangela ukuba silahlekelwe ulwazi oluthile.

Ke ngoko, kwaye njengakwizihlandlo ezininzi, eyona ndlela ilungileyo yokulawula imemori ye-RAM yile la cabeza. Ukuba sinayo ikhomputha ubuncinane be-16GB ye-RAM, asiyi kufane siphelelwe yimemori ukuba siyenza ngokusetyenziswa ngokuqhelekileyo, kodwa nge-4 okanye ngaphantsi, izinto ziyahluka. Kwezi meko, kungcono ukuba uvule kuphela oko kuyimfuneko.

Ukuba siqaphela ukuba ikhomputha iyagula, sinokuvula umphathi womsebenzi kwaye sibone okwenzekayo:

Ubuntu System Monitor

Kulo inkqubo yokujonga, isixhobo somzobo (GUI) esibonisa ulwazi olufana nolo lwe phezulu, siya kubona zonke iinkqubo ezivulekileyo. Singaziodola ngamagama, ngomsebenzisi, i-CPU okanye ukusetyenziswa kwe-RAM, phakathi kwabanye. Ukuba siqaphela ukuba ikhomputha yethu iyacotha okanye inomsebenzi onzima, sinomdla wokuyalela iinkqubo ngokusetyenziswa kweprosesa (% CPU) okanye RAM (Memory). Ukuba siyazi ukuba yintoni inkqubo edla izixhobo ezininzi ezenzayo, sinokucofa ekunene kuyo kwaye ukhethe ukhetho "Bulala". Ngokuqinisekileyo, ukonga ngaphambi kwazo zonke iinguqu ezibalulekileyo.

Ukuba ujongisisa ulwazi olunikezwa yinkqubo esweni okanye i-htop, phakathi kwabanye, siya kufunda oko kudla kakhulu. Ukusuka apha, isincomo kubanini besixhobo esinengeniso ephantsi kukuba ube nolawulo olulungileyo lwesikhangeli sewebhu. Nangona ingasetyenziselwa ukwenza yonke into kwaye namhlanje sesinye sezona zixhobo zokusebenza zibalaseleyo, inokuba neenkqubo ezininzi ezivulekileyo ezinokushiya ikhompyuter yethu ingathethi. Ke ngoko, kufanelekile ukuba kungabikho iithebhu ezininzi ezivulekileyo ukuba azifuneki, kunye nokuvala isikhangeli ngokupheleleyo.

I-RAM ikhona ukuyisebenzisa, kodwa ayiyikuyichitha okanye isenze sihlupheke.

Iinkcukacha ezithe xaxe - Jonga ubushushu bekhompyuter yakho ngomyalelo 'woluvo'


Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa. ezidingekayo ziphawulwe *

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.

  1.   Miquel Mayol kunye Tur sitsho

    Kukho iskripthi se-elatareao esinokufumaneka kwiphepha lakho elibizwa ngokuba yi-freecache.py ekhulula i-cache ukuba ithatha i-90% ye-RAM.

    http://www.atareao.es/descargas/scripts/

  2.   Iimpawu zamaKristu sitsho

    Kwaye yintoni efumanekayo ngokukhulula imemori esetyenziselwa i-cache? Sinyanzela umatshini ukuba afunde kwakhona izinto ezininzi kwidiski esele inayo kwimemori. Umatshini uza kuqhuba kancinci de igcwaliswe kwakhona i-cache ...

  3.   USantiago José López Borrazás sitsho

    Ungaziniki kakhulu entloko. I-Linux kernel ikhathalela ukukhulula loo nkumbulo iseleyo. Andiboni ngqiqweni.
    Andikusebenzisi oko, kuba enyanisweni, njengoko uCristian Yones esitsho, kungcono ungayisebenzisi loo nto, kuba uya kugqiba ukubhala kwakhona idiski ende ixesha elide.
    Kungcono ukuba nayo njengoko sitshilo. Musa ukuchukumisa nantoni na.
    Masinwabe…

  4.   UMario Arleth Orozco Gil sitsho

    Kwimeko yam isebenze ngokugqibeleleyo. Kuba ndineseva ene-asterisk ekutsalwa kuyo iifowuni. Ndisebenzise phantse iigigs ezili-16 zenkunzi yegusha kwezili-16 ezikhoyo kwaye umthwalo wam wawusanda. Xa kuqhuba inkqubo, ikhulule inkumbulo yam kwaye ishiye umndilili we-5gb isetyenzisiwe, ivumela inkqubo ukuba ibe nenkumbulo yenkunzi yegusha kuwo nawuphi na umsebenzi kunye nokuphucula ukusebenza komatshini. Enkosi ngesisombululo. Mhlawumbi njengoko uSantiago esitsho, ayisoloko iluncedo, kodwa kwimeko yam yayi njalo.

  5.   mzantsiac sitsho

    Isisombululo esihle, ngakumbi ukuba sifuna ukukopa iifayile ezinobunzima obu-5, 10, 20, 30 GB, ...
    Enkosi kakhulu kunye nemibuliso

  6.   UManuel Munoz Ichibi sitsho

    Ndikhonze, enkosi.

  7.   ibhakhowudi sitsho

    Ihlala isebenza kum, kuba ndenza iimvavanyo kwiseva ebonakalayo ene-500 mb yenkunzi yegusha

  8.   UJavier Renteria sitsho

    kakuhle ... kwinto endiyiqondayo iluncedo ngakumbi xa uza kusebenza neefayile ezinkulu ...
    kwimeko yam akuyomfuneko .. ngendlela efanayo enkosi ngokwabelana

  9.   UPablo chivel sitsho

    Molo, andifumani myalelo 1, ndenza ntoni?

  10.   UPablo chivel sitsho

    Molo kum, umthetho wokuqala awusebenzi