在red hat linux 7.2下如何開啟DMA ???

顯示結果從第 1 筆 到 4 筆,共計 4 筆
  1. #1
    阿賢 jollinman 的大頭照
    註冊日期
    2001-08-06
    討論區文章
    357

    在red hat linux 7.2下如何開啟DMA ???

    因為每次取讀硬碟資料的時候...
    cpu資源就佔到100%
    偏偏我這ibm硬碟的效能實在是..
    所以我突然想到如果開啟DMA的話效能一定有顯著的提升

    其實還有個解決方法...
    我這裡有IDE TO SCSI 的轉卡
    cpu使用率會在10%以下
    但是因為有些東西會發生確認上的問題
    (畢竟不是原本的介面阿...)
    所以我請教一下設定的方法
    謝謝~!!



  2. #2
    進階會員 repsol 的大頭照
    註冊日期
    2001-06-17
    所在地區
    ADSL 2M/256
    討論區文章
    818
    man hdparm



    NAME
    hdparm - get/set hard disk parameters

    SYNOPSIS
    hdparm [ -a [sectcount] ] [ -A [0|1] ] [ -c [chipset_mode]
    ] [ -C ] [ -d [0|1] ] [ -f ] [ -g ] [ -i ] [ -k [0|1] ] [
    -K [0|1] ] [ -L [0|1] ] [ -m [sectcount] ] [ -p
    [0|1|2|3|4|5] ] [ -P [sectcount] ] [ -q ] [ -r [0|1] ] [
    -S [timeout] ] [ -T ] [ -t ] [ -u [0|1] ] [ -v ] [ -W
    [0|1] ] [ -X [xfermode] ] [ -y ] [ -Y ] [ -Z ] [device] ..



    ............... 略刪..........................................................



    -d


    Disable/enable the "using_dma" flag for this drive.
    This option only works with a few combinations of
    drives and interfaces which support DMA and which
    are known to the IDE driver (and with all supported
    XT interfaces). In particular, the Intel Triton
    chipset is supported for bus-mastered DMA operation
    with many drives (experimental). It is also a good
    idea to use the -X34 option in combination with -d1
    to ensure that the drive itself is programmed for
    multiword DMA mode2. Using DMA does not necessarily
    provide any improvement in throughput or system
    performance, but many folks swear by it. Your
    mileage may vary.

    ............... 略刪..........................................................


    -X


    Set the IDE transfer mode for newer (E)IDE/ATA2
    drives. This is typically used in combination with
    -d1 when enabling DMA to/from a drive on a sup-
    ported interface chipset (such as the Intel 430FX
    Triton), where -X34 is used to select multiword DMA
    mode2 transfers. With systems which support Ultra-
    DMA burst timings, -X66 is used to select UltraDMA
    mode2 transfers (you'll need to prepare the chipset
    for UltraDMA beforehand). Apart from that, use of
    this flag is seldom necessary since most/all modern
    IDE drives default to their fastest PIO transfer
    mode at power-on. Fiddling with this can be both
    needless and risky. On drives which support transfer modes,
    -X can be used to switch the mode of the drive only.
    Prior to changing the transfer mode, the IDE interface
    should be jumpered or programmed (see -p flag) for the new
    mode set?
    ting to prevent loss and/or corruption of data.
    Use this with extreme caution! For the PIO (Programmed
    Input/Output) transfer modes used by Linux,
    this value is simply the desired PIO mode number
    plus 8. Thus, a value of 09 sets PIO mode1, 10
    enables PIO mode2, and 11 selects PIO mode3. Setting 00
    restores the drive's "default" PIO mode,
    and 01 disables IORDY. For multiword DMA, the
    value used is the desired DMA mode number plus 32.
    for UltraDMA, the value is the desired UltraDMA
    mode number plus 64.



    上面抓出比較重要的參數...希望對你有幫助

    記的改完之後...要把這串命令放在開機會自動執行的地方 /etc/rc2.d/.../etc/rc3.d/??
    要不然重開機...這樣的設定就沒效了..
    「遥か昔、正義に生きる悪魔の伝説があった。
    剣を取って戦い、悪魔の侵略を退けた魔剣士。
    その伝説も、やがて人々の記憶から消えて行った。

    だが2000年の時を経て、魔界はより強大になって甦る。
    圧倒的なパワーで押し寄せる魔界の軍勢。
    本格的な人間界侵攻が始まった…。

    再び訪れた人類の危機に一人の男が立ち上がる。
    伝説の魔剣士の血を引く悪魔狩人(デビルハンター)、その名はダンテ!」

  3. #3

  4. #4
    阿賢 jollinman 的大頭照
    註冊日期
    2001-08-06
    討論區文章
    357
    /dev/hda: No such device or address

    我硬碟設jump為slve..............

    結論...失敗............@@"

類似的主題

  1. 回覆: 0
    最後發表: 2006-02-12, 11:12 PM
  2. Red hat linux 7.1 在x window下有一個netcfg指令在7.2 版就就不見了
    作者:bigmichael 所在討論版:-- FreeBSD & Linux 討 論 版
    回覆: 6
    最後發表: 2003-03-06, 10:14 PM
  3. 【求助】怎麼在win2000下開啟dma??
    作者:70371 所在討論版:-- 光 碟 燒 錄 討 論 版
    回覆: 1
    最後發表: 2002-07-24, 06:33 PM
  4. 在 Windows2000 下如何開啟 DMA 模式?
    作者:puremax 所在討論版:-- Windows 討 論 版
    回覆: 1
    最後發表: 2002-03-30, 07:04 PM
  5. teac 540E如何在XP下開啟DMA???
    作者:edwalin 所在討論版:-- Windows 討 論 版
    回覆: 11
    最後發表: 2002-01-08, 07:30 PM

 

此網頁沒有從搜尋引擎而來的訪客

發表文章規則

  • 不可以發表新主題
  • 不可以回覆文章
  • 不可以上傳附加檔案
  • 不可以編輯自己的文章
  •