Victor Hooi wrote:
> heya,
>
> Just as an addendum, I also tried enabling oplocks. This was just a random 
> stab in the dark, as per the instructions here:
>
> https://www.opensolaris.org/jive/thread.jspa?threadID=77035&tstart=15
>
> Namely:
>
> svccfg -s smb/server
> svc:/network/smb/server> setprop smbd/oplock_enable=true
> svc:/network/smb/server> quit
> svcadm restart smb/server
>
> I then tried running fc-copy from Windows, to copy to the opensol share 
> again. The first time, the smb/server service seemed to crash, going into 
> maintenance (the December 28 date is due to a VMWare time-of-day chip 
> issue - real date is probably early November i.e. it hasn't crashed since 
> first setup).
>
> [ Dec 28 11:00:23 Method "start" exited with status 0. ]
> [ Nov 30 19:30:11 Stopping because service restarting. ]
> [ Nov 30 19:30:11 Executing stop method (:kill). ]
> [ Nov 30 19:31:13 Method or service exit timed out. Killing contract 63. ]
> [ Nov 30 19:33:11 Leaving maintenance because clear requested. ]
> [ Nov 30 19:33:11 Enabled. ]
> [ Nov 30 19:33:11 Executing start method ("/usr/lib/smbsrv/smbd start"). ]
> smbd: NetBIOS services started
> [ Nov 30 19:33:12 Method "start" exited with status 0. ]
>
> Not sure why that happened.

Check the paragraph immediately before those "instructions".

> Anyhow, I cleared maintenance, and restarted it (oplocks still enabled),
> then ran fc-copy again, and the time was about the same, 73 second, which 
> was comparable to before.
>
> I next tried mounting the network share on the old Dell SC430 running 
> Windows 2003 from the opensolaris box, and copying the files that way:
>
> [EMAIL PROTECTED]:/# mount -F smbfs //[EMAIL PROTECTED]/SC430 
> /sc430
> ...
> [EMAIL PROTECTED]:/sc430# time cp 458857597.001 538970202.002 
> 729523041.003 /datastore/
> real 0m48.164s
> user 0m0.233s
> sys 0m6.537s
>
> So it's still a little slower that Windows, copying files directly from 
> the
> Solaris box, nearing 50 seconds (Any idea why this would be? Surely
> Solaris can't be slower at writing to disk? Or is it the smb client?),
> but still not as slow as trying to write to the opensolaris share from the
> Windows box.

I'll ask our performance groups if they are aware of anything.  If this is 
something
you'd like to investigate, you could compare network traces of your Windows
and Solaris systems for differences in the SMB exchanges.  If that doesn't 
help,
try comparing NFS and SMB exchanges across 2008.05 and 2008.11.

Alan

> Does that help shed any light on the issue, or are there other 
> diagnosticst I can run?
>
> (I've attached the output from cifs-gendiag. The cifs-chkcfg script 
> generated only a single line, "svcs: Pattern 'samba' doesn't match any 
> instances").
>
> Cheers,
> Victor
> -- 
> This message posted from opensolaris.org
>



> _______________________________________________
> cifs-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
> 

_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss

Reply via email to