<div dir="ltr"><div><div>unless you can spread that read/write load out over many, many spindles, you're stuck. Now add in the VMmust access through the virtual drive process and you've got another performance hit.<br>
<br></div>You _could_ add extra drives to the VM that are hosted on a decent array (fiber channel or LA network iSCSI), copy the files to the new home in a batch and hit the 4G RAM limit.<br><br></div>If possible, can you add more RAM to that VM?<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 29, 2014 at 5:10 PM, Robert L. Harris <span dir="ltr"><<a href="mailto:robert.l.harris@gmail.com" target="_blank">robert.l.harris@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm working on a tool to parse through a lot of data for processing. Right<br>
now it's taking longer than I wish it would so I'm trying to find ways to<br>
improve the performance. Right now it appears the biggest bottleneck is<br>
IO. I'm looking at about 2000 directories which contain between 1 and 200<br>
files in tar.gz format on a VM with 4 Gigs of RAM. I need to load the data<br>
into an array to do some pre-processing cleanup so I am currently chopping<br>
the files in each of the directories into an array of groups of 10 files at<br>
a time ( seems to be the sweet spot to prevent swap ) and then a straight<br>
forward loop of which each iteration executes:<br>
<br>
tar xzOf $Loop |<br>
<br>
and then pushes it into my array for processing.<br>
<br>
I have tried:<br>
<br>
gzcat $Loop | tar xO |<br>
<br>
which is actually slower. Yes, I'm at the point of trying to squeeze<br>
seconds of time out of a group. Any thoughts of a method which might be<br>
quicker?<br>
<br>
Robert<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
:wq!<br>
---------------------------------------------------------------------------<br>
Robert L. Harris<br>
<br>
DISCLAIMER:<br>
These are MY OPINIONS With Dreams To Be A King,<br>
ALONE. I speak for First One Should Be A Man<br>
no-one else. - Manowar<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mail.ale.org/pipermail/ale/attachments/20140729/38cb3da3/attachment.html" target="_blank">http://mail.ale.org/pipermail/ale/attachments/20140729/38cb3da3/attachment.html</a>><br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">-- <br>James P. Kinney III<br><i><i><i><i><br></i></i></i></i>Every time you stop a school, you will have to build a jail. What you
gain at one end you lose at the other. It's like feeding a dog on his
own tail. It won't fatten the dog.<br>
- Speech 11/23/1900 Mark Twain<br><i><i><i><i><br><a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br></i></i></i></i></div>
</div>