- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Parallel cpio in one shell-script or acceleration ...
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
01-23-2005 07:42 PM
01-23-2005 07:42 PM
Parallel cpio in one shell-script or acceleration of cpio
i ve to copy with cpio an amount of data, so my full-backup needs 3h.
cpio is my choice..but how can i copy parallel with cpio in one thread?
IO has enough bandwith left and the system idles with 95%.
So my questions: how can i copy parallel with cpio or are there other possibilities to accelerate my cpio-job?
Thanks & Regards!
- Tags:
- background
- cpio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2005 08:17 PM
01-23-2005 08:17 PM
Re: Parallel cpio in one shell-script or acceleration of cpio
#
#
now both backup and cpio will be running in parallel in background
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2005 08:21 PM
01-23-2005 08:21 PM
Re: Parallel cpio in one shell-script or acceleration of cpio
thx 4 answer. this is the first step.
but after the backup i ve to restart my whole applications so i need to know when background-processes ve finished.
greetz,
peinelt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2005 08:32 PM
01-23-2005 08:32 PM
Re: Parallel cpio in one shell-script or acceleration of cpio
Fbackup uses a shared memory segment and multiple reader processes to greatly accelerate the throughput of data to the tape drive.
Unless you write your own software to parallel stream and double-buffer in this manner, I don't think you will be able to do this using the older UNIX utilities.
Another option is to use a commercial backup package, such as Veritas Netbackup, Legato or HP's own (whatever Omniback is called these days).
Of course, if you have several drives, you can simply run multiple backups at once of different directories to the different drives.
Another necessity is to ensure that your disk storage system can stream the data to the tape drive at the full rate that allows the drive to write continuously. If your tape drive constantly has to stop then start, you will get very bad performance indeed and the tape drive will wear out far quicker.
- Tags:
- fbackup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2005 08:55 PM
01-23-2005 08:55 PM
Re: Parallel cpio in one shell-script or acceleration of cpio
wait
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2005 10:30 PM
01-23-2005 10:30 PM
Re: Parallel cpio in one shell-script or acceleration of cpio
but wait would block until the child(ren) you are waiting for finished.
So you may want to put this call after your asynchronous processing has been done.
Alternatively you could set a trap for a SIGCHLD.
Remember that the PID of your last backgrounded process is stored in the special shell variable $!.
You could also use the jobs command to fetch the PIDs of your background jobs.
Then with those PIDs you could look up the process table or send a SIGNULL via kill to see if the processes are still alive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 01:28 AM
01-24-2005 01:28 AM
Re: Parallel cpio in one shell-script or acceleration of cpio
$! is the best thing I've ever learned, You just accelarated all those remote-config-check scripts by 100's of times. Now I only need to think of a nice load monitoring mechanism :)
florian is a happy florian now.