lkml.org 
[lkml]   [2007]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] nfs: fix congestion control
From
Date
On Fri, 2007-01-19 at 11:51 -0500, Trond Myklebust wrote:

> > So with that out of the way I now have this
>
> Looks much better. Just one obvious buglet...

> > @@ -1565,6 +1579,23 @@ int __init nfs_init_writepagecache(void)
> > if (nfs_commit_mempool == NULL)
> > return -ENOMEM;
> >
> > + /*
> > + * NFS congestion size, scale with available memory.
> > + *
> > + * 64MB: 8192k
> > + * 128MB: 11585k
> > + * 256MB: 16384k
> > + * 512MB: 23170k
> > + * 1GB: 32768k
> > + * 2GB: 46340k
> > + * 4GB: 65536k
> > + * 8GB: 92681k
> > + * 16GB: 131072k
> > + *
> > + * This allows larger machines to have larger/more transfers.
> > + */
> > + nfs_congestion_size = 32*int_sqrt(totalram_pages);
> > +
> ^^^^^^^^^^^^^^^^^^^ nfs_congestion_pages?

Ah, yeah, forgot to refresh the patch one last time before sending
out :-(.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-01-19 20:11    [W:0.350 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site