在AIX下如何提高dd命令的效率

hubb-1   2009-09-23 10:31:29    悬赏分:220  |
 状态:已解决  |  1071 次阅读  |  8 个回答  |  专业分类:UNIX服务器  |
在AIX5.3下运行一个dd命令,if文件是600M
需要多长时间啊?
 
dd  if=/path/d.iso   of=/dev/iso
 

答案

  • sleepsheep79 2009-09-23 11:03 回答:
    20 秒刚测试了一下.
  • sleepsheep79 2009-09-23 11:07 回答:
    /sybback
    [root@P570 sybback]#dd if=/sybback/head_Q1.dmp of=/dev/null
    6892572+0 records in.
    6892572+0 records out.
    小猪芬蒂克(76483064) 11:06:56
    System Model: IBM,9117-570
    Machine Serial Number: 65472EA
    Processor Type: PowerPC_POWER5
    Number Of Processors: 8
    Processor Clock Speed: 1502 MHz
    CPU Type: 64-bit
    Kernel Type: 64-bit
    LPAR Info: 1 65-472EA
    Memory Size: 15680 MB
    Good Memory Size: 15680 MB
    Platform Firmware level: Not Available
    Firmware Version: IBM,SF235_180
    Console Login: enable
    Auto Restart: true
    Full Core: false

    获分:220

  • lazyman 2009-09-23 11:07 回答:
    补充上面测试的环境:System Model: IBM,9117-570
    Machine Serial Number: 65472EA
    Processor Type: PowerPC_POWER5
    Number Of Processors: 8
    Processor Clock Speed: 1502 MHz
    CPU Type: 64-bit
    Kernel Type: 64-bit
    LPAR Info: 1 65-472EA
    Memory Size: 15680 MB
    Good Memory Size: 15680 MB
    Platform Firmware level: Not Available
    Firmware Version: IBM,SF235_180
    Console Login: enable
    Auto Restart: true
    Full Core: false


    /sybback
    [root@P570 sybback]#dd if=/sybback/head_Q1.dmp of=/dev/null
    6892572+0 records in.
    6892572+0 records out.
  • lazyman 2009-09-23 11:09 回答:
    这个时间不能统一,不同系统环境测试出来的时间是不一样...
  • sunwei 2009-09-23 14:49 回答:
    加入参数bs,可以提高dd效率
  • aixclub 2009-09-24 17:43 回答:
    已经那么多人回复了,楼主还没有结贴啊,大家都等着你的220个A币了!
  • yulu4314 2009-09-25 14:44 回答:
    没有环境测试不了,不知道,看来赚不了你的积分了
  • xingyu.wang 2009-09-27 09:55 回答:
    根据你的系统的IO速度呢,比如你上面的命令,如果是写入一个慢的设备,那时间就不好说了。