LUFS is a hybrid userspace filesystem framework supporting an indefinite number of filesystems (localfs, sshfs, ftpfs, cardfs and cefs implemented so far) transparently for any application.
under GPL License, hosted at <[url removed, login to view]>
My initial project request was posted on the developer mailing list:
<[url removed, login to view]>
Would someone be available to write a readahead in the sshfs implementation? The extreme slowness of sshfs on slow links comes from the fact that there is a roundtrip between client and server before each 4Kb chunk can be downloaded.
I looked at the sshfs implementation and I believe it is fairly accessible to write a readahead thread. Would simply need to transfer ahead by increasing 4kb 8kb 16kb etc. until there is a cache miss. This would involve dealing with a thread and obtaining a lock on the SConnection though. If anyone is interested, let me know.
1) Patch to be applied to the current LUFS source as can be currently obtained from the CVS repository. The patch will implement a fully working read ahead as in the Description.
Verification of "fully working": I expect a correctly implemented read ahead to bring performance to within 20% of scp's performance for files of 1Mb and up.
Threads and critical sections should be carefully managed so that no locks or crashes occur while copying full directories and doing random access.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. The patch will be checked in to the CVS repository after verified to be working, and thus will be available under GPL license.