sata-dma...

Sekcia: Hardware a Drivery 10.01.2006 | 11:07
Avatar marián Fedora,Vector,Slack  Používateľ
ahojte :) Mam taky problem, zacinam pochybovat, ci mam zapate na mojom 120gb sata disku zapate dma. Niekedy sa stava, ze strasne sroti, a iba vyvolat obycajne menu pravym tlacitkom v xfce je pre neho utrpenie. Mam athlon 3200+ s 512mb ramkou, tak by som bol rad, keby ten system bol sviznejsi, hlavne po tom, co som presiel z kde na xfce ... tot vypis z sdparm [root@localhost /]# sdparm -a /dev/sda /dev/sda: ATA Maxtor 6Y120M0 YAR5 Read write error recovery mode page: AWRE 1 [ sav: 1] ARRE 1 [ sav: 1] TB 0 [ sav: 0] RC 0 [ sav: 0] EER 0 [ sav: 0] PER 0 [ sav: 0] DTE 0 [ sav: 0] DCR 0 [ sav: 0] RRC 0 [ sav: 0] WRC 0 [ sav: 0] RTL 0 [ sav: 0] Caching (SBC) mode page: IC 0 [ sav: 0] ABPF 0 [ sav: 0] CAP 0 [ sav: 0] DISC 0 [ sav: 0] SIZE 0 [ sav: 0] WCE 1 [ sav: 1] MF 0 [ sav: 0] RCD 0 [ sav: 0] DRRP 0 [ sav: 0] WRP 0 [ sav: 0] DPTL 0 [ sav: 0] MIPF 0 [ sav: 0] MAPF 0 [ sav: 0] MAPFC 0 [ sav: 0] FSW 0 [ sav: 0] LBCSS 0 [ sav: 0] DRA 0 [ sav: 0] NV_DIS 0 [ sav: 0] NCS 0 [ sav: 0] CSS 0 [ sav: 0] Control mode page: TST 0 [ sav: 0] TMF_ONLY 0 [ sav: 0] D_SENSE 1 [ sav: 1] GLTSD 1 [ sav: 1] RLEC 0 [ sav: 0] QAM 0 [ sav: 0] QERR 0 [ sav: 0] RAC 0 [ sav: 0] UA_INTLCK 0 [ sav: 0] SWP 0 [ sav: 0] ATO 0 [ sav: 0] TAS 0 [ sav: 0] AUTOLOAD 0 [ sav: 0] BTP -1 [ sav: -1] ESTCT 30 [ sav: 30]
    • Re: sata-dma... 10.01.2006 | 11:07
      Marcel   Návštevník
      Caves ! Tiez som mal problem s DMA a SATA diskom. Zistil som to tak, ze mi program top -d1 ukazoval neobvykle vysoke zatazenie procesora programom kswapd0 (pouziva sa na swapovanie). Niekde som sa potom docital, ze by to mohol sposobovat SELinux, preto som ho zakazal (/etc/selinux/config - SELINUX=disabled). Odvtedy mi kswapd0 ani iny program nezatazuje procesor, lenze disk je aj tak svinsky pomali. Pregooglil som vela casu na internete, ale na nic rozumne som zatial neprisiel. Kde a ako mozem nastavit nejake parametre SATA HD ? Ten program sdparm je sice fajn, lenze netusim co s min mam robit. Nizsie uvazam vypis, lenze tiez neviem co s nim. Podla toho co som sa docital na roznych strankach (napr. http://linuxmafia.com/faq/Hardware/sata.html) by som mal mat aj spravne ovladace k mojmu HW. Bol by som velmi velmi rad, keby mi niekto blizsie objasnil tuto problematiku, alebo aspon odkazal na nejake relevantne www stranky, lebo si s tym naozaj neviem rady ... Dakujem. sdparm --all --long /dev/sda /dev/sda: ATA Maxtor 6L080M0 BANC Direct access device specific parameters: WP=0 DPOFUA=0 Read write error recovery mode page: AWRE 1 [ sav: 1] Automatic write reallocation enabled ARRE 1 [ sav: 1] Automatic read reallocation enabled TB 0 [ sav: 0] Transfer block RC 0 [ sav: 0] Read continuous EER 0 [ sav: 0] Enable early recovery PER 0 [ sav: 0] Post error DTE 0 [ sav: 0] Data terminate on error DCR 0 [ sav: 0] Disable correction RRC 0 [ sav: 0] Read retry count COR_S 0 [ sav: 0] Correction span (obsolete) HOC 0 [ sav: 0] Head offset count (obsolete) DSOC 0 [ sav: 0] Data strobe offset count (obsolete) WRC 0 [ sav: 0] Write retry count RTL 0 [ sav: 0] Recovery time limit (ms) Caching (SBC) mode page: IC 0 [ sav: 0] Initiator control ABPF 0 [ sav: 0] Abort pre-fetch CAP 0 [ sav: 0] Caching analysis permitted DISC 0 [ sav: 0] Discontinuity SIZE 0 [ sav: 0] Size enable WCE 0 [ sav: 0] Write cache enable MF 0 [ sav: 0] Multiplication factor RCD 0 [ sav: 0] Read cache disable DRRP 0 [ sav: 0] Demand read retension priority WRP 0 [ sav: 0] Write retension priority DPTL 0 [ sav: 0] Disable pre-fetch transfer length MIPF 0 [ sav: 0] Minimum pre-fetch MAPF 0 [ sav: 0] Maximum pre-fetch MAPFC 0 [ sav: 0] Maximum pre-fetch ceiling FSW 0 [ sav: 0] Force sequential write LBCSS 0 [ sav: 0] Logical block cache segment size DRA 0 [ sav: 0] Disable read ahead NV_DIS 0 [ sav: 0] Non-volatile cache disable NCS 0 [ sav: 0] Number of cache segments CSS 0 [ sav: 0] Cache segment size Control mode page: TST 0 [ sav: 0] Task set type TMF_ONLY 0 [ sav: 0] Task management functions only D_SENSE 1 [ sav: 1] Descriptor format sense data GLTSD 1 [ sav: 1] Global logging target save disable RLEC 0 [ sav: 0] Report log exception condition QAM 0 [ sav: 0] Queue algorithm modifier QERR 0 [ sav: 0] Queue error management RAC 0 [ sav: 0] Report a check UA_INTLCK 0 [ sav: 0] Unit attention interlocks controls SWP 0 [ sav: 0] Software write protect ATO 0 [ sav: 0] Application tag owner TAS 0 [ sav: 0] Task aborted status AUTOLOAD 0 [ sav: 0] Autoload mode BTP -1 [ sav: -1] Busy timeout period (100us) ESTCT 30 [ sav: 30] Extended self test completion time (sec) Control extension mode page: TCMOS 0 [ sav: 0] Timestamp changeable by methods outside standard SCSIP 0 [ sav: 0] SCSI timestamp commands take precedence over other methods IALUAE 0 [ sav: 0] Implicit asymmetric logical unit access enabled lsmod | grep ata ata_piix 9541 4 libata 47437 1 ata_piix scsi_mod 135785 3 megaraid_mbox,libata,sd_mod lspci 00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03) 00:1f.2 Class 0106: Intel Corporation 82801FR/FRW (ICH6R/ICH6RW) SATA Controller (rev 03)