Operating System - HP-UX
1833513 Members
3180 Online
110061 Solutions
New Discussion

Re: How to speed up copying using CPIO

 
yc_2
Regular Advisor

How to speed up copying using CPIO

Hi,

Is there a way to speed up the copying process using cpio ?


Thanks in advance,
YC
4 REPLIES 4
Victor BERRIDGE
Honored Contributor

Re: How to speed up copying using CPIO

Hi,
The only thing I can think of now is to use renice, look at the man pages, but then be sure that you are not already in a I/O bottleneck...

Good luck
Victor
melvyn burnard
Honored Contributor

Re: How to speed up copying using CPIO

How are you using CPIO? what command line? and to what are you copying??
Also which OS version?
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Andreas Voss
Honored Contributor

Re: How to speed up copying using CPIO

Hi,

for using cpio to copy files between directories (cpio -p ...) i don't know any enhancement but when doing cpio to tape you have to use the -B option which will set blocksize to 5120.

Regards
Alan Riggs
Honored Contributor

Re: How to speed up copying using CPIO

One thing: if you are using the -v flag to check output the tty display will slow the command considerably. hen speed is important (and you are certain of your results) do not use the -v.