Ntsuas koj HDD qhov ua tau zoo ntawm Linux nrog hdparm

Ntau lub sijhawm peb pom tias qhov ua tau zoo ntawm tus neeg rau zaub mov tsis yog dab tsi nws yuav tsum, muaj peb xav paub, qhov teeb meem nyob qhov twg? … Nws yuav tsis txaus bandwidth? … Tsis muaj CPU lossis RAM? … Los yog kev sau ntawv thiab nyeem hauv HDD yuav tsis yog qhov zoo tshaj plaws?

Ntawm no kuv yuav qhia koj paub yuav ua li cas paub qhov siab tshaj qhov ceev koj HDD txhawb, qhov ceev tam sim no nws tuaj yeem ua haujlwm ntawm lwm yam, peb yuav siv lub cuab tam: hdparm ua

hdd-sib

Nruab hdparm

Ua ntej thiab nws yog ib yam pom tseeb, peb yuav tsum nruab qhov software uas peb yuav siv. Yog tias koj siv Ubuntu lossis Debian koj tuaj yeem nruab nrog:

sudo apt-get install hdparm

Yog tias koj siv ArchLinux lossis qee qhov cuam tshuam raws li qhov no nws yuav yog:

sudo pacman -S hdparm

Siv hdparm

Thawj qhov yog paub qhov siab ceev ntawm peb HDD, ntawd yog, yog tias nws yog Sata1, Sata2 lossis 3, nws puas txhawb tau ntau dua. Rau qhov no peb yuav siv cov lus txib nram qab no:

sudo hdparm -I /dev/sda | grep -i speed

Qhov no coj mus rau hauv tus account tias HDD peb xav tau tshuaj xyuas yog / dev / sda, uas yog, thawj lossis qhov tseem ceeb.

Nws yuav qhia peb qee yam zoo li no:

* Gen1 cov cim taw qhia ceev (1.5Gb / s) * Gen2 cov paib tawm suab (3.0Gb / s) * Gen3 cov paib tawm suab (6.0Gb / s)

Nyob ntawm seb qhov tshaj tawm HDD yog li cas, thiab, ntawm chav kawm, yog tias lawv muaj lub siab txhawb ntau dua nyob hauv BIOS.

Tam sim no cia saib ceev tam sim no uas tus HDD ua hauj lwm:

sudo hdparm -tT /dev/sda

Rov ua qhov lus txib ob lossis peb zaug kom tau qhov ntau ntawm qhov tseem ceeb.

Nws yuav qhia peb qee yam zoo li no:

/ dev / sda: sij hawm cached nyeem: 22770 MB hauv 2.00 vib nas this = 11397.43 MB / sec Timing buffered disk nyeem: 432 MB hauv 3.01 vib nas this = 143.59 MB / sec

Tus nqi thib ib tau ua nrog lub nrawm ntawm daim disk cache, tus nqi thib ob txhais tau tias qhov tseeb nyeem thiab sau nrawm, uas ntawm lub cev disk raws li.

Qhov kawg!

Kuv vam tias koj tau pab.

Los ntawm txoj kev, koj tuaj yeem pom cov ntaub ntawv tiav thiab ntxaws txog koj tus HDD los ntawm kev tshem tawm tus grep ntawm cov lus txib uas kuv tso yav dhau los, uas yog, zoo li no:

sudo hdparm -I /dev/sda

Txaus siab rau!


Cov ntsiab lus ntawm tsab xov xwm ua raws li peb cov ntsiab cai ntawm kev tswj hwm kev ncaj nceesCov. Tshaj tawm ib qho yuam kev nyem no.

8 lus, tawm koj li

Tso koj saib

Koj email chaw nyob yuav tsis tsum luam tawm. Yuav tsum tau teb cov cim nrog *

*

*

  1. Lub luag haujlwm rau cov ntaub ntawv: Miguel Ángel Gatón
  2. Lub hom phiaj ntawm cov ntaub ntawv: Tswj SPAM, kev tswj xyuas tawm tswv yim.
  3. Sau raws cai: Koj kev tso cai
  4. Kev sib txuas lus ntawm cov ntaub ntawv: Cov ntaub ntawv yuav tsis raug xa mus rau lwm tus neeg thib peb tsuas yog los ntawm kev txiav txim siab raug cai.
  5. Cov ntaub ntawv khaws cia: Cov Ntaub Ntawv khaws tseg los ntawm Occentus Networks (EU)
  6. Txoj Cai: Txhua lub sijhawm koj tuaj yeem txwv, rov qab thiab tshem tawm koj cov ntaub ntawv.

  1.   dhunter said

    Huag, Kuv tsis paub yog vim li cas tab sis kuv tau nyeem "Txhim kho kev ua tau zoo" hloov "ntsuas" thiab kuv tau mus dhia hauv thiab nug cov kev siv koj siv. Ua tsaug Gaara.

    1.    KZKG ^ Gaara said

      HAHAHAHA zoo ... qhov ua kom yuam kev tshaj plaws yog kom tau txais SSD hehe, tab sis nws yog qhov kim tshaj plaws 😀

      1.    dhunter said

        Qee lub sijhawm dhau los Kuv muaj 3 disks hauv lub desktop pc thiab nws tau tshwm sim rau kuv tias lub hom phiaj qub ntawm RAID yog kev nrawm thiab kuv tau ua RAID 0 (tshem tawm), Kuv theej yuav luag peb npaug ntawm qhov nrawm tab sis nrog qhov tsis zoo tias yog kuv poob disk kuv yuav poob nws txhua yam.

        Los ntawm txoj kev, ua ntej RAID yog "Redundant Array ntawm Kev Nqis Qhov Tsis Zoo" tam sim no nws yog "Independent Disks" vim tias peb feem ntau tsis xav tau kev nrawm heev tab sis cov ntaub ntawv ntseeg tau.

    2.    Giskard said

      Tau ib yam nkaus li tau tshwm sim rau kuv!

  2.   antiguo said

    Nrog IDE disk (PATA) tej yam qub, qhov siab tshaj plaws uas koj tau hais tawm nrog-Kuv tsis tawm rau kuv. Ntawm qhov tod tes, cov tam sim no tawm los, uas yuav muab ib lub tswv yim rau koj yog:
    / dev / sda:
    Cov sij hawm poob cached nyeem: 334 MB hauv 2.01 vib nas this = 166.40 MB / sec
    Cov sij hawm poob kev nyeem ntawv: 148 MB hauv 3.03 vib nas this = 48.77 MB / sec

    1.    KZKG ^ Gaara said

      Tsaug rau saib 😀

  3.   Cristian said

    Kev sim ntau ntxiv Kuv pom zoo phoronix
    http://www.phoronix-test-suite.com

  4.   zej 01 said

    Kuv yuav tsis ua si sib tw nrog qhov kev ntsuam puck hauv tsev. Yog tias tsis muaj kev qhia txog science thiab lej, qhov tsawg dua koj nres nws hauv kev sib hloov (tua nws), koj yuav ua tau zoo dua. Koj tuaj yeem lwj nws los ntawm defragmenting nws, compressing nws, encrypting nws, thiab lwm yam, ntau zaus. Kev siv lub tshuab kuaj disk tsis ua mob, tsis yog koj siv lawv ntau, koj hnav lub disk. Zoo li SSDs thiab USBs lawv muaj qhov txwv ntawm kev sau ntau xwb. Siv lawv los ntawm lub sijhawm rau ib qho yog qhov zoo, tab sis tsis muaj overdoing nws.
    Thiab tsawg dua koj nres / khau raj ntawm daim disk zoo dua.
    Siv daim disc me me li koj tuaj yeem ua tau.
    Ib tug tos txais.