Low throughput for sFTP over high latency high bandwith network
Nessuno ha ancora preso questa issue.
- Lingua principale
- C#
- Stelle
- 4.4k
- Fork
- 993
- Merge medio
- 9g 21h
- PR unite (30g)
- 1
Descrizione
Our client (that uses ssh.net) runs on AWS and the sftp server is hosted on Prem, and our uploads are multi-threaded.
We use the default UploadFile() method, which through various tests seem to perform the best on this network.
We however are seeing that the performance is way below par when compared to the sftp command from openssh for a single thread.
Like 3 times slower.
And with multiple threads, it goes crazy slow, to the point that the total throughput from all the threads are lower than that it gets from a single thread.
OpenSSH's sftp command on the other hand scales quite well.
Open SSH has a patch called HPN-SSH for such networks, not sure if something can be inspired from that.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia con il percorso predefinito UploadFile() del client SFTP e analizza un singolo caricamento su una rete ad alta latenza, quindi confrontalo con il comportamento di OpenSSH sftp descritto nell’issue. Riproduci il caso multi-thread e misura se il throughput aggregato diminuisce all’aggiunta di thread; il lavoro è completato quando la causa è stata identificata e il throughput è stato migliorato oppure la limitazione è stata documentata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp
- Ambito
- networking, performance
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100