(fs) Files.copy needs to be "tuned"

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 20
    • Affects Version/s: 7
    • Component/s: core-libs
    • None
    • b04
    • generic
    • generic

      On Linux/macOS, the file copy implementation uses a fixed 8k buffer. This should be re-examined as this isn't a good buffer size for some cases (like NFS). Ideally the buffer size should be a multiple of both the source and target block sizes.

      On Windows, we should use the COPY_FILE_NO_BUFFERING flag when copying "large files". This flag is documented to improve copy performance for large files.

            Assignee:
            Brian Burkhalter
            Reporter:
            Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: