|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
rcv_buf_size & snd_buf_sizeHi,
I'm using WireShark to monitor the smb traffic between my application (which use JCifs) and a Samba server running on linux. All settings are the default ones. When i copy files using windows drag and drop, WireShare reports the following: Read AndX Request, FID: 0x14fe, 61440 bytes at offset (...). However, when i use the JCifs package, WireShare never reports package sizes above 16574. Regardless of wether i change the "jcifs.smb.client.snd_buf_size" or "jcifs.smb.client.rcv_buf_size", this package size never changes. I'm using System.setProperty() when i try to alter the buffer sizes. Have anyone else ever experienced this problem? Kind regards, Stian Brattland |
|
|
Re: rcv_buf_size & snd_buf_sizeOn Wed, Oct 7, 2009 at 5:56 AM, Stian Brattland <stian@...> wrote:
> Hi, > > I'm using WireShark to monitor the smb traffic between my application (which > use JCifs) and a Samba server running on linux. All settings are the default > ones. > > When i copy files using windows drag and drop, WireShare reports the > following: Read AndX Request, FID: 0x14fe, 61440 bytes at offset (...). > However, when > i use the JCifs package, WireShare never reports package sizes above 16574. > Regardless of wether i change the "jcifs.smb.client.snd_buf_size" or > "jcifs.smb.client.rcv_buf_size", this package size never changes. > > I'm using System.setProperty() when i try to alter the buffer sizes. Have > anyone else ever experienced this problem? Hi Stian, What does your JCIFS code look like? Maybe it's not using a larger buffer? Note that a larger buffer does not equate to faster transfers. The most important factor is getting as much data into each packet (e.g. every other packet has 1 byte would be slow). Mike -- Michael B Allen Java Active Directory Integration http://www.ioplex.com/ |
|
|
|
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |