Incredibly slow response when reading from mounted Windows shared network drive within Java application

view full story

http://serverfault.com – I wrote a Java application that checks and indexes huge archive files. When i test it on my local machine, everything is speedy and works like a charm. However, i need to process large quantities of data that resides on a remote drive, which is mounted using mount -t cifs When i run my app against data from the remote server, everything is incredibly slow - for example i start by putting together a manifest file that only holds the names of the available files: simply reading the name of ONE file takes about 20 seconds. How is this possible? When i do file operations using the GUI or Bash, eve (HowTos)