<?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: Time to do a basic cp in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/time-to-do-a-basic-cp/m-p/3284613#M181012</link>
    <description>Also, for each file, the system has to go through the overhead work to find a new inode to link it into and to set aside the space where its going to write the data.&lt;BR /&gt;&lt;BR /&gt;With the large files, it only has to do these I/Os 42 times and then it can get on with the business of writing out the data.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Kent M. Ostby&lt;BR /&gt;</description>
    <pubDate>Mon, 24 May 2004 07:35:22 GMT</pubDate>
    <dc:creator>Kent Ostby</dc:creator>
    <dc:date>2004-05-24T07:35:22Z</dc:date>
    <item>
      <title>Time to do a basic cp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-to-do-a-basic-cp/m-p/3284609#M181008</link>
      <description>Pardon my ignorance but I expeerienced some strange issues last night when copying some files on my system, and was hoping someone could explain what was going on.&lt;BR /&gt;&lt;BR /&gt;Filesystem A had 22GB worth of data contained in 42 files, it took ~45min to copy to a new filesystem.&lt;BR /&gt;filesystem B had 7GB worth of data in over 42000 files, it took +2 hours to copy to a new filesystem.&lt;BR /&gt;&lt;BR /&gt;Both the filesystems had the same mount options etc. and did not differ from what was there originally.  I did one cp after the other, and did not experience major disk contention etc.  &lt;BR /&gt;&lt;BR /&gt;Any ideas as to why this would happen?  &lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 24 May 2004 06:45:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-to-do-a-basic-cp/m-p/3284609#M181008</guid>
      <dc:creator>James Clay_2</dc:creator>
      <dc:date>2004-05-24T06:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Time to do a basic cp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-to-do-a-basic-cp/m-p/3284610#M181009</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Large files do copy faster then a lot of small files. Large files can use the lan interface more efficient, if you use the cp command it copies file after file. If you have a lot of small files, this will take a long time.&lt;BR /&gt;&lt;BR /&gt;Create a tar archive before you copy the files, this will save a lot of time.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Mon, 24 May 2004 06:59:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-to-do-a-basic-cp/m-p/3284610#M181009</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-05-24T06:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Time to do a basic cp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-to-do-a-basic-cp/m-p/3284611#M181010</link>
      <description>James,&lt;BR /&gt;&lt;BR /&gt;You may want to provide a little more information for the forum members, so they can evaluate more precisely !&lt;BR /&gt;&lt;BR /&gt;Are the file systems A &amp;amp; B on the same physical server ?&lt;BR /&gt;&lt;BR /&gt;Are the filesystems on the same logical volume, volume group, physical disks, or are your running nfs mounts for example ?&lt;BR /&gt;&lt;BR /&gt;What was the system usage at the time of the cp (ie disk i/o, memory, process priority) ?&lt;BR /&gt;&lt;BR /&gt;The more precise and detailed information you can provide the more likely you are to receive beneficial advice.&lt;BR /&gt;&lt;BR /&gt;Keith&lt;BR /&gt;</description>
      <pubDate>Mon, 24 May 2004 07:00:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-to-do-a-basic-cp/m-p/3284611#M181010</guid>
      <dc:creator>Keith Bevan_1</dc:creator>
      <dc:date>2004-05-24T07:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Time to do a basic cp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-to-do-a-basic-cp/m-p/3284612#M181011</link>
      <description>This is normal !&lt;BR /&gt;The system must take present attribute of many files and to copy it one to one.&lt;BR /&gt;HTH&lt;BR /&gt;Bruno&lt;BR /&gt;</description>
      <pubDate>Mon, 24 May 2004 07:35:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-to-do-a-basic-cp/m-p/3284612#M181011</guid>
      <dc:creator>Bruno Ganino</dc:creator>
      <dc:date>2004-05-24T07:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Time to do a basic cp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-to-do-a-basic-cp/m-p/3284613#M181012</link>
      <description>Also, for each file, the system has to go through the overhead work to find a new inode to link it into and to set aside the space where its going to write the data.&lt;BR /&gt;&lt;BR /&gt;With the large files, it only has to do these I/Os 42 times and then it can get on with the business of writing out the data.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Kent M. Ostby&lt;BR /&gt;</description>
      <pubDate>Mon, 24 May 2004 07:35:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-to-do-a-basic-cp/m-p/3284613#M181012</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2004-05-24T07:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Time to do a basic cp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-to-do-a-basic-cp/m-p/3284614#M181013</link>
      <description>also with large directories the creation of the file list alone can be time consuming.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;a dd copy would ignore most of this structure, and even with many files, would have copied the 7 gig faster.</description>
      <pubDate>Mon, 24 May 2004 07:50:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-to-do-a-basic-cp/m-p/3284614#M181013</guid>
      <dc:creator>doug mielke</dc:creator>
      <dc:date>2004-05-24T07:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Time to do a basic cp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-to-do-a-basic-cp/m-p/3284615#M181014</link>
      <description>The biggest overhead in copying the larger number of small files is the fact that directory has to be rewritten each time a file is added. The system also has to use locking mechaisms to ensure that only one process is actually writing to the directory at any moment. This overhead completely swamps the fact that the total data volume was ~ 3X larger in the run with a small number of individual files.&lt;BR /&gt;</description>
      <pubDate>Mon, 24 May 2004 08:38:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-to-do-a-basic-cp/m-p/3284615#M181014</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-05-24T08:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Time to do a basic cp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-to-do-a-basic-cp/m-p/3284616#M181015</link>
      <description>Thanks for that.  &lt;BR /&gt;&lt;BR /&gt;For the record I was copying data within the system onto new LV's in different VG's.  I think next time I'll tar the whole lot up :-)</description>
      <pubDate>Mon, 24 May 2004 09:16:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-to-do-a-basic-cp/m-p/3284616#M181015</guid>
      <dc:creator>James Clay_2</dc:creator>
      <dc:date>2004-05-24T09:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Time to do a basic cp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-to-do-a-basic-cp/m-p/3284617#M181016</link>
      <description>Actually, I'm not sure tar is going to help you too much when moving all the stuff to new LV's.  Even with one big tar archive, you'll still need to extract that tar archive on the other side and therefore still need to muck about with all those directories that A.Clay mentions.</description>
      <pubDate>Mon, 24 May 2004 09:22:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-to-do-a-basic-cp/m-p/3284617#M181016</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-05-24T09:22:12Z</dc:date>
    </item>
  </channel>
</rss>

