feo-cz / win-sshfs

Fork of http://code.google.com/p/win-sshfs/
BSD 3-Clause "New" or "Revised" License
1.28k stars 126 forks source link

very slow when upload a lots files and folders once #156

Open HanJiangping opened 7 years ago

HanJiangping commented 7 years ago

For issues and bugs please complete maximum information you now in template below.

Fot other types of requests you can remove any section.

If you have tested more versions, fill them all.

Fill instructions: move 'x' in checkboxes and fill parts marked <...>.

NOW REMOVE THIS LINE OF TEXT AND THE PREVIOUS CONTENT.

Technical data

WinSshFS

Dokan driver

Enviroment

Support


I use explorer copy one folder whitch contain 15835 files and 1148 folders,its total size is 558M. it takes 1200s to finished by winsshfs. but xftp only used 200s ,in the same network and machine. I try to fix it. the disk mount as "RemoveableDrive" default,I change it to "NetworkDrive" follow the bug Remote Desktop connection problem #128. then I test ,it takes 650s. what is more I add a cache at GetFileInfo,it works. after that, it takes 400s. please help me to review the code.
HanJiangping commented 7 years ago

here is the diff of add cache at GetFileInfo. @dimov-cz help me to review it please.

Rondom commented 7 years ago

I cannot see any diff.

HanJiangping commented 7 years ago

add diff bug156.zip @Rondom upload diff failed last time. now ,it is ok.