Linux Dentrix Server (Samba)




<TABLE id=Table19 cellSpacing=0 cellPadding=2
width="100%"><TBODY><TR><TD vAlign=top>If anyone is using a snap server
or a linux box, and they want to speed up the audit trail report with
dentrix, then be sure to have fake oplocks = yes in the smb.conf file.
I learned this awhile back, then forgot about it. I am posting it here
to help me remember that its the setting.

Ive always believed that if you write it down, and verbally speak it,
the chances of forgetting are a lot harder.

oplocks = no
fake oplocks = yes

I thought it was another setting throwing it off. Grrr!


[image: http://www.dentaltown.com/idealbb/images/smilies/1.gif]

Without this setting its horribly slow, with it, its BLAZING FAST.

PS. It helps to enable window scaling, sack, and I raise the limit of
the tcp auto tuner.
/etc/sysctl.conf

# Controls IP packet forwarding
net.ipv4.ip_forward = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 0
net.ipv4.tcp_sack = 1
# increase TCP max buffer size
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
# increase Linux autotuning TCP buffer limits
# min, default, and max number of bytes to use
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216

Tested with FC4, Kernel 2.6.12.5, and samba 3.


</TD></TR></TBODY></TABLE>


--
Administrator
------------------------------------------------------------------------
Administrator's Profile: http://dentalcom.net/forum/member.php?userid=1
View this thread: http://dentalcom.net/forum/showthread.php?t=2680

.


Quantcast