Please help! I am getting awesome read performance from my samba server, but
writing to it is terrible.
My server configuration is SUN Ultra 2 dual 400 mhz CPUs (Solaris 8 64bit mode)
1 gig of ram and dual 100 meg network cards running samba 2.2.6
windows box is XP home, 1 gig AMD with 384 megs ram and 100 meg network card
I can pull 6.5 meg/sec copying an ISO from the samba server to the windows box,
but only about 500K sec writing back to the samba server from the same machine.
for writes I am using a 400 meg avi file.
Please look at my config and let me know where i screwed up! Thanks!!
# Global parameters
[global]
workgroup = WRKGRP
netbios name = SERVER
server string = SAMBA File Server
security = usr
encrypt passwords = Yes
restrict anonymous = Yes
log level = 1
log file = /var/adm/samba/log.%m
max log size = 256000
large readwrite = Yes
deadtime = 15
max open files = 2000
read size = 65535
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=16384
SO_RCVBUF=16384
lock dir = /var/tmp/samba_locks
remote announce = yes
remote browse sync = yes
socket address = 192.168.0.1
hosts allow = 192.168.0.
max connections = 150
write cache size = 65535
strict locking = no
strict sync = no
sync always = no
read prediction = yes
max xmit = 65535
read raw = yes
write raw = yes
oplocks = on
-------------- next part --------------
HTML attachment scrubbed and removed
You know the default tuning parameters we ship should just work, especially in 2.2.7. Try removing the following paramters and seeing if it helps. Jeremy. On Thu, Nov 28, 2002 at 10:41:25AM -0600, Justin Richards wrote:> [global] > read size = 65535 > socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=16384 SO_RCVBUF=16384 > max connections = 150 > write cache size = 65535 > read prediction = yes > max xmit = 65535
I have tried your advice, infact I removed everything but the necessary server information and still no difference. read speed still very good, write speed still way below par. ----- Original Message ----- From: <jra@dp.samba.org> To: "Justin Richards" <jwr@black0ps.org> Cc: <samba@lists.samba.org> Sent: Thursday, November 28, 2002 1:33 PM Subject: Re: [SAMBA] config/performance problem on solaris 8> You know the default tuning parameters we ship should just > work, especially in 2.2.7. > > Try removing the following paramters and seeing if it helps. > > Jeremy. > > On Thu, Nov 28, 2002 at 10:41:25AM -0600, Justin Richards wrote: > > [global] > > read size = 65535 > > socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=16384SO_RCVBUF=16384> > max connections = 150 > > write cache size = 65535 > > read prediction = yes > > max xmit = 65535 > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
On Thu, Nov 28, 2002 at 02:24:16PM -0600, Justin Richards wrote:> I have tried your advice, infact I removed everything but the necessary > server information and still no difference. read speed still very good, > write speed still way below par.Ok, now you have to do some work to profile the system and see where the bottleneck may be. What is the maximum write speed onto the disk from a local process (ufs on Solaris is notoriously slow) ? Start there to find what your maximum should be and work back into Samba to find the bottleneck. System profile tools (top, vmstat, iostat) are useful here. Jeremy.
Check you UTP cable and driver for nic. UTP must have pairs 12 36 connected not 12 34 (if this then only one way work 100Mb) ----- Original Message ----- From: "Justin Richards" <jwr@black0ps.org> To: <jra@dp.samba.org> Cc: <samba@lists.samba.org> Sent: Thursday, November 28, 2002 9:24 PM Subject: Re: [SAMBA] config/performance problem on solaris 8> I have tried your advice, infact I removed everything but the necessary > server information and still no difference. read speed still very good, > write speed still way below par. > > ----- Original Message ----- > From: <jra@dp.samba.org> > To: "Justin Richards" <jwr@black0ps.org> > Cc: <samba@lists.samba.org> > Sent: Thursday, November 28, 2002 1:33 PM > Subject: Re: [SAMBA] config/performance problem on solaris 8 > > > > You know the default tuning parameters we ship should just > > work, especially in 2.2.7. > > > > Try removing the following paramters and seeing if it helps. > > > > Jeremy. > > > > On Thu, Nov 28, 2002 at 10:41:25AM -0600, Justin Richards wrote: > > > [global] > > > read size = 65535 > > > socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=16384 > SO_RCVBUF=16384 > > > max connections = 150 > > > write cache size = 65535 > > > read prediction = yes > > > max xmit = 65535 > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba