<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt">
I found it`s so slow when i use jcifs to get file from a remote server, only around 10mb, <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-size: 12pt; font-family: times new roman,new york,times,serif;"><div><div><font size="2" face="Verdana">
<div>but it`s very fast when i use the direct url to get the same file, the speed was up to 80mb, </div>
<div>i set the property jcifs.smb.client.rcv_buf_size with value 1024*1024, but </div>
<div>it didn`t work, so i noticed the jcifs src code, i found the default constructor of </div>
<div>SmbFileInputStream set readSize to the mini value between </div>
<div>transport.rcv_buf_size and transport.server.maxBufferSize, when i debug it, i found maxBufferSize </div>
<div>is only around 6 kilos, this is why so slowlly when i use the jcifs to get the file. </div>
<div>i don't know too many about CIFS/SMB, so i wonder why do we have to use the server`s </div>
<div>maxBufferSize on client? and how can i improve the efficiency about this?</div>
<div></div>
<div>thank you!</div>
<div></div></font></div><br></div></div></div><a rel="nofollow" target="_blank" href="http://cn.rd.yahoo.com/mail_cn/tagline/card/*http://card.mail.cn.yahoo.com/"></a></div></div></div><br>
<hr size=1><a href="http://cn.rd.yahoo.com/mail_cn/tagline/card/*http://card.mail.cn.yahoo.com/"> 好玩贺卡等你发,邮箱贺卡全新上线!</a></body></html>