On Thu, Feb 1, 2018 at 11:11 AM, Charles Mills <[email protected]> wrote:

> > basically, /bin/sh is doing a UNIX "wait" command for the child
> processes to complete. IOW,  it is sleeping the sleep of the just.
>
> Well, yeah, it's waiting because it's waiting for something.
>
> But why so long? Would you really expect an ar to *always* take 2 minutes
> or so on a z13s, even when it is lightly loaded? There are 213 object files
> in the archive already.
>

​Hum, an interesting question. I didn't really notice the "2 minutes"
portion. I took a look at the ar command here:
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.bpxa500/libarc.htm

And the only thing that came to my attention is that the "-r" switch adds
or replaces one or more members __AND__ it "regenerates the symbol table".
I don't really know what this latter is doing. But it may be why the "ar"
command is taking a fairly fixed length of time (doing something with each
member in the archive, not just the new one).​ I would likely test this by
adding the same member to a different archive with fewer members.



>
> Charles
>


-- 
I have a theory that it's impossible to prove anything, but I can't prove
it.

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to