I am taking data files that are buried, for example:
And I am "flattening" them out to (e.g.):
There are 27,000 such copies I'd like to perform.
The only problem is that no matter what method I seem to try to copy them over, the machine gets bogged down. At first, I thought it was because /mnt/mirror0 was ZFS, but happens no matter what (even tried gmirror and striped).
The only thing at this point that the copies have had in common is that they've all be done in a shell environment - either using utilities (find, etc) or having a big shell script with 27,000 explicit [cmd=]cp[/cmd] commands (DB generated, mainly to troubleshoot).
9.1-RELEASE FreeBSD 9.1-RELEASE #0 (GENERIC + "options KVA_PAGES=512"), built with ZFS in mind originally.
At this point, I don't really know what system resources to check or monitor to see what is causing the slowdown. I'm ready for some suggestions.
Thank you,
Brett :stud
Code:
/usr/local/data/static/i/7/9/e/d/1/9/7/9/3/1/5/f/8/7/b/9/d/a/6/e/c/e/8/6/d/4/d/a/3/7/f/e/7/7/0/3/9/0/0/7/79ed1979315f87b9da6ece86d4da37fe77039007
And I am "flattening" them out to (e.g.):
Code:
/mnt/mirror0/data/static/79ed1979315f87b9da6ece86d4da37fe77039007
There are 27,000 such copies I'd like to perform.
The only problem is that no matter what method I seem to try to copy them over, the machine gets bogged down. At first, I thought it was because /mnt/mirror0 was ZFS, but happens no matter what (even tried gmirror and striped).
The only thing at this point that the copies have had in common is that they've all be done in a shell environment - either using utilities (find, etc) or having a big shell script with 27,000 explicit [cmd=]cp[/cmd] commands (DB generated, mainly to troubleshoot).
9.1-RELEASE FreeBSD 9.1-RELEASE #0 (GENERIC + "options KVA_PAGES=512"), built with ZFS in mind originally.
At this point, I don't really know what system resources to check or monitor to see what is causing the slowdown. I'm ready for some suggestions.
Thank you,
Brett :stud