Hi Jan. On Tue, 9 Jul 2013 10:22:48 +0200 Jan Stary <h...@stare.cz> wrote:
> > mount \\192.168.2.108\usr\src\media H: > > Details matter. Is this NFS2/NFS3? Is this a tcp/udp mount? > mount_nfs (as we know it on BSD) offers quite a few options > that can make a difference. Does the Win client have any > options? > > In particular, being a video server, I suppose the Win client > does long sequential reads. I remember -r speeding it up. The options I know of, are on Microsoft Technet [1], no -r option. Only read and write buffer size, time out, retry, soft or hard mount and some file access and encoding options. The netdrive properties of H: as mounted above give me: read and write buffer size 32768 bytes (max), time out 0.8, retry 1, soft mount and NFS3. I tried with many different read and write sizes but no real improvements. > Is your NFS mount a TCP mount? Client was set to UDP, but I also tested it with TCP and TCP+UDP. TCP seems to be slower for Avid, I got more hangs there. > It would be my wild guess that the NFS is your bottleneck > (rather than the hardware). Try various (NFS) mount options. nfsd(8) on openbsd only has 4 options. In sysctl you only can set vfs.nfs.iothreads to max 20. And I don't know which other sysctl variables also affects nfsd. On windows side there is the read/write buffer which defaults to its max. And TCP/UDP, where UDP seems better. > Jan > > > BTW, > > (1) why are you poluting a standardized directory like /usr/src > with something like /usr/src/media, serving videos? I had to recompile the kernel, and my 2G system drive is slow and loud. So I changed the mount point of my softraid from /media to /usr/src and made a media folder for my video files. Simply a workaround for silent and proper compiling and testing your patch. > (2) why are you "exporting" /home/phancy/www to /var/www/htdocs, > on your 2G wd0 disk? Want to stay on current, but also everytime a clean install. So all my data lives in my home directory (backup simpler) also my webpage, which is exported with nfs to the 'right' htdocs directory. With a simple backup script, an install.site, rc.firsttime and siteXX.tgz, staying on current feels like just a long reboot. Thanks for your help! Best, Sebastian. [1] http://technet.microsoft.com/en-us/library/cc754350.aspx -- Sebastian Neuper <pha...@gmx.de>