Quantcast
Channel: All Open Tickets - Tera Term on OSDN
Viewing all articles
Browse latest Browse all 2128

Faster sending of files from network source - Tera Term Ticket #31296 on OSDN

$
0
0

Faster sending of files from network source

Eröffnet am: 2013-05-06 03:02

Letztes Update: 2015-11-07 21:05

Auswertung:tentnerVerantwortlicher:(Keine)
Priorität:5 - MittelMeilenstein:(Keine)
Typ:PatchesSchweregrad:5 - Mittel
Komponente:(Keine)Status:Offen
LösungKeine

Einzelheiten

I noted that sending files from network sources is very slow. When checking the source, I realized that this is because the file to be sent is accessed byte for byte.

Attached is a patch that implements a simple "caching" to greatly improve speed. In fact, simply the file is loaded in one transfer into the memory before it is sent.

I implemented this only for the "simple" Send File, not for ZMODEM, etc., as I have no ability to test these. I have tried to implement it in a way that the caching does not interfere with these functions. I think, extension to support also these functions should be easy. (However, some functions use _llseek, which is not implemented in the caching yet.)

It would be great to see this patch (or maybe an improved version) in the next release.

Regards,

Thomas

Letzte Aktualisierung für dieses Ticket

2015-11-07 21:05 Aktualisiert von: yutakapon

  • Verantwortlicher Update from yutakapon to (Keine)

Viewing all articles
Browse latest Browse all 2128