<?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: Tuning dd blocksize in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769026#M74185</link>
    <description>JRF,&lt;BR /&gt;&lt;BR /&gt;Thanks, I should have checked that.  I'm actually copying Informix "chunks" which are symbolic links to the raw logical volume, except when some sleepy, hungover SA comes in on a Sunday and rushes the creation of same.  In effect, I'm copying from the raw lvol to the cooked lvol.  The destination is also set up as RAID 5 and has a failed drive in it, so that's probably not helping matters, either.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Mon, 22 Jul 2002 10:34:38 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2002-07-22T10:34:38Z</dc:date>
    <item>
      <title>Tuning dd blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769021#M74180</link>
      <description />
      <pubDate>Mon, 22 Jul 2002 10:22:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769021#M74180</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-07-22T10:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning dd blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769022#M74181</link>
      <description>Sorry, hit the enter key before I was ready.&lt;BR /&gt;&lt;BR /&gt;I'm copying lvols from one VG to another on a FC60 array.  The lvols are 2 GB in size.  I tried this with a 1024K block size and it took a lot longer than I would have hoped.  Does anybody have any suggestions/stats/benchmarks that might guide me to an optimum copy?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 22 Jul 2002 10:25:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769022#M74181</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-07-22T10:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning dd blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769023#M74182</link>
      <description>Hi Pete:&lt;BR /&gt;&lt;BR /&gt;One thing is use the raw device (/dev/rlvol/xxx).&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 22 Jul 2002 10:27:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769023#M74182</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-07-22T10:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning dd blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769024#M74183</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;The text here is blank, so I assume you just want to tune dd blocksize?&lt;BR /&gt;&lt;BR /&gt;I usually only use 64kB.  However, I did some work on this a while ago &amp;amp; found that you get very little performance gain above about 512kB-1MB from &amp;amp; to one disk.  It really depends on what you want to do.&lt;BR /&gt;&lt;BR /&gt;If you have RAID 0 then I would use the whole stripe width (say 12 disks with 64kB width ==&amp;gt; 768kB).  &lt;BR /&gt;&lt;BR /&gt;If you have a single disk with a VxFS file system on it 64kB is fine, but theoretically 8kB should be optimum (block size).&lt;BR /&gt;&lt;BR /&gt;If you have RAID5, again I would use whole stripe width (12 disks with 64kB ==&amp;gt; 704kB)&lt;BR /&gt;&lt;BR /&gt;If you are doing a raw-raw copy of volume groups I would stick to 64kB, or if they are RAIDed the whole stripe.&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Mon, 22 Jul 2002 10:31:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769024#M74183</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2002-07-22T10:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning dd blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769025#M74184</link>
      <description>Hi Pete,&lt;BR /&gt;&lt;BR /&gt;Just three suggestions:&lt;BR /&gt;&lt;BR /&gt;1) To specify raw devices in if and of parameters&lt;BR /&gt;&lt;BR /&gt;2) You can try with a bigger bs. I usually do it with bs=4194304 (the size of my PV's PE)&lt;BR /&gt;&lt;BR /&gt;3) Do not specify ibs and obs = Poor performance&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Juan</description>
      <pubDate>Mon, 22 Jul 2002 10:34:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769025#M74184</guid>
      <dc:creator>Juan González</dc:creator>
      <dc:date>2002-07-22T10:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning dd blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769026#M74185</link>
      <description>JRF,&lt;BR /&gt;&lt;BR /&gt;Thanks, I should have checked that.  I'm actually copying Informix "chunks" which are symbolic links to the raw logical volume, except when some sleepy, hungover SA comes in on a Sunday and rushes the creation of same.  In effect, I'm copying from the raw lvol to the cooked lvol.  The destination is also set up as RAID 5 and has a failed drive in it, so that's probably not helping matters, either.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 22 Jul 2002 10:34:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769026#M74185</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-07-22T10:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning dd blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769027#M74186</link>
      <description>Juan/Tim,&lt;BR /&gt;&lt;BR /&gt;Stripe size/PE size - I'll try that - thanks.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 22 Jul 2002 10:36:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769027#M74186</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-07-22T10:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning dd blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769028#M74187</link>
      <description>Pete&lt;BR /&gt;&lt;BR /&gt;1 - what is your RAID level?&lt;BR /&gt;2 - what is the segment size of the LUNs/disks(amdsp -l &lt;FC60_NAME&gt;)&lt;BR /&gt;3 - use /dev/vgxx/rlvol for dd&lt;BR /&gt;4 - I use (as I said before) 64kB if I can't be bother to think about it.&lt;BR /&gt;5 - You have caching on fc60, this will probably interfere with copy as it will be continually being flushed.  I do not know if you can turn this off though. ("ammgr -T A:100 &lt;FC_60&gt;" &amp;amp; "ammgr -L A:100 &lt;FC60&gt;" might work!!!?)&lt;BR /&gt;&lt;BR /&gt;Tim&lt;/FC60&gt;&lt;/FC_60&gt;&lt;/FC60_NAME&gt;</description>
      <pubDate>Mon, 22 Jul 2002 10:38:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769028#M74187</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2002-07-22T10:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning dd blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769029#M74188</link>
      <description>Tim,&lt;BR /&gt;&lt;BR /&gt;RAID level on the source is 0/1.  Destination is 5.  I'll be doing further testing to see if I can improve this.  We're coming up on 24 hours to copy 140GB - not what I was hoping for.  :^(&lt;BR /&gt;&lt;BR /&gt;Points forthcoming,&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 22 Jul 2002 10:44:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769029#M74188</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-07-22T10:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning dd blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769030#M74189</link>
      <description>Tim,&lt;BR /&gt;&lt;BR /&gt;Segement size is 4 on the source and 16 on the destination.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 22 Jul 2002 11:05:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769030#M74189</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-07-22T11:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning dd blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769031#M74190</link>
      <description>&lt;BR /&gt;Weve done lots of dd copies before over the years and with all the stuff weve done ive found 64k to be the best blocksize. But to get the best copy times always kick off multiple dd's at the same time (background them) - this also enchances overall copying time.&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Jul 2002 11:10:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769031#M74190</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2002-07-22T11:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning dd blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769032#M74191</link>
      <description>Stefan,&lt;BR /&gt;&lt;BR /&gt;We're doing 10 at a time, then waiting for those before the next batch.  Too many?  Too few?&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 22 Jul 2002 11:15:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769032#M74191</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-07-22T11:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning dd blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769033#M74192</link>
      <description>Pete,&lt;BR /&gt;   Not sure this will be of much help for you but we are constantly creating new copies of databases for various things.  Just using cooked to cooked I am about to copy about 300GB in about 2 hours.  Not using dd just plain old cp's with a wrapper script.  I have it set to spawn 12 cp's in the background and go to sleep until 1 completes and it will then spawn another.  Since we have so many datafiles to copy this works out quite well for us.  If you are interested I can forward you the scripts that I use to do this.&lt;BR /&gt;&lt;BR /&gt;Eric&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Jul 2002 13:55:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769033#M74192</guid>
      <dc:creator>Eric Buckner</dc:creator>
      <dc:date>2002-07-22T13:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning dd blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769034#M74193</link>
      <description>Hi Pete,&lt;BR /&gt;&lt;BR /&gt;10 at a time is fine - unless your server can cope with more. We used to kick off 20-30 at a time - but this was on a server with about 8 I/O controllers and it took that many to max it out. After 20-30 we wouldnt get any speed improvement.&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Jul 2002 13:57:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769034#M74193</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2002-07-22T13:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning dd blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769035#M74194</link>
      <description>Eric,&lt;BR /&gt;&lt;BR /&gt;I'm not sure your approach would apply, either, but I'd love to take a look at it.  You can attach here if you can (so everyone can share) or you can email me at prandall@holstein.com.  Thanks.&lt;BR /&gt;&lt;BR /&gt;Stefan,&lt;BR /&gt;&lt;BR /&gt;Thanks for the comparison.  I think 10 is probably about as high as we can go.  We've got two fibre channels compounded by the Brocade switch to give us four paths but I don't think they all get used.  I'll be doing some more testing once I get the failed drive replaced - I think that's really holding things up.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 22 Jul 2002 14:03:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769035#M74194</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-07-22T14:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning dd blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769036#M74195</link>
      <description>Pete,&lt;BR /&gt;   I attached the script.  It uses a control file that lists the file name, FQPath to Source and FQPath to Destination.  A bit of modifications to that control file and changes to the script I am thinking you could use this for your dd copies.&lt;BR /&gt;&lt;BR /&gt;Below is the a piece of the control file just to give you an idea of what it looks like.&lt;BR /&gt;&lt;BR /&gt;fact1_ts01.dbf|/u/AIMTEST/dta1/fact1_ts01.dbf|/u/AIMBNCH/dta1/fact1_ts01.dbf&lt;BR /&gt;fact1_ts02.dbf|/u/AIMTEST/dta1/fact1_ts02.dbf|/u/AIMBNCH/dta1/fact1_ts02.dbf&lt;BR /&gt;fact1_ts03.dbf|/u/AIMTEST/dta1/fact1_ts03.dbf|/u/AIMBNCH/dta1/fact1_ts03.dbf&lt;BR /&gt;fact1_ts04.dbf|/u/AIMTEST/dta1/fact1_ts04.dbf|/u/AIMBNCH/dta1/fact1_ts04.dbf&lt;BR /&gt;fact1_ts05.dbf|/u/AIMTEST/dta1/fact1_ts05.dbf|/u/AIMBNCH/dta1/fact1_ts05.dbf&lt;BR /&gt;fact1_ts06.dbf|/u/AIMTEST/dta1/fact1_ts06.dbf|/u/AIMBNCH/dta1/fact1_ts06.dbf&lt;BR /&gt;fact1_ts07.dbf|/u/AIMTEST/dta1/fact1_ts07.dbf|/u/AIMBNCH/dta1/fact1_ts07.dbf&lt;BR /&gt;fact1_ts08.dbf|/u/AIMTEST/dta1/fact1_ts08.dbf|/u/AIMBNCH/dta1/fact1_ts08.dbf&lt;BR /&gt;fact1_ts09.dbf|/u/AIMTEST/dta1/fact1_ts09.dbf|/u/AIMBNCH/dta1/fact1_ts09.dbf&lt;BR /&gt;fact1_ts10.dbf|/u/AIMTEST/dta1/fact1_ts10.dbf|/u/AIMBNCH/dta1/fact1_ts10.dbf&lt;BR /&gt;fact1_ts11.dbf|/u/AIMTEST/dta1/fact1_ts11.dbf|/u/AIMBNCH/dta1/fact1_ts11.dbf&lt;BR /&gt;fact1_ts12.dbf|/u/AIMTEST/dta1/fact1_ts12.dbf|/u/AIMBNCH/dta1/fact1_ts12.dbf&lt;BR /&gt;&lt;BR /&gt;Hope it is at least somewhat useful.  &lt;BR /&gt;&lt;BR /&gt;Eric</description>
      <pubDate>Mon, 22 Jul 2002 14:47:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769036#M74195</guid>
      <dc:creator>Eric Buckner</dc:creator>
      <dc:date>2002-07-22T14:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning dd blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769037#M74196</link>
      <description>Thanks, Eric.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 22 Jul 2002 14:55:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769037#M74196</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-07-22T14:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning dd blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769038#M74197</link>
      <description>Using the raw device was the *obvious* answer (excuse me while I kick myself again).  After I got the bad drive replaced, I tried one 2GB lvol and it finished in 5 minutes compared to 3 hours for 10 simultaneous copies.  Further testing tonight.&lt;BR /&gt;&lt;BR /&gt;Thanks to all,&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Jul 2002 17:26:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769038#M74197</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-07-22T17:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Tuning dd blocksize</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769039#M74198</link>
      <description>Well, we managed to shave a measly 22 hours off the copies by switching to where we should have been - raw lvols.  I'm going to continue playing to see if I can get better than "real  3:07:06.4", but I can live with that, if need be.  If I come up with any revelations, I'll post them here, otherwise:  CASE CLOSED!&lt;BR /&gt;&lt;BR /&gt;Thanks again, all.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 23 Jul 2002 09:22:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tuning-dd-blocksize/m-p/2769039#M74198</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-07-23T09:22:22Z</dc:date>
    </item>
  </channel>
</rss>

