thank you Tim for the tips

things to put on the Wiki...


Sam

2011/9/4 Tim Camp <t...@wnsp.com>:
> Greetings,
> Just thought I would report the solution of my NFS import troubles.
> The transfer rates that were faster on drive A, the OS drive were measured
> using smb, when I shared it via NFS,
> transfer rates were almost the same as drive B (/var/snd), so I started
> looking at NFS configuration since the smb figures ruled out network issues
> and the computers and OS were the same on both my servers. plus a smb share
> on my /var/snd drive proved it was not the drive.
> Long story short, with the number of stations and workstations accessing
> this server at the same time
> the number of NFS kernel treads were not enough to handle the traffic.
> Now I remember solving this problem, years ago when the first server went on
> line.
> (should always write this stuff down somewhere)
> /etc/sysconfig/nfs contains this nfs setting
> default number of kernel treads is normally 4 on some distros it is 8, you
> should increase this number until retrans reach 0.
> You can check the number of retrans since last boot by running this on the
> client
> nfsstat -rc
> the number needed for my server  turned out to be 16.
> set at the default of 4, I got over 300 retransmissions in just a few
> minutes.
> In short minimize your NFS retransmissions with this setting.
> On a server that is just acting as your audio file server and/or your mysql
> server there is really nothing more important for
> your kernel to be doing.
> Also just as a mention, be sure to optimize your mount options in fstab.
> mine are:
> server:/var/snd   /var/snd  nfs
>  rsize=32768,wsize=32768,intr,noatime,ew,async  0  0
> this will set the read/write block size to 32kb instead of the default which
> is 8
> Hope this post will help me remember this next time.
> Cheers
> Tim Camp
> Director of Operations/Programming
> Dot Com Plus L.L.C.
> dba WZEW-FM WNSP-FM
> Mobile, Al.
>
>
>
> _______________________________________________
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>
>
_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to