search for: iptos_throughput

Displaying 20 results from an estimated 338 matches for "iptos_throughput".

2000 Apr 07
3
DG/UX R4.20MU03
...multiple times and then the compile fails with: packet.c: In function `packet_set_interactive': packet.c:803: `IPTOS_LOWDELAY' undeclared (first use this function) packet.c:803: (Each undeclared identifier is reported only once packet.c:803: for each function it appears in.) packet.c:815: `IPTOS_THROUGHPUT' undeclared (first use this function) suggestions would be nice but I am figuring I will be here awhile figuring this out. -- Dave Dulek System Administration Fastenal Company E-mail: ddulek at fastenal.com Phone: (507) 453-8149 Fax: (507) 453-8333
2000 Feb 14
0
[openssh-1.2.2] some porting notes for SunOS 4.1.4
...ef TCP_NODELAY if (setsockopt(connection_in, IPPROTO_TCP, TCP_NODELAY, (void *) &on, sizeof(on)) < 0) error("setsockopt TCP_NODELAY: %.100s", strerror(errno)); +#endif /* TCP_NODELAY */ } else { /* * Set IP options for a non-interactive connection. Use * IPTOS_THROUGHPUT. */ +#ifdef IPTOS_THROUGHPUT int throughput = IPTOS_THROUGHPUT; if (setsockopt(connection_in, IPPROTO_IP, IP_TOS, (void *) &throughput, sizeof(throughput)) < 0) error("setsockopt IPTOS_THROUGHPUT: %.100s", strerror(errno)); +#endif /* IPTOS_THROUGHPUT */ } }...
2011 May 03
1
IPTOS constants
defines.h defines a bunch of IPTOS constants if they're not already available: #ifndef IPTOS_LOWDELAY # define IPTOS_LOWDELAY 0x10 # define IPTOS_THROUGHPUT 0x08 # define IPTOS_RELIABILITY 0x04 # define IPTOS_LOWCOST 0x02 # define IPTOS_MINCOST IPTOS_LOWCOST #endif /* IPTOS_LOWDELAY */ A few lines further down, it includes <netinet/ip.h>, which is where those constants are defined (at least in FreeBSD). --- /hom...
2016 Feb 04
2
10GE performance issues
On Thu, Feb 04, 2016 at 09:03:21AM +0300, Владимир Терентьев wrote: > Hi. Try add this to your config in global section. > > socket options = SO_KEEPALIVE TCP_NODELAY IPTOS_THROUGHPUT SO_RCVBUF=262140 > SO_SNDBUF=262140 Sorry to step in, but SO_SNDBUF and SO_RCVBUF are almost always bad for performance, unless you know *EXACTLY* what you're doing at a packet level. A general advice on a mailing list without VERY close analysis of the network infrastructure and operating...
2002 Aug 11
0
Locking problem reported when starting smbd on a second systen!
...2/08/11 16:35:39, 5] lib/util_sock.c:(111) socket option SO_BROADCAST = 0 [2002/08/11 16:35:39, 5] lib/util_sock.c:(111) socket option TCP_NODELAY = 0 [2002/08/11 16:35:39, 5] lib/util_sock.c:(111) socket option IPTOS_LOWDELAY = 0 [2002/08/11 16:35:39, 5] lib/util_sock.c:(111) socket option IPTOS_THROUGHPUT = 0 [2002/08/11 16:35:39, 5] lib/util_sock.c:(111) socket option SO_SNDBUF = 16384 [2002/08/11 16:35:39, 5] lib/util_sock.c:(111) socket option SO_RCVBUF = 24576 [2002/08/11 16:35:39, 5] lib/util_sock.c:(109) Could not test socket option SO_SNDLOWAT. [2002/08/11 16:35:39, 5] lib/util_sock.c:(...
2000 May 12
0
SunOS 4.x port
...strerror(errno)); +#endif if (setsockopt(connection_in, IPPROTO_TCP, TCP_NODELAY, (void *) &on, sizeof(on)) < 0) error("setsockopt TCP_NODELAY: %.100s", strerror(errno)); +#ifdef IP_TOS } else { /* * Set IP options for a non-interactive connection. Use * IPTOS_THROUGHPUT. */ - int throughput = IPTOS_THROUGHPUT; if (setsockopt(connection_in, IPPROTO_IP, IP_TOS, (void *) &throughput, sizeof(throughput)) < 0) error("setsockopt IPTOS_THROUGHPUT: %.100s", strerror(errno)); +#endif } } --- scp.c.DIST Mon May 1 05:10:33 2000 +++ s...
1999 Dec 12
3
Samba writing speed with big blocks
...k :\ Samba behaves this way even if SO_RCVBUF and SO_SNDBUF are set to 8192 and "read size" to 16384 and "max xmit" to 16384. The corresponding part of my smb.conf looks like this: client code page = 852 preserve case = yes socket options = TCP_NODELAY IPTOS_LOWDELAY IPTOS_THROUGHPUT SO_KEEPALIVE SO_RCVBUF=65535 SO_SNDBUF=65535 oplocks = True getwd cache = Yes null passwords = no read raw = yes write raw = yes read size = 65535 max xmit = 65535 deadtime = 15 strict sync = no interfaces = 192.168.33.2/24 remote announce = 192.168.33.255 The box...
2016 Apr 01
2
knit and smbclient executed with different users but no error thrown
...TEST.LOCAL name ADIR#20 found. Connecting to 10.133.140.66 at port 445 Socket options: SO_KEEPALIVE = 0 SO_REUSEADDR = 0 SO_BROADCAST = 0 TCP_NODELAY = 1 TCP_KEEPCNT = 9 TCP_KEEPIDLE = 7200 TCP_KEEPINTVL = 75 IPTOS_LOWDELAY = 0 IPTOS_THROUGHPUT = 0 SO_REUSEPORT = 0 SO_SNDBUF = 19800 SO_RCVBUF = 87380 SO_SNDLOWAT = 1 SO_RCVLOWAT = 1 SO_SNDTIMEO = 0 SO_RCVTIMEO = 0 TCP_QUICKACK = 1 TCP_DEFER_ACCEPT = 0 session request ok Doing spnego session setup (blob length=88) got...
2016 Apr 25
2
samba 4.2.10 makes shares unusable on XP
Hi list, Just upgraded to 4.2.10. All our XP boxes (yeah I know) are slow as Hell wrt share browsing & profiles loading… What (new) parameter should be set to recover historical behavior? I tried to find tune some of the new smb.conf parameters with no succes. Only downgrade to 4.1.17 (debian) fixed thing. Did anyone encounter same issue? Regards
2006 Nov 03
1
Netlogon Problem and 3.0.23c
...erver string = [Samba %v] interfaces = fxp0, lo0 bind interfaces only = Yes log file = /var/log/samba/%U.%m.log log level = 3 max wins ttl = 3600 min wins ttl = 1800 time server = Yes socket options = TCP_NODELAY IPTOS_LOWDELAY IPTOS_THROUGHPUT SO_KEEPALIVE SO_SNDBUF=16384 SO_RCVBUF=16384 logon script = %U.bat logon path = logon home = domain logons = Yes os level = 65 preferred master = Yes domain master = Yes wins support = Yes idmap uid = 15000-20000...
2002 Jun 11
1
performance problem ???
...6000 1884 2" > /proc/sys/vm/bdflush echo "60 10 60" > /proc/sys/vm/buffermem ( doesn't work because I don't have this file in my /proc filesystem ??? ) samba write cache size = 262144 read size = 65536 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 IPTOS_THROUGHPUT wide links = yes I use all these options but my problem is and stay until now. This option "IPTOS_THROUGHPUT" improved a lot my performance connections, so I can do a lot at the same time with my share drives. If you have an idea for my problem, help would be appreciated ... Thanks V...
2006 Jun 15
0
Samba slowness
...os level = 255 socket address = 192.168.0.153 hosts deny = 0.0.0.0/0 security = user add machine script = /usr/sbin/useradd -d /var/lib/nobody -g 100 -s /bin/false -M %u max log size = 50 log file = /var/log/samba/log.smbd socket options = IPTOS_THROUGHPUT TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 keepalive = 30 logon drive = H: interfaces = eth0 lo domain master = yes username map = /etc/samba/smbusers encrypt passwords = yes #wins proxy = no logon home = \\%L\profiles\%u\ #wins...
2013 Feb 25
1
smb2 vs. NT1
hi All, We have a glusterfs cluster with 5 nodes on Ubuntu 12.04 amd64. We use this smb.conf: [global] socket options = IPTOS_THROUGHPUT TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=131072 SO_RCVBUF=131072 read raw = yes server string = %h write raw = yes #oplocks = yes max xmit = 131072 dead time = 15 getwd cache = yes use sendfile=yes block size = 131072 load printers = no aio read size = 16384 aio write size = 16384 aio writ...
2001 Apr 11
0
samba 2.2.a3 using share mode
...O_BROADCAST = 0 [2001/04/11 19:42:21, 3] lib/util_sock.c:print_socket_options(111) socket option TCP_NODELAY = 0 [2001/04/11 19:42:21, 3] lib/util_sock.c:print_socket_options(111) socket option IPTOS_LOWDELAY = 0 [2001/04/11 19:42:21, 3] lib/util_sock.c:print_socket_options(111) socket option IPTOS_THROUGHPUT = 0 [2001/04/11 19:42:21, 3] lib/util_sock.c:print_socket_options(111) socket option SO_SNDBUF = 16384 [2001/04/11 19:42:21, 3] lib/util_sock.c:print_socket_options(111) socket option SO_RCVBUF = 87380 [2001/04/11 19:42:21, 3] lib/util_sock.c:print_socket_options(111) socket option SO_SNDLOWA...
2003 Dec 28
0
Call returned zero bytes (EOF)
...servers listed. name_resolve_bcast: Attempting broadcast lookup for name wumpus<0x20> bind succeeded on port 0 socket option SO_KEEPALIVE = 0 socket option SO_REUSEADDR = 1 socket option SO_BROADCAST = 1 Could not test socket option TCP_NODELAY. socket option IPTOS_LOWDELAY = 0 socket option IPTOS_THROUGHPUT = 0 socket option SO_SNDBUF = 65535 socket option SO_RCVBUF = 65535 socket option SO_SNDLOWAT = 1 socket option SO_RCVLOWAT = 1 socket option SO_SNDTIMEO = 0 socket option SO_RCVTIMEO = 0 Sending a packet of len 50 to (192.168.0.255) on port 137 Received a packet of len 62 from (192.168.0.3) port 1...
2011 Oct 29
0
samba 3.5.6 & win2k8 r2, session request fails
...10/29 10:38:02.877069, 5] lib/util_sock.c:304(print_socket_options) Socket options: SO_KEEPALIVE = 0 SO_REUSEADDR = 0 SO_BROADCAST = 0 TCP_NODELAY = 1 TCP_KEEPCNT = 9 TCP_KEEPIDLE = 7200 TCP_KEEPINTVL = 75 IPTOS_LOWDELAY = 0 IPTOS_THROUGHPUT = 0 SO_SNDBUF = 16384 SO_RCVBUF = 16384 SO_SNDLOWAT = 1 SO_RCVLOWAT = 1 SO_SNDTIMEO = 0 SO_RCVTIMEO = 0 TCP_QUICKACK = 1 [2011/10/29 10:38:02.877122, 6] libsmb/clientgen.c:323(write_socket) write_socket(10,72) [2011/10/29 10:38:02.877141,...
2007 Jan 26
3
Office 2007 saves files as read only on samba shares?
...password:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . smb passwd file = /etc/samba/smbpasswd log level = 2 log file = /var/log/samba/log.%m max log size = 1000 time server = Yes server signing = auto socket options = IPTOS_LOWDELAY TCP_NODELAY IPTOS_THROUGHPUT add machine script = /usr/sbin/adduser --ingroup machine --system --home /dev/null --no-create-home --force-badname %u logon path = logon home = logon script = %Gnetlogon.bat domain logons = Yes preferred master = Yes domain master = Yes...
2003 Dec 01
0
No subject
...st entry: 206.122.137.104 dewupw02 getlmhostsent: lmhost entry: 164.56.65.199 dwh_coe_454 Connecting to 164.56.65.199 at port 139 socket option SO_KEEPALIVE = 0 socket option SO_REUSEADDR = 0 socket option SO_BROADCAST = 0 socket option TCP_NODELAY = 1 socket option IPTOS_LOWDELAY = 0 socket option IPTOS_THROUGHPUT = 0 socket option SO_SNDBUF = 16384 socket option SO_RCVBUF = 16384 socket option SO_SNDLOWAT = 1 socket option SO_RCVLOWAT = 1 socket option SO_SNDTIMEO = 0 socket option SO_RCVTIMEO = 0 write_socket(3,76) write_socket(3,76) wrote 76 Sent session request got smb length of 1 size=1 smb_com=0x0 smb_...
2003 Nov 18
1
Supporting multiple clients -- per machine/os config?
...8192 best so far # TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192: PC OK, poor Mac speed # TCP_NODELAY only - best for mac # 16384 - tolerable for mac bad for pc # this is best for windows clients socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192 ### holding ### #IPTOS_LOWDELAY IPTOS_THROUGHPUT # SO_RCVBUF=65536 SO_SNDBUF=65536 # SO_RCVBUF=8192 SO_SNDBUF=8192 IPTOS_LOWDELAY IPTOS_THROUGHPUT ############### dns proxy = no
2017 Aug 25
2
Cannot login to Samba server remotely
...real(0, 0)] ../lib/util/util_net.c:1057(print_socket_options)   Socket options:         SO_KEEPALIVE = 8         SO_REUSEADDR = 4         SO_BROADCAST = 0         TCP_NODELAY = 4         TCP_KEEPCNT = 0         TCP_KEEPIDLE = 0         TCP_KEEPINTVL = 0         IPTOS_LOWDELAY = 0         IPTOS_THROUGHPUT = 0         SO_REUSEPORT = 512         SO_SNDBUF = 34000         SO_RCVBUF = 66640         SO_SNDLOWAT = 2048         SO_RCVLOWAT = 1         SO_SNDTIMEO = 0         SO_RCVTIMEO = 0 [2017/08/25 15:44:12.256761,  5, pid=24534, effective(0, 0), real(0, 0)] ../lib/util/util_net.c:1057(print_so...