Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quantify copy time from the processing pod to nsf vs bucket #43

Open
katilp opened this issue Aug 15, 2024 · 1 comment
Open

Quantify copy time from the processing pod to nsf vs bucket #43

katilp opened this issue Aug 15, 2024 · 1 comment
Assignees

Comments

@katilp
Copy link
Contributor

katilp commented Aug 15, 2024

When the job processing ends (step runpfnano-template in the workflow, it copies the resulting file to the shared area (NSF vs bucket, depending on the workflow).

Quantify how long it takes to copy a typical output file to NSF and bucket, respectively.

To do this,

@subash-taranga subash-taranga self-assigned this Aug 18, 2024
@tomcordruw tomcordruw self-assigned this Aug 22, 2024
@katilp
Copy link
Contributor Author

katilp commented Aug 30, 2024

For nfs, check the exit timestamp for the argo job with

argo logs pfnano-process-<NNN> -n argo | grep exited | grep pfnano

(pls check)

and compare that to the closing message of the last file, for example

argo logs pfnano-process-<NNN> -n argo | grep -5 "MessageLogger Summary" | grep Closed

Probably grep Closed | tail -1 would do as well.

For the bucket workflow, you get this from the job logs, e.g.

time="2024-08-20T13:24:35.190Z" level=info msg="sub-process exited" argo=true error="<nil>"
time="2024-08-20T13:24:35.306Z" level=info msg="/code/scatter -> /var/run/argo/outputs/artifacts/code/scatter.tgz" argo=true
time="2024-08-20T13:24:35.308Z" level=info msg="Taring /code/scatter"
time="2024-08-20T13:25:15.325Z" level=info msg="archived 2 files/dirs in /code/scatter"

but do check that there's no difference in doing as for nfs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants