IETF-SSH archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RE: Why SFTP performance sucks, and how to fix it



I believe that passing the size attribute with the open is sufficient to do
pre-allocation if it is desired.

In Process Software's implementation of SFTP when both sides are VMS the
size and many other attributes are passed at file open time in order to
preserve file format information.

-----Original Message-----
From: Joseph Galbraith [mailto:galb-list%vandyke.com@localhost]
Sent: Wednesday, July 09, 2003 1:26 PM
To: 'Martin Pool'
Cc: Howard Chu; 'Peter Gutmann'; ietf-ssh%netbsd.org@localhost
Subject: Re: Why SFTP performance sucks, and how to fix it


'Martin Pool' wrote:

>I suppose you could usefully add a preallocation operation as an
>extension command, but it won't be a guarantee.
>  
>
The current draft specifies that if file size in the attrs
field is present during file creation, it should be considered
a hint as to the file's eventual size. (Section 5.3)

I'm not sure if this is good enough or not though.

- Joseph



Home | Main Index | Thread Index | Old Index