Cpufreq, trayfreq da yadda ake adana kuzari a Arch Linux

Linux tsarin aiki ne sosai m. Wannan yana ba mu damar samun yanayin yanayin tebur da yawa a cikin tsarin aiki iri ɗaya, yi amfani da tashar kawai lokacin da muka ga dama ... addition Bugu da ƙari, babban mataimaki ne don ajiye wuta akan kwamfutar tafi-da-gidanka, amma koyaushe muna buƙatar wasu kayan aiki.



cpufreq wani tsari ne na Linux wanda yake bamu damar sarrafa saurin agogon mu CPU, hana shi kashe kuzari fiye da yadda ake bukata lokacin da bai zama dole ba. Dogaro da abin da muke buƙata, za mu iya zaɓar tsakanin “gwamnoni” daban-daban waɗanda za su yi aiki ɗaya ko wata. Mafi na kowa sune cpufreq_performance, cpufreq_ondemand y cpufreq_powersave:

  • cpufreq_performance: Yana ba mu matsakaicin aikin koyaushe, ba tare da ceton makamashi ba.
  • cpufreq_ondemand: Yana ba mu abin da ya wajaba, gyara saurin agogo na cpu dangane da yadda muke amfani da shi.
  • cpufreq_powersave: Yana rage saurin cpu zuwa mafi karanci, samun babban tanadi na makamashi.

Da zarar an san manyan abubuwan, bari mu matsa zuwa ga shigarwa cpufreq. A wannan yanayin aikin shine don Arch LinuxA cikin sauran rarrabuwa dole aikin ya zama iri ɗaya, bincika madaidaitan kunshin da daidaita abubuwan a farkon tsarin.

Da farko dai, bincika idan acpi an girka shi. A cikin Arch Linux wannan baya zuwa ta tsoho, don haka idan baku shigar dashi ba, to lokacin pacman ne:

pacman -S acpi

Da zarar an shigar acpi, zamu sake farawa don taya tare da tsarin. Idan muna da Intel CPU, za mu yi haka:

# modprobe acpi-cpufreq

Da zarar an ɗora kayan aikin, zamu iya samun bayanai daga cpu tare da umarni mai zuwa:

$ cpufreq-bayani

Yanzu za mu dauki gwamnoni uku:

# modprobe cpufreq_performance
# modprobe cpufreq_ondemand
# modprobe cpufreq_powersave

Don kowane rukuni yana farawa ta atomatik lokacin farawa tsarin, muna shirya fayil rc.conf tare da editan rubutunmu:

$ sudo gedit /etc/rc.conf
$ kdesu kwrite /etc/rc.conf

Kuma mun bar sashin MUTANE = () kamar haka (ellipsis sauran modulu ne idan kana da daya a wuri):

MULKI = (.... acpi-cpufreq cpufreq_performance cpufreq_ondemand cpufreq_powersave)

Da zarar mun shirya komai, zamu girka trayfreq daga AUR, amfani yogurt:

yaourt -S trayfreq

Note: Kar a girka trayfreq-fr daga maɓallin archlinux-fr, tunda wannan sigar tana haifar da matsaloli (aƙalla ba ta yi aiki a wurina ba).

trayfreq Aikace-aikacen aikace-aikace ne wanda ya rage a cikin kwandon tsarin kuma hakan yana bamu damar canza gwamna gwargwadon bukatunmu, ban da nuna mana saurin agogo na yanzu na cpu.

Tare da wannan duka, zamu iya sarrafa saurin agogo na CPU ba tare da matsaloli ba kuma adana makamashi lokacin da muke amfani da batirin kwamfutar tafi-da-gidanka.

link:

Siffar Mitar CPU (ArchWiki)


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

8 comments, bar naka

Bar tsokaci

Your email address ba za a buga.

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.

  1.   Bako m

    shawara, ku kiyaye cewa don amfani da cpufreq-info dole ne a girka kayan cpufreq

    Tambaya ɗaya: cewa kun sani, don amfani da trayfreq shin ya zama dole a girka kayan aikin cpufreq? Ina tsammanin Yaourt zai kula da komai.

    sannu sannu

  2.   Carlos Pena m

    Ya zama ya zama cikakke, na gode sosai kuma sakonku yana da kyau, gaisuwa

  3.   Alejandro m

    Na yi farin ciki da hakan ya amfane ka. Murna!

  4.   Itace m

    Godiya, mai ban sha'awa sosai.

  5.   Bari muyi amfani da Linux m

    Madalla da sakon Ale! Ina kewar ka !! Ina fata za ku iya yin rubutu sau da yawa.
    Na cika ni da aiki.
    Rungumewa! Bulus.

  6.   Alejandro m

    Godiya mai yawa! Gaisuwa!

  7.   Mafarauci m

    Godiya ga labarin! Tambaya daya, yaya kuke sarrafa wannan hanyar adana makamashi tare da ƙarfafawa? Shin zasu iya zama tare ko kuwa yanzu bai zama dole ayi amfani da waɗannan gwamnonin da kde 4.6.1 ba?

  8.   Bari muyi amfani da Linux m

    Manajan kunshin yawanci yana kula da masu dogaro. Gaisuwa! Ranar 11/08/2011 11:32, «Disqus» <>
    ya rubuta: