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 [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/