Alle lunedì 11 giugno 2007, Fabio Napoleoni ha scritto: > il che è tutto dire, però ora mi rimane un dubbio, ieri ho spulciato > parecchio il funzionamento di hdparm e leggendo suggerimenti vari qua > e la ho dato il seguente comando credendo di ottenere un ulteriore > miglioramento delle prestazioni: > > debian-etch:/home/fabio# hdparm -A1 -c3 -d1 -m16 -u1 -Xudma5 /dev/hda
Leggi con attenzione il man di hdparm prima di lanciarlo: il suo utilizzo improprio potrebbe darti grossi problemi - corruzione del filesystem, perdita di dati, eccetera. > > invece le prestazioni rimangono pressoché invariate: > Timing buffered disk reads: 80 MB in 3.01 seconds = 26.62 MB/sec Il tuo hardware è piuttosto vecchiotto (~ 4 anni) o sbaglio? > Che faccio è utile impostare quei flag in /etc/hdparm.conf oppure > lasci tutto così com'è?? Con i dischi degli ultimi due o tre anni l'unica opzione realmente importante è using_dma. Il resto sono più o meno cazzabubbole: cosmos:/home/marco# hdparm /dev/hda /dev/hda: multcount = 0 (off) IO_support = 0 (default 16-bit) unmaskirq = 0 (off) using_dma = 1 (on) keepsettings = 0 (off) readonly = 0 (off) readahead = 256 (on) geometry = 65535/16/63, sectors = 160086528, start = 0 cosmos:/home/marco# hdparm -t /dev/hda /dev/hda: Timing buffered disk reads: 162 MB in 3.02 seconds = 55.56 MB/sec cosmos:/home/marco# Tutto questo senza passare nessuna opzione ad hdparm. saluti ps ho un disco P-ATA pps la sezione che ti interessa del file di configurazione del mio kernel (2.6.21-ck2); la mia scheda madre è una P4P800SE con chipset Intel e l'HD un Maxtor 6L080L0. ---snip--- # # ATA/ATAPI/MFM/RLL support # CONFIG_IDE=y CONFIG_BLK_DEV_IDE=y # # Please see Documentation/ide.txt for help/info on IDE drives # # CONFIG_BLK_DEV_IDE_SATA is not set # CONFIG_BLK_DEV_HD_IDE is not set CONFIG_BLK_DEV_IDEDISK=y # CONFIG_IDEDISK_MULTI_MODE is not set CONFIG_BLK_DEV_IDECD=y # CONFIG_BLK_DEV_IDETAPE is not set # CONFIG_BLK_DEV_IDEFLOPPY is not set # CONFIG_BLK_DEV_IDESCSI is not set # CONFIG_BLK_DEV_IDEACPI is not set # CONFIG_IDE_TASK_IOCTL is not set # # IDE chipset support/bugfixes # # CONFIG_IDE_GENERIC is not set # CONFIG_BLK_DEV_CMD640 is not set # CONFIG_BLK_DEV_IDEPNP is not set CONFIG_BLK_DEV_IDEPCI=y # CONFIG_IDEPCI_SHARE_IRQ is not set # CONFIG_BLK_DEV_OFFBOARD is not set CONFIG_BLK_DEV_GENERIC=y # CONFIG_BLK_DEV_OPTI621 is not set # CONFIG_BLK_DEV_RZ1000 is not set CONFIG_BLK_DEV_IDEDMA_PCI=y # CONFIG_BLK_DEV_IDEDMA_FORCED is not set # CONFIG_IDEDMA_ONLYDISK is not set # CONFIG_BLK_DEV_AEC62XX is not set # CONFIG_BLK_DEV_ALI15X3 is not set # CONFIG_BLK_DEV_AMD74XX is not set # CONFIG_BLK_DEV_ATIIXP is not set # CONFIG_BLK_DEV_CMD64X is not set # CONFIG_BLK_DEV_TRIFLEX is not set # CONFIG_BLK_DEV_CY82C693 is not set # CONFIG_BLK_DEV_CS5520 is not set # CONFIG_BLK_DEV_CS5530 is not set # CONFIG_BLK_DEV_CS5535 is not set # CONFIG_BLK_DEV_HPT34X is not set # CONFIG_BLK_DEV_HPT366 is not set # CONFIG_BLK_DEV_JMICRON is not set # CONFIG_BLK_DEV_SC1200 is not set CONFIG_BLK_DEV_PIIX=y # CONFIG_BLK_DEV_IT8213 is not set # CONFIG_BLK_DEV_IT821X is not set # CONFIG_BLK_DEV_NS87415 is not set # CONFIG_BLK_DEV_PDC202XX_OLD is not set # CONFIG_BLK_DEV_PDC202XX_NEW is not set # CONFIG_BLK_DEV_SVWKS is not set # CONFIG_BLK_DEV_SIIMAGE is not set # CONFIG_BLK_DEV_SIS5513 is not set # CONFIG_BLK_DEV_SLC90E66 is not set # CONFIG_BLK_DEV_TRM290 is not set # CONFIG_BLK_DEV_VIA82CXXX is not set # CONFIG_BLK_DEV_TC86C001 is not set # CONFIG_IDE_ARM is not set CONFIG_BLK_DEV_IDEDMA=y # CONFIG_IDEDMA_IVB is not set # CONFIG_BLK_DEV_HD is not set ---snip--- -- Marco http://forlibertaria.ath.cx http://www.giumuragiubox.org

