Using Java JCIFS library, I am trying to read the files from a remote system using Server Message Block protocol (SMB) as below:
SmbFile smbFileTest = new SmbFile(fileurl, authentication); //Takes 20sec
SmbFileInputStream input = new SmbFileInputStream(smbFileTest);
byte[] data = new byte[length];
int count = input.read(data);
I am observing the performance of read is varying from system to system. In some system, I am reading the file of 135 Mb in 2/3 second and in some other system its 15/20 minutes.
All environment has Windows 2012 Server R2 and all are running on same network. Can you please let me know, if any other settings are impacting the performance.