read ahead in lufs's sshfs module

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.

## Deliverables

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.

## Platform

Linux 2.6

Habilidades: Programação C, Engenharia, Linux, MySQL, PHP, Arquitetura de software, Teste de Software

Veja mais: linux sshfs slow random access, thread programming, extreme programming, cvs hire, c programming random number, cache programming, cvs by me, SF, locks, hire a cache developer, cvs patch, php miss, can php read access, forum slow, net framework cache, read project files, managed linux, sshfs slow read performance, scp application linux, sshfs readahead

Acerca do Empregador:
( 0 comentários ) France

ID do Projeto: #3241188

1 freelancer está oferecendo em média $26 para esse trabalho


See private message.

$25.5 USD in 20 dias
(1 Comentário)