Displaying 20 results from an estimated 1594 matches for "iptos_lowdelay".
1999 Feb 22
1
Socket option IPTOS_LOWDELAY no longer works
Hi,
The 'socket options' option IPTOS_LOWDELAY no longer works in 2.0.2. I
had this parameter set in 1.9.18p10 however now when a samba process is
started a warning of 'Unknown socket option IPTOS_LOWDELAY' is displayed.
The man for smb.conf states the following:
You may find that on some systems Samba will say...
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 wh...
2008 Feb 01
1
Samba + BDE and slow speed on reading (long)
...er, the speed is OK. Since the databases used by that apllication have about 50Mb each, the problem must be caused by that slow speed on receiving files from the server.
I've twiked the configuration a bit, and came to this results:
socket options = SO_RCVBUF=65535 SO_SNDBUF=65535 TCP_NODELAY IPTOS_LOWDELAY - Very slow on reading, fast when writing
socket options = TCP_NODELAY IPTOS_LOWDELAY - still slow on read, but a little better. Fast when writing
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=32768 - significant improvement when reading files, but the application still hangs due to the slo...
2000 Apr 07
3
DG/UX R4.20MU03
...erience with ssh and DG/UX? I tried the ./configure and
it could not determine the hosttype. After that problem was worked-arounded I
get a LOT of warnings about declaring functions 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 figu...
2000 Feb 14
0
[openssh-1.2.2] some porting notes for SunOS 4.1.4
...*d;
char *s;
int l;
{
bcopy(s, d, l);
return d;
}
========================================================================
--- packet.c.orig-1.2.2 Sat Jan 22 17:38:00 2000
+++ packet.c Sun Feb 13 13:06:04 2000
@@ -796,22 +796,28 @@
* Set IP options for an interactive connection. Use
* IPTOS_LOWDELAY and TCP_NODELAY.
*/
+#ifdef IPTOS_LOWDELAY
int lowdelay = IPTOS_LOWDELAY;
if (setsockopt(connection_in, IPPROTO_IP, IP_TOS, (void *) &lowdelay,
sizeof(lowdelay)) < 0)
error("setsockopt IPTOS_LOWDELAY: %.100s", strerror(errno));
+#endif /* IPTOS_LOWDELAY */
+#if...
2010 Jan 29
1
Strange errors in Samba Logs
...or messages in my "smbd" log file. Any ideas how to fix
this?
[2010/01/29 09:17:27, 0] lib/util_sock.c:set_socket_options(261) Failed to
set socket option TCP_NODELAY (*Error Invalid argument*)
[2010/01/29 09:17:27, 0] lib/util_sock.c:set_socket_options(261) Failed to
set socket option IPTOS_LOWDELAY (*Error Invalid argument*)
[2010/01/29 09:17:27, 0] lib/util_sock.c:get_peer_addr(1232) getpeername
failed. Error was Transport endpoint is not connected
Here is how my smb.conf reads:
socket options = TCP_NODELAY IPTOS_LOWDELAY
Thanks in advance.
Ganju
2008 Oct 05
2
Performance tweaking from Ubuntu to a Macbook vs. Windows through DLink DIR-655
...ss N (Connected at 130 Mbps ... Apple's fault)
================================================== ==
Macbook to Ubuntu: 20 Mbps
Macbook to Windows: 44 Mbps
That's a significant change.
So I changed the following line in Samba's smb.conf file:
socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY SO_RCVBUF=8192
SO_SNDBUF=8192
to
socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY SO_RCVBUF=65536
SO_SNDBUF=65536
After this, I noticed the following:
Wireless:
=========
Macbook to Ubuntu: 44 Mbps, with peaks up to 48 Mbps.
That's nearly double the performance!! Wireless is basic...
2006 Jan 11
1
small files poor performance
...y with small files from one partition to
another
(so I expect over 50MB/s when only reading this data). As you can see,
the HDD subsystem is not the bottleneck for sure. Just for info, the XFS
filesystem is used.
In samba configuration, I was playing with socket options, (un)setting
TCP_NODELAY, IPTOS_LOWDELAY and trying to set SO_RCVBUF
and SO_SNDBUF parameters to different values starting from 8192 to
65535 in steps of 16k. These changes had almost no influence on the
performance. As a last step I've also tried using the case sensitivity
option for the concrete share (the 4 commented lines in the &...
2003 Nov 18
1
Supporting multiple clients -- per machine/os config?
...ient 2: PocketPC over 802.11b. Likes the same settings as WinXP.
Client 3: Mac OS X 10.3 over 802.11g, Best with RCV/SENDBUF left out of
config. (what is the default anyway?)
Client 4: Xbox (which USED to work and now it is very slow -- go figure...)
Note 1: I have determined that TCP_NODELAY and IPTOS_LOWDELAY at least
cause no harm, and they are always set.
Note 2: The wireless is not a factor, I have conducted tests with the Mac
wired as well and the results are the same.
Note 3: Browsing is always fast even if transfers suck.
If there is something I can do to make all my clients happy that would...
2004 Nov 24
2
Samba performance issues (compared win2k)
...d.log
max log size = 10240
max xmit = 65535
dns proxy = No
wins server = 192.168.10.10
ldap ssl = no
create mask = 0775
hosts allow = 127., 192.168.
cups options = raw
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
IPTOS_LOWDELAY
--
Isaac Ojeda Llebry
Servicio de Inform?tica y Comunicaciones de la ULPGC
e-mail: iojeda en becarios.ulpgc.es
Tel?fono: +34 928 459568
2004 Mar 23
4
netlogon problems
...= SNEAKER
server string = SoundServer %v
realm = hunter.radiogong.intern
admin users = root, administrator, sascha
security = user
dns proxy = yes
wins proxy = Yes
wins support = Yes
ldap ssl = no
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
SO_RCVBUF=8192
keepalive = 255
locking = 1
kernel oplocks = yes
blocking locks = yes
oplocks = yes
level2 oplocks = yes
large readwrite = yes
map to guest = Bad User
dos charset = ISO8859-15
unix charset...
2008 Feb 04
3
Making Samba change the Unix Password (/etc/shadow)
Hello all,
I am trying to change the linux login password through the smbpasswd
command by placing following parameters in smb.conf file:
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = "*enter old password*" %o\\n "*Enter NEW password*"
%n\\n "*reenter New passwd*" %n\\n "*password changed*"
But its not changing the unix
2006 Aug 11
3
XP clients disconnected during trasnfer of larger files tothe samba server
...rname map = /etc/samba/smbusers
idmap uid = 15000-20000
idmap gid = 15000-20000
name resolve order = bcast hosts
template primary group = "Domain Users"
template shell = /bin/bash
winbind separator = +
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=16384 \
SO_RCVBUF=16384
oplocks = no
smb log - i think this is relevant, though not sure:
2006/08/10 11:53:56, 0] lib/util_sock.c:get_peer_addr(1000)
getpeername failed. Error was Transport endpoint is not
connecte...
1997 Jul 21
2
socket options
Do the socket options still work with versions of samba above 1.9.16p10? I
get error messages both on the command line and in the smb.log file that say:
Unknown socket option IPTOS_LOWDELAY
Unknown socket option TCP_NODELAY
Here is my smb.conf Global parameter entry:
socket options = IPTOS_LOWDELAY TCP_NODELAY
Do these have to be compiled into the Samba program?
If these are outdated parameters do you have any others that will replace
these?
We are trying to compare the Intergra...
2005 Jul 29
0
problems with win98 and samba 3
...dy
keep alive = 30
os level = 65
security = users
encrypt passwords = yes
add user script = /usr/sbin/useradd -d /dev/null -g100 -s /bin/false
-M %u
netbios name = sv01samba
printing = lprng
printcap name = /etc/printcap
load printers = yes
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=33288
SO_RCVBUF=33288
# socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=16644
SO_RCVBUF=16644
# socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=8322
SO_RCVBUF=8322
map to guest = Bad User
local master = yes
interfaces = ***********
bind inter...
2001 Feb 27
1
[CVS] humbolt:/tinc/src net.c
Guus Sliepen wrote:
> - Added TCP_NODELAY and IPTOS_LOWDELAY options for meta sockets.
Maybe it's better to make these optional?
--
Ivo Timmermans
---
TINC development list, tinc-devel@nl.linux.org
Archive: http://mail.nl.linux.org/tinc-devel/
2002 Jan 03
2
Error Messages after Committed Config Changes
...owing same
set of error messages in my Samba log (the log.smb file):
[2002/01/03 17:40:56, 0] lib/util_sock.c:set_socket_options(151)
Failed to set socket option SO_KEEPALIVE (Error Bad file number)
[2002/01/03 17:40:56, 0] lib/util_sock.c:set_socket_options(151)
Failed to set socket option IPTOS_LOWDELAY (Error Bad file number)
[2002/01/03 17:40:56, 0] lib/util_sock.c:set_socket_options(151)
Failed to set socket option TCP_NODELAY (Error Bad file number)
[2002/01/03 17:49:30, 0] lib/util_sock.c:set_socket_options(151)
Failed to set socket option SO_KEEPALIVE (Error Bad file number)
[2002/01/0...
2015 Jul 01
2
winbindd hangs and makes the system unuseable when DC is offline
...usted to domain = yes
unix extensions = no
invalid users = root, vipco-admin
acl allow execute always = yes
printing = bsd
printcap name = /dev/null
disable spoolss = yes
load printers = no
deadtime = 10
use sendfile = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
Greetings,
Felix
2002 Jun 24
0
Help with profiles FreeBSD
...up = DIGITALRAGE
netbios name = HARRIER
encrypt passwords = Yes
update encrypted = Yes
log level = 2
max log size = 50
name resolve order = wins hosts lmhosts bcast
socket options = TCP_NODELAY TCP_NODELAY SO_SNDBUF=8192
SO_RCVBUF=8192 IPTOS_LOWDELAY
domain admin group = @admins
logon script = netlogon.bat
logon path = \\%L\profiles\%U
logon drive = X:
logon home = \\%L\%U\
os level = 65
lm announce = True
local master = True
preferred master = True
domain master =...
2017 Aug 25
2
Cannot login to Samba server remotely
...sam
# server role = standalone server
# username map = /usr/local/etc/samba4/username.map
log level = 10
log file = /var/log/samba4/%m.log
max log size = 50
# socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
# socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072
SO_SNDBUF=131072
socket options = TCP_NODELAY
# disable spoolss = Yes
# read raw = yes
# write raw = yes
# use sendfile = true
# strict locking = No
security = user
logon script = netlogin.cmd
logon path = \\%L\Prof...