[jcifs] incredibly slow transfer speed

Torben Wölm torben.wolm at LEGO.com
Tue Aug 21 06:42:48 GMT 2007


Hi Wade

I don't understand much about virtual servers, but I know there's no problem connecting to remote virtual servers. Here are some suggestions:

1) Try connecting to a share on your local machine (not with //127.0.0.1/share but with the right IP address) to see if that is also slow.

2) Use something like Ethereal on the Windows 2000 virtual server to see if that gives a clue about what is going on during the .5 second delay.

Kind regards
Torben


> -----Original Message-----
> From: Wade Simmons [mailto:wsimmons at gmail.com] 
> Sent: Friday, August 17, 2007 7:20 PM
> To: Torben Wölm
> Subject: Re: [jcifs] incredibly slow transfer speed
> 
> 
> Torben,
> 
> It looks like it might have something to do with the VM as well,
> because transferring with jcifs to other servers seems to work fine.
> I'm not sure why jcifs is slow against my VM though when smbfs is
> fast.
> 
> Thanks for the help,
> 
> Wade
> 
> On 8/17/07, Wade Simmons <wsimmons at gmail.com> wrote:
> > I am connecting directly to the IP address of the server, 
> but I tried
> > setting the jcifs.netbios.wins parameter anyways and it 
> didn't change
> > anything.
> >
> > I increased the loglevel to 5, and the best I can tell is that it is
> > sending most of the time in SmbComWriteAndX.  I see the following
> > lines repeated, with about a .5 second pause before it repeats:
> >
> > -------------------
> >
> > 
> SmbComWriteAndXResponse[command=SMB_COM_WRITE_ANDX,received=fa
> lse,errorCode=0,flags=0x0098,flags2=0xC003,signSeq=0,tid=2048,
> pid=53227,uid=2048,mid=16,wordCount=6,byteCount=0,andxCommand=
> 0xFF,andxOffset=47,count=4286]
> > 
> SmbComWriteAndX[command=SMB_COM_WRITE_ANDX,received=false,erro
> rCode=0,flags=0x0018,flags2=0xC003,signSeq=0,tid=2048,pid=5322
> 7,uid=2048,mid=17,wordCount=14,byteCount=3907,andxCommand=0xFF
> ,andxOffset=0,fid=16384,offset=53438,writeMode=0,remaining=0,d
> ataLength=3906,dataOffset=64]
> >
> >     (0.5 second pause)
> >
> > New data read: Transport1[WSIMMONS-VM<00>/10.130.0.108:445]
> > 00000: FF 53 4D 42 2F 00 00 00 00 98 03 C0 00 00 00 00  
> |ÿSMB/......À....|
> > 00010: 00 00 00 00 00 00 00 00 00 08 EB CF 00 08 11 00  
> |..........ëÏ....|
> >
> > 
> SmbComWriteAndXResponse[command=SMB_COM_WRITE_ANDX,received=fa
> lse,errorCode=0,flags=0x0098,flags2=0xC003,signSeq=0,tid=2048,
> pid=53227,uid=2048,mid=17,wordCount=6,byteCount=0,andxCommand=
> 0xFF,andxOffset=47,count=3906]
> > #write: fid=16384,off=0,len=8192
> > 
> SmbComWriteAndX[command=SMB_COM_WRITE_ANDX,received=false,erro
> rCode=0,flags=0x0018,flags2=0xC003,signSeq=0,tid=2048,pid=5322
> 7,uid=2048,mid=18,wordCount=14,byteCount=4287,andxCommand=0xFF
> ,andxOffset=0,fid=16384,offset=57344,writeMode=0,remaining=390
> 6,dataLength=4286,dataOffset=64]
> >
> >     (0.5 second pause)
> >
> > New data read: Transport1[WSIMMONS-VM<00>/10.130.0.108:445]
> > 00000: FF 53 4D 42 2F 00 00 00 00 98 03 C0 00 00 00 00  
> |ÿSMB/......À....|
> > 00010: 00 00 00 00 00 00 00 00 00 08 EB CF 00 08 12 00  
> |..........ëÏ....|
> >
> > ---------------------
> >
> > Let me know if I can provide any more information, or if there is
> > anything else I can try.
> >
> > Thanks,
> > Wade
 


More information about the jcifs mailing list