cancel
Showing results for 
Search instead for 
Did you mean: 

Improving Alfresco, JLAN SMB performance

zoe
Champ in-the-making
Champ in-the-making
Hi guys,

We're looking to modify/extend Alfresco ECM's and JLAN's implementation of the SMB protocol to improve performance. 

First question: We've searched through the JLAN documentation, source code and this forum but cannot find anywhere what version of SMB JLAN implements.  What version of SMB does Alfresco JLAN implement? SMB2, SMB 2.1, or (doubtful) SMB 2.2/3.0?

Second question: Our initial approach is modify JLAN so that it is compatible with SMB 3.0 as according to documentation about SMB 3.0 it should have noticeable improved performance.  At the same time we plan to look into how the Alfresco CMS code interfaces with JLAN and then try to increase performance there as well.  Do any of the Alfresco developers have any tips or advice for us regarding this?  Any other ideas of where/what to look into to get as good of performance as possible out of using SMB to interface with Alfresco?
3 REPLIES 3

mrogers
Star Contributor
Star Contributor
I don't think there is any specific smb version Implemented.   And although specs are available now and getting better I don't think you would be able to build a working system from them. 

zoe
Champ in-the-making
Champ in-the-making
Thanks for your reply.  Can you be more specific about why you think we wouldn't be able to build a working system?  Is it due to the SMB 3.0 protocol itself or because of how Alfresco is using it?

sgaric
Champ in-the-making
Champ in-the-making
Hi.

I know this is a fairly old thread and I'm sorry for resurrecting it, but I'm interested to know if SMB2.x and SMB3.x protocols are supported by JLAN library. I'd like to know if clients that only support those protocols could be used with JLAN server. I checked the JLAN source code and I found no SMB 2.x specific packet opcodes/commands. For example, CHANGE_NOTIFY, QUERY_INFO, QUERY_DIRECTORY etc are not in the list of supported  commands.

Also this code from SMBSrvSession (if I am reading it correctly) kind of indicates that SMB2+ only clients cannot communicate with JLAN:



// Check for an SMB2 packet signature
if ( smbPkt.isSMB2()) {

   // Debug

   if ( Debug.EnableInfo && hasDebug(DBG_PKTTYPE))
      debugPrintln("SMB2 request received, ignoring");

   continue;
}


Anyway, any information on this would be greatly appreciated.

Regards,
– Slav