<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: dd coomand in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-coomand/m-p/2555341#M646869</link>
    <description>Hi again Tom,&lt;BR /&gt;&lt;BR /&gt;Yes that is fine but bear in mind that you may be distorting your transfer rates. It's best to use the /dev/zero device for input and the /dev/null for output because then you are not confusing the transfer rates by introducing a second disk device. I notice that you are doing your i/o's in 8 byte chunks which is not the typical raw device io size.&lt;BR /&gt;Transfers of this size are normally buffered by the unix buffers or SGA. &lt;BR /&gt;&lt;BR /&gt;Regards, Clay</description>
    <pubDate>Fri, 20 Jul 2001 22:50:15 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2001-07-20T22:50:15Z</dc:date>
    <item>
      <title>dd coomand</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-coomand/m-p/2555338#M646866</link>
      <description>i have to use dd command to write onto to a rdisk . &lt;BR /&gt;&lt;BR /&gt;what is wrong in this command&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/null of=/dev/vg123/rlovol1 bs=8 &amp;amp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Iam doing some benchmarking stuff and want to generate lots of io's. Looking forward to your help.</description>
      <pubDate>Fri, 20 Jul 2001 21:57:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-coomand/m-p/2555338#M646866</guid>
      <dc:creator>Sid Shapiro</dc:creator>
      <dc:date>2001-07-20T21:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: dd coomand</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-coomand/m-p/2555339#M646867</link>
      <description>Hi Tom,&lt;BR /&gt;&lt;BR /&gt;When using /dev/null as input you always read 0 bytes though you can write an unlimited number of bytes to it.&lt;BR /&gt;&lt;BR /&gt;You can use /dev/zero (if it exists otherwise you will need to create it) as input and it will supply endless ASCII NUL's.&lt;BR /&gt;&lt;BR /&gt;If you need to create /dev/zero&lt;BR /&gt;&lt;BR /&gt;mknod /dev/zero c 3 0x000004&lt;BR /&gt;&lt;BR /&gt;Also, if you use /dev/zero you should probably supply a count=xxxxx value to stop it.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Jul 2001 22:07:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-coomand/m-p/2555339#M646867</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-07-20T22:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: dd coomand</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-coomand/m-p/2555340#M646868</link>
      <description>can i do like that&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/vgemc/rlvol22 of=/dev/vgnew1/rlvol1 bs=8 &lt;BR /&gt;&lt;BR /&gt;copy from one raw device to another ? Is the command ok. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Jul 2001 22:39:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-coomand/m-p/2555340#M646868</guid>
      <dc:creator>Sid Shapiro</dc:creator>
      <dc:date>2001-07-20T22:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: dd coomand</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-coomand/m-p/2555341#M646869</link>
      <description>Hi again Tom,&lt;BR /&gt;&lt;BR /&gt;Yes that is fine but bear in mind that you may be distorting your transfer rates. It's best to use the /dev/zero device for input and the /dev/null for output because then you are not confusing the transfer rates by introducing a second disk device. I notice that you are doing your i/o's in 8 byte chunks which is not the typical raw device io size.&lt;BR /&gt;Transfers of this size are normally buffered by the unix buffers or SGA. &lt;BR /&gt;&lt;BR /&gt;Regards, Clay</description>
      <pubDate>Fri, 20 Jul 2001 22:50:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-coomand/m-p/2555341#M646869</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-07-20T22:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: dd coomand</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-coomand/m-p/2555342#M646870</link>
      <description>do i need to careful with minor/major number while creating the /dev/zero file.</description>
      <pubDate>Fri, 20 Jul 2001 23:07:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-coomand/m-p/2555342#M646870</guid>
      <dc:creator>Sid Shapiro</dc:creator>
      <dc:date>2001-07-20T23:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: dd coomand</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-coomand/m-p/2555343#M646871</link>
      <description>Hi Tom:&lt;BR /&gt;&lt;BR /&gt;Do an lsdev and look for character device 'mm'. It should be 3. Minor number is 0x04.&lt;BR /&gt;&lt;BR /&gt;mknod /dev/zero c 3 0x04 should work just fine.&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Jul 2001 23:13:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-coomand/m-p/2555343#M646871</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-07-20T23:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: dd coomand</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-coomand/m-p/2555344#M646872</link>
      <description>thanx clay . your suggestion just work great . i try to assign u points and was getting some error.</description>
      <pubDate>Mon, 23 Jul 2001 15:39:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-coomand/m-p/2555344#M646872</guid>
      <dc:creator>Sid Shapiro</dc:creator>
      <dc:date>2001-07-23T15:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: dd coomand</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-coomand/m-p/2555345#M646873</link>
      <description>Just as a note about benchmarking: Serial reads and writes are not typical, but can provide some useful data.  However, the bs=8 is very disturbing.  bs=8 is 8 bytes and is useless for benchmarking real applications. Perhaps you meant to say: bs=8k which will use 8192 byte transfers.&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Aug 2001 17:13:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-coomand/m-p/2555345#M646873</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-08-03T17:13:42Z</dc:date>
    </item>
  </channel>
</rss>

