Skip to content

Performance issues with USS Download #23

@phaumer

Description

@phaumer

I am experiencing an odd performance problem with the download of USS files. I get expected response times for List, but Download seems to be hanging until timeout or something like that. Getting a 2k file takes over 2 minutes. When I download the same file via sftp command line it takes a few ms. Uploading the same file again takes 2.5 secs.

$ time zowe zftp ls uss /u/zoweph/projects/SAM/COPYBOOK/
CUSTCOPY.cpy 2511 ZOWEPH OMVS -rw-r--r--
TRANREC.cpy  1948 ZOWEPH OMVS -rw-r--r--
zowe zftp ls uss /u/zoweph/projects/SAM/COPYBOOK/  0.80s user 0.18s system 41% cpu 2.390 total

$ time zowe zftp download uss /u/zoweph/projects/SAM/COPYBOOK/CUSTCOPY.cpy
Successfully downloaded USS file '/u/zoweph/projects/SAM/COPYBOOK/CUSTCOPY.cpy' to local file 'CUSTCOPY.cpy'
zowe zftp download uss /u/zoweph/projects/SAM/COPYBOOK/CUSTCOPY.cpy  1.35s user 0.29s system 1% cpu **2:02.90 total**

$ time zowe zftp upload file-to-uss-file CUSTCOPY.cpy /u/zoweph/CUSTCOPY.cpy 
Uploaded from local file 'CUSTCOPY.cpy' to /u/zoweph/CUSTCOPY.cpy 
zowe zftp upload file-to-uss-file CUSTCOPY.cpy /u/zoweph/CUSTCOPY.cpy  0.79s user 0.18s system 39% cpu 2.486 total 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions