Hello,
I found an option while reading man mount_nfs:
"Use sysctl(8) or modify sysctl.conf(5) to adjust the vfs.nfs.iothreads value,
which is the number of kernel threads created to serve asynchronous NFS
I/O requests."
I tried to raise this value to a maximum of 20 and saw
a decent
On Jan 05 14:35:40, j...@kerhand.co.uk wrote:
> i hope the diff committed is clear about that:
>
> NFS_NIOTHREADS
> The number of I/O kernel threads for NFS clients.
Silly me, I was reading the old version.
Yes, this is clear of course.
On Sat, Jan 05, 2013 at 10:17:49AM +0100, Jan Stary wrote:
>
> vfs.nfs.iothreads is still mentioned (and commented out)
> in the default /etc/sysctl.conf - should that go too?
>
not neccessarily. but the value should be changed, i think (or it should
be removed).
> > i
me trying it is that sysctl(8) says
> > >
> > > To adjust the number of kernel nfsio threads
> > > used to service asynchronous I/O requests on
> > > an NFS _client_ machine.
> > >
> > > Your diff seems to imply that this affects the _ser
adjust the number of kernel nfsio threads
> > used to service asynchronous I/O requests on
> > an NFS _client_ machine.
> >
> > Your diff seems to imply that this affects the _server_.
> >
> > However, on the client, vfs.nfs.iothreads jumps to 4
> > as so
on
> an NFS _client_ machine.
>
> Your diff seems to imply that this affects the _server_.
>
> However, on the client, vfs.nfs.iothreads jumps to 4
> as soon as I mount the NFS share. On the server, it stays at -1.
>
> On the client, when I start copying from the serve
requests on an NFS client machine:
> >
> ># sysctl vfs.nfs.iothreads=4
> >
> > The default is 4; 20 is the maximum. See nfssvc(2) and nfsd(8) for
> > further discussion.
> >
> > Does it still apply? The default now seems to be
> >
> >
On Fri, Dec 21, 2012 at 02:34:50PM +0100, Jan Stary wrote:
> On 5.2/i386, man sysctl says
>
> To adjust the number of kernel nfsio threads used to service asynchronous
> I/O requests on an NFS client machine:
>
> # sysctl vfs.nfs.iothreads=4
>
>
2012/12/21 Jason McIntyre :
> i get -1 here too. but you;re saying that the value changes to 4 when
> transferring, right?
I found this in /sys/nfs/nfs_vfsops.c:
> if (nfs_niothreads < 0) {
> nfs_niothreads = 4;
> nfs_getset_niothreads(1);
> }
http://www.o
On Fri, Dec 21, 2012 at 02:34:50PM +0100, Jan Stary wrote:
> On 5.2/i386, man sysctl says
>
> To adjust the number of kernel nfsio threads used to service asynchronous
> I/O requests on an NFS client machine:
>
> # sysctl vfs.nfs.iothreads=4
>
>
On 5.2/i386, man sysctl says
To adjust the number of kernel nfsio threads used to service asynchronous
I/O requests on an NFS client machine:
# sysctl vfs.nfs.iothreads=4
The default is 4; 20 is the maximum. See nfssvc(2) and nfsd(8) for
further discussion.
Does
11 matches
Mail list logo