diff options
author | Boris Popov <bp@FreeBSD.org> | 2002-09-18 07:38:10 +0000 |
---|---|---|
committer | Boris Popov <bp@FreeBSD.org> | 2002-09-18 07:38:10 +0000 |
commit | 3c30400408648f1df6be996aa0892c3532218634 (patch) | |
tree | 4dcea3a71c3340936664264d8fc34728040f43f3 /sys/netsmb/smb_trantcp.h | |
parent | 076ef4620bf9462a95d66e7c744e0181b9504f7c (diff) | |
download | src-3c30400408648f1df6be996aa0892c3532218634.tar.gz src-3c30400408648f1df6be996aa0892c3532218634.zip |
Notes
Diffstat (limited to 'sys/netsmb/smb_trantcp.h')
-rw-r--r-- | sys/netsmb/smb_trantcp.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/netsmb/smb_trantcp.h b/sys/netsmb/smb_trantcp.h index d160fa4f1b22..482d77ebe7fe 100644 --- a/sys/netsmb/smb_trantcp.h +++ b/sys/netsmb/smb_trantcp.h @@ -78,8 +78,16 @@ struct nbpcb { /* * Nominal space allocated per a NETBIOS socket. */ -#define NB_SNDQ (10 * 1024) -#define NB_RCVQ (20 * 1024) +#define NB_SNDQ (64 * 1024) +#define NB_RCVQ (64 * 1024) + +/* + * TCP slowstart presents a problem in conjunction with large + * reads. To ensure a steady stream of ACKs while reading using + * large transaction sizes, we call soreceive() with a smaller + * buffer size. See nbssn_recv(). + */ +#define NB_SORECEIVE_CHUNK (8 * 1024) extern struct smb_tran_desc smb_tran_nbtcp_desc; |