- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Time to do a basic cp
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2004 11:45 PM
05-23-2004 11:45 PM
Time to do a basic cp
Filesystem A had 22GB worth of data contained in 42 files, it took ~45min to copy to a new filesystem.
filesystem B had 7GB worth of data in over 42000 files, it took +2 hours to copy to a new filesystem.
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.
Any ideas as to why this would happen?
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2004 11:59 PM
05-23-2004 11:59 PM
Re: Time to do a basic cp
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.
Create a tar archive before you copy the files, this will save a lot of time.
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2004 12:00 AM
05-24-2004 12:00 AM
Re: Time to do a basic cp
You may want to provide a little more information for the forum members, so they can evaluate more precisely !
Are the file systems A & B on the same physical server ?
Are the filesystems on the same logical volume, volume group, physical disks, or are your running nfs mounts for example ?
What was the system usage at the time of the cp (ie disk i/o, memory, process priority) ?
The more precise and detailed information you can provide the more likely you are to receive beneficial advice.
Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2004 12:35 AM
05-24-2004 12:35 AM
Re: Time to do a basic cp
The system must take present attribute of many files and to copy it one to one.
HTH
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2004 12:35 AM
05-24-2004 12:35 AM
Re: Time to do a basic cp
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.
Best regards,
Kent M. Ostby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2004 12:50 AM
05-24-2004 12:50 AM
Re: Time to do a basic cp
a dd copy would ignore most of this structure, and even with many files, would have copied the 7 gig faster.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2004 01:38 AM
05-24-2004 01:38 AM
Re: Time to do a basic cp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2004 02:16 AM
05-24-2004 02:16 AM
Re: Time to do a basic cp
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 :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2004 02:22 AM
05-24-2004 02:22 AM