Kezdőlap › Fórumok › UHU Linux › Általános UHU problémák, javaslatok › memória használata
- This topic has 58 hozzászólás, 15 résztvevő, and was last updated 19 years telt el by
–Laszlo–.
-
SzerzőBejegyzés
-
2006-05-01-12:08 #2057993
Milyen hdparmot használtok ?
Nekem ez van hdparm -l /dev/hda -ra.
hdparm – get/set hard disk parameters – version v6.3
Usage: hdparm [options] [device] ..
Options:
-a get/set fs readahead
-A set drive read-lookahead flag (0/1)
-b get/set bus state (0 == off, 1 == on, 2 == tristate)
-B set Advanced Power Management setting (1-255)
stb. stb. stb.A hdparm -i az jó.
2006-05-01-12:13 #2057994milfer wrote:Milyen hdparmot használtok ?Nekem ez van hdparm -l /dev/hda -ra.
hdparm – get/set hard disk parameters – version v6.3
Usage: hdparm [options] [device] ..
Options:
-a get/set fs readahead
-A set drive read-lookahead flag (0/1)
-b get/set bus state (0 == off, 1 == on, 2 == tristate)
-B set Advanced Power Management setting (1-255)
stb. stb. stb.A hdparm -i az jó.
2006-05-01-12:20 #2057995Milyen hdparmot használtok ?
gentoo juuzer # hdparm -V
hdparm v6.3
gentoo juuzer # hdparm -I /dev/hdd/dev/hdd:
ATA device, with non-removable media
Model Number: Maxtor 6L200P0
Serial Number: L425SLNG
Firmware Revision: BAJ41G20
Standards:
Supported: 7 6 5 4
Likely used: 7
Configuration:
Logical max current
cylinders 16383 65535
heads 16 1
sectors/track 63 63
—
CHS current addressable sectors: 4128705
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 398297088
device size with M = 1024*1024: 194481 MBytes
device size with M = 1000*1000: 203928 MBytes (203 GB)
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec’d by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Advanced power management level: unknown setting (0x0000)
Recommended acoustic management value: 192, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* NOP cmd
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
* Look-ahead
* Write cache
* Power Management feature set
Security Mode feature set
SMART feature set
* FLUSH CACHE EXT command
* Mandatory FLUSH CACHE command
* Device Configuration Overlay feature set
* 48-bit Address feature set
* Automatic Acoustic Management feature set
SET MAX security extension
Advanced Power Management feature set
* DOWNLOAD MICROCODE cmd
* General Purpose Logging feature set
* SMART self-test
* SMART error logging
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
HW reset results:
CBLID- above Vih
Device num = 1 determined by the jumper
Checksum: correct
gentoo juuzer #hogyan tudom átállítani, hogy a winyót UDMA6-os módban kezelje
Nem tudom, esetleg /usr/src/linux/Documentation/ide.txt /usr/src/linux/Documentation/kernel-parameters.txt
Valamint ez még számíthat:
juuzer@gentoo ~ $ dmesg
…
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE-CK804: IDE controller at PCI slot 0000:00:06.0
NFORCE-CK804: chipset revision 242
NFORCE-CK804: not 100% native mode: will probe irqs later
NFORCE-CK804: BIOS didn’t set cable bits correctly. Enabling workaround.
NFORCE-CK804: 0000:00:06.0 (rev f2) UDMA133 controller
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
…Lehet hogy ez a „BIOS didn’t set cable bits correctly. Enabling workaround.” a felelõs.
szerk:
:ohmy: Commands/features:
Enabled Supported:
…
* Automatic Acoustic Management feature set
SET MAX security extension
Advanced Power Management feature set
…
ennek ellenére:
Advanced power management level: unknown setting (0x0000)
Recommended acoustic management value: 192, current value: 254
mentem guglizni2006-05-01-12:27 #2057996Hát ez érdekes. Itt az enyém.
gentooPC ~ # hdparm -V
hdparm v6.3
gentooPC ~ # hdparm -l /dev/hdahdparm – get/set hard disk parameters – version v6.3
Usage: hdparm [options] [device] ..
Options:
-a get/set fs readahead
-A set drive read-lookahead flag (0/1)
-b get/set bus state (0 == off, 1 == on, 2 == tristate)
-B set Advanced Power Management setting (1-255)
-c get/set IDE 32-bit IO setting
-C check IDE power mode status
-d get/set using_dma flag
–direct use O_DIRECT to bypass page cache for timings
-D enable/disable drive defect management
-E set cd-rom drive speed
-f flush buffer cache for device on exit
-g display drive geometry
-h display terse usage information
-i display drive identification
-I detailed/current information directly from drive
–Istdin read identify data from stdin as ASCII hex
–Istdout write identify data to stdout as ASCII hex
-k get/set keep_settings_over_reset flag (0/1)
-K set drive keep_features_over_reset flag (0/1)
-L set drive doorlock (0/1) (removable harddisks only)
-M get/set acoustic management (0-254, 128: quiet, 254: fast) (EXPERIMENTAL)
-m get/set multiple sector count
-n get/set ignore-write-errors flag (0/1)
-p set PIO mode on IDE interface chipset (0,1,2,3,4,…)
-P set drive prefetch count
-q change next setting quietly
-Q get/set DMA tagged-queuing depth (if supported)
-r get/set device readonly flag (DANGEROUS to set)
-R register an IDE interface (DANGEROUS)
-S set standby (spindown) timeout
-t perform device read timings
-T perform cache read timings
-u get/set unmaskirq flag (0/1)
-U un-register an IDE interface (DANGEROUS)
-v defaults; same as -mcudkrag for IDE drives
-V display program version and exit immediately
-w perform device reset (DANGEROUS)
-W set drive write-caching flag (0/1) (DANGEROUS)
-x tristate device for hotswap (0/1) (DANGEROUS)
-X set IDE xfer mode (DANGEROUS)
-y put IDE drive in standby mode
-Y put IDE drive to sleep
-Z disable Seagate auto-powersaving mode
-z re-read partition table
–security-help display help for ATA security commandsValamit tisztázzunk le. A paraméter az egy kis l betû „l” mint láda. 🙂
2006-05-01-12:28 #2057997Ha cable bits gond lenne, akkor szvsz UDMA5-ben sem menne, csak udma2-ben. Ha UDMA5-ben megy nálam, és a winyó ATA7/ATA-133-as, a kábel is ATA133-as, és nincs más ág rákötve az IDE kábelre (jól van kábelezve), akkor mennie kéne UDMA6-ban, mivelhogy dualbootos a gépem, és a másik op. sys alatt megy UDMA6-ban. Na nem tom’, egyelõre így hagyom, jó ez így egyelõre.
2006-05-01-12:32 #2057998Valamit tisztázzunk le. A paraméter az egy kis l betû „l” mint láda.
-I „i” mint (Staller)”Ilona”
-i display drive identification
-I detailed/current information directly from drive2006-05-01-12:35 #2057999„Valamit tisztázzunk le. A paraméter az egy kis l betû „l” mint láda.”
Valamit még elõtte tisztázzunk! Ismered a betûket, ill. az abc sorrendjüket? Mert, ha igen, akkor az „Options:” kezdetû sorokból világosan kiderül, hogy van-e „kis láda” betû – mivel az i ill. az l elég távol van egymástó l- és, ha igen, akkor mire használható. Igaz ez utóbbi itt angolul…2006-05-01-12:36 #2058000Na kár, hogy lekéstem… 🙁
2006-05-01-12:36 #2058001Jaja, én is nagy i, mint Ilonára gondoltam (meg azt is írtam), csak ugye így a monitoron összetéveszthetõ sajnos.
2006-05-01-12:40 #2058002„Ha cable bits gond lenne, akkor szvsz UDMA5-ben sem menne, csak udma2-ben. Ha UDMA5-ben megy nálam, és a winyó ATA7/ATA-133-as, a kábel is ATA133-as, és nincs más ág rákötve az IDE kábelre (jól van kábelezve), akkor mennie kéne UDMA6-ban, mivelhogy dualbootos a gépem, és a másik op. sys alatt megy UDMA6-ban. Na nem tom’, egyelõre így hagyom, jó ez így egyelõre.”
Ha megy az udma, akkor menni kell: udma6 (133 MB/s), udma5 (100 MB/s), udma2 (33 MB/s). -
SzerzőBejegyzés
- Be kell jelentkezni a hozzászóláshoz.
legutóbbi hsz