[Albator] MDK un jour, MDK toujours ! | Salut,
n'ayant trouvé nulle part sur Internet d'informations équivalentes, je me permets de poster ici le résultat de mes recherches.
J'ai longtemps cherché pour Linux un équivalent aux outils Wcpredit et Wcprset sous Windows.
Ces outils permettent de modifier les registres du chipset de la carte mère.
Cela permet par exemple d'effectuer des réglages supportés par la carte mère, mais qui ne sont pas proposés par le Setup du Bios.
Pour ma part, j'ai réussi à optimiser de manière très perceptible les performances de ma bonne vieille carte mère Chaintech 7KDD (bi-socket A), à base de chipset AMD 760MPX, en utilisant SETPCI.
Le script que j'utilise est le suivant. Si vous avez déja écrit des choses équivalentes pour d'autres chipsets, je vous invite à les poster ici.
Code :
- #!/bin/bash
- # This script optimizes performances for motherboard with northbridge AMD760/AMD762 MP/MPX
- # Informations were gathered from:
- # http://www.neoseeker.com/Articles/ [...] es/amd762/
- # http://forums.2cpu.com/showthread. [...] hlight=mpx
- # http://www.amd.com/fr-fr/Processor [...] 96,00.html
- # The SETPCI command
- # Northbridge is usually device 00:00.0
- SETPCI="setpci -v -s 00:00.0"
- # Syntax:
- # Columns are:
- # Offset Mask.b Mask.h Value.b Value.h Description
- #
- # Command syntax is:
- # SETPCI OFFSET=VALUE.h:MASK.h
- # CHIPSET | Speculative Read Data Movement Enable
- # Please note: the left 4 bits are for CPU0, the right 4 bits are for CPU1
- # !!! CPU0 and CPU1 *must* be configured equally !!!
- # 46 11111111 FF 00000000 00 Disabled
- # 46 11111111 FF 00010001 11 Single clock
- # 46 11111111 FF 00100010 22 2 clocks
- # ...
- # 46 11111111 FF 11111111 FF 15 clocks
- #
- $SETPCI 46=FF:FF
- # MEMORY | ECC | Diagnostics mode
- # 49 00010000 10 00000000 00 Disable
- # 49 00010000 10 00010000 10 Enable
- #
- #$SETPCI 49=10:10
- # MEMORY | ECC | Configure what what will be checked and corrected
- # 49 00001100 0C 00000000 00 Set to 00 if ECC is disabled
- # 49 00001100 0C 00000100 04 Check only
- # 49 00001100 0C 00001000 08 Check and Correct
- # 49 00001100 0C 00001100 0C Check, Correct, Scrub
- #
- #$SETPCI 49=08:0C
- # MEMORY | PERFORMANCE | TRCD (Ras-to-Cas Delay)
- # 54 00000011 03 00000000 00 TRCD = 1
- # 54 00000011 03 00000001 01 TRCD = 2 (optimized)
- # 54 00000011 03 00000010 02 TRCD = 3 (default ?)
- # 54 00000011 03 00000011 03 TRCD = 4
- #
- $SETPCI 54=01:03
- # MEMORY | PERFORMANCE | CAS Latency
- # Default value is set by BIOS, depending on the memory modules installed.
- # 54 00001100 0C 00000000 00 CAS = 3
- # 54 00001100 0C 00000100 04 CAS = 2 (optimized)
- # 54 00001100 0C 00001000 08 CAS = 2.5
- #
- $SETPCI 54=04:0C
- # MEMORY | PERFORMANCE | TRAS
- # 54 01110000 70 01110000 70 TRAS = 9
- # 54 01110000 70 01100000 60 TRAS = 8
- # 54 01110000 70 01010000 50 TRAS = 7 (default ?)
- # 54 01110000 70 01000000 40 TRAS = 6
- # 54 01110000 70 00110000 30 TRAS = 5
- # 54 01110000 70 00100000 20 TRAS = 4
- # 54 01110000 70 00010000 10 TRAS = 3
- # 54 01110000 70 00000000 00 TRAS = 2 (optimized)
- #
- $SETPCI 54=00:70
- # MEMORY | PERFORMANCE | TRP
- # Note: this setting uses 2 bits: bit 7 at offset 54 + bit 0 at offset 55
- # 54 10000000 80 10000000 80 TRP = 2 (optimized)
- # 55 00000001 01 00000000 00 TRP = 2 (optimized)
- # 54 10000000 80 00000000 00 TRP = 3 (recommended)
- # 55 00000001 01 00000000 00 TRP = 3 (recommended)
- # 54 10000000 80 10000000 80 TRP = 4
- # 55 00000001 01 00000001 01 TRP = 4
- #
- $SETPCI 54=80:80,00:01
- # MEMORY | PERFORMANCE | TRC
- # 55 00001110 0E 00001110 0E TRC = 10
- # 55 00001110 0E 00001100 0C TRC = 9
- # 55 00001110 0E 00001010 0A TRC = 8 (default)
- # 55 00001110 0E 00001000 08 TRC = 7
- # 55 00001110 0E 00000110 06 TRC = 6
- # 55 00001110 0E 00000100 04 TRC = 5 (optimized)
- # 55 00001110 0E 00000010 02 TRC = 4
- # 55 00001110 0E 00000000 00 TRC = 3
- #
- $SETPCI 55=04:0E
- # MEMORY | PERFORMANCE | Page Hit Limit
- # Not sure what the best setting is ...
- # 55 11000000 C0 00000000 00 Page Hit Limit = 1
- # 55 11000000 C0 01000000 40 Page Hit Limit = 4
- # 55 11000000 C0 10000000 80 Page Hit Limit = 8 (default)
- # 55 11000000 C0 11000000 C0 Page Hit Limit = 16 (optimized ??)
- #
- $SETPCI 55=C0:C0
- # MEMORY | PERFORMANCE | Idle Cycle Limit
- # 56 00000111 07 00000111 07 Disable
- # 56 00000111 07 00000110 06 48 cycles
- # 56 00000111 07 00000101 05 32 cycles
- # 56 00000111 07 00000100 04 24 cycles
- # 56 00000111 07 00000011 03 16 cycles
- # 56 00000111 07 00000010 02 12 cycles
- # 56 00000111 07 00000001 01 8 cycles (default)
- # 56 00000111 07 00000000 00 0 cycles
- #
- $SETPCI 56=01:07
- # MEMORY | PERFORMANCE | TRRD
- # I did not try to change this one...
- # 56 10000000 80 00000000 00 TRRD = 2
- #
- # CHIPSET | Write Recovery Time
- # 57 00000011 03 00000000 00 1 cycle (optimized)
- # 57 00000011 03 00000010 02 2 cycles (default)
- # 57 00000011 03 00000011 03 3 cycles
- #
- $SETPCI 57=00:03
- # CHIPSET | Write to Read delay
- # 57 00000100 04 00000000 00 1 cycle (optimized)
- # 57 00000100 04 00000100 04 2 cycles (default)
- #
- $SETPCI 57=00:04
- # CHIPSET | Use Registered DDR
- # I did not try to change this one, since the bios should always set it correctly !
- # 57 00001000 08 00001000 08 Enable
- #
- # CHIPSET | Super Bypass Wait State
- # The manual says that with FSB=133 Mhz, this bit MUST be set.
- # 57 10000000 80 00000000 00 100 Mhz
- # 57 10000000 80 10000000 80 133 Mhz
- #
- # CHIPSET | Burst Refresh
- # The manual states that problems exist with this setting (memory data corruption).
- # But it also states that it never happens under Windows (???)
- # 5A 00010000 10 00000000 00 No refresh (default)
- # 5A 00010000 10 00010000 10 Enable queuing (optimized)
- #
- $SETPCI 5A=10:10
- # CHIPSET | Cycles per Refresh
- # 5A 00000011 03 00000000 00 15.36 µs
- # 5A 00000011 03 00000001 01 11.52 µs
- # 5A 00000011 03 00000010 02 7.68 µs (default)
- # 5A 00000011 03 00000011 03 3.84 µs
- #
- # CHIPSET | Super Bypass Enable
- # Enable only if you have 1 CPU (leave disabled on SMP systems).
- # Too bad for us SMP users !
- # 61 00000010 02 00000000 00 Disable (default)
- # 61 00000010 02 00000010 02 Enable
- #
- # PCI | PCI Pipe
- # 71 00000100 04 00000000 00 Disable (default on MP)
- # 71 00000100 04 00000100 04 Enable (optimized, default on MPX)
- #
- $SETPCI 71=04:04
- # PCI | PCI Block Write
- # 71 00000010 02 00000000 00 Disable (default on MP)
- # 71 00000010 02 00000010 02 Enable (optimized, default on MPX)
- #
- $SETPCI 71=02:02
- # AGP | AGP Prefetch
- # 84 00000100 04 00000000 00 Disable (default on MP)
- # 84 00000100 04 00000100 04 Enable (optimized, default on MPX)
- #
- $SETPCI 84=04:04
- # PCI | PCI Prefetch
- # 84 00000010 02 00000000 00 Disable (default on MP)
- # 84 00000010 02 00000010 02 Enable (optimized, default on MPX)
- #
- $SETPCI 84=02:02
- # CPU | CPU1 Multiplier
- # 88 00001111 0F 00000000 00 11.0
- # 88 00001111 0F 00000001 01 11.5
- # 88 00001111 0F 00000010 02 12.0
- # 88 00001111 0F 00000011 03 12.5
- # 88 00001111 0F 00000100 00 5.0
- # 88 00001111 0F 00000101 01 5.5
- # 88 00001111 0F 00000110 02 6.0
- # 88 00001111 0F 00000111 03 6.5
- # 88 00001111 0F 00001000 00 7.0
- # 88 00001111 0F 00001001 01 7.5
- # 88 00001111 0F 00001010 02 8.0
- # 88 00001111 0F 00001011 03 8.5
- # 88 00001111 0F 00001100 00 9.0
- # 88 00001111 0F 00001101 01 9.5
- # 88 00001111 0F 00001110 02 10.0
- # 88 00001111 0F 00001111 03 10.5
- #
- # CPU | CPU2 Multiplier
- # 89 00001111 0F 00000000 00 11.0
- # 89 00001111 0F 00000001 01 11.5
- # 89 00001111 0F 00000010 02 12.0
- # 89 00001111 0F 00000011 03 12.5
- # 89 00001111 0F 00000100 00 5.0
- # 89 00001111 0F 00000101 01 5.5
- # 89 00001111 0F 00000110 02 6.0
- # 89 00001111 0F 00000111 03 6.5
- # 89 00001111 0F 00001000 00 7.0
- # 89 00001111 0F 00001001 01 7.5
- # 89 00001111 0F 00001010 02 8.0
- # 89 00001111 0F 00001011 03 8.5
- # 89 00001111 0F 00001100 00 9.0
- # 89 00001111 0F 00001101 01 9.5
- # 89 00001111 0F 00001110 02 10.0
- # 89 00001111 0F 00001111 03 10.5
- #
- # CPU | AMD Athlon Bus Threshold
- # 8B 00000001 01 00000000 00 1.35V-1.9V (default)
- # 8B 00000001 01 00000001 01 2.0V-2.2V
- #
- # AGP | Fast Writes
- # A8 00010000 10 00000000 00 Disable (default)
- # A8 00010000 10 00010000 10 Enable
- #
- $SETPCI A8=10:10
- # AGP | AGP Mode
- # A8 00000111 07 00000001 01 AGP 1x
- # A8 00000111 07 00000011 03 AGP 2x (also supports 1x cards)
- # A8 00000111 07 00000111 07 AGP 4x (also supports 1x, 2x cards)
- #
- $SETPCI A8=07:07
- # AGP | Sideband Addressing
- # A9 00000010 02 00000000 00 Disable (default)
- # A9 00000010 02 00000010 02 Enable
- #
- $SETPCI A9=02:02
- # AGP | Fast Writes Override
- # B9 10000000 80 00000000 00 Disable
- # B9 10000000 80 10000000 80 Enable (default)
- #
- # AGP | Force AGP 4x
- # B9 01000000 40 00000000 00 Disable
- # B9 01000000 40 01000000 40 Enable (default)
- #
|
Message édité par [Albator] le 07-05-2008 à 14:02:39
|