Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 299070 Details for
Bug 396081
Since "Patch2037: linux-2.6.9-vm-balance.patch" my NFS performance is poorly
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Tested 4.6 zstream patch that fixes this problem.
4.6.z-linux-2.6.9-nfs-read-performance.patch (text/plain), 2.31 KB, created by
Larry Woodman
on 2008-03-25 20:58:35 UTC
(
hide
)
Description:
Tested 4.6 zstream patch that fixes this problem.
Filename:
MIME Type:
Creator:
Larry Woodman
Created:
2008-03-25 20:58:35 UTC
Size:
2.31 KB
patch
obsolete
>--- linux-2.6.9/kernel/sysctl.c.orig 2008-03-20 12:03:58.000000000 -0400 >+++ linux-2.6.9/kernel/sysctl.c 2008-03-20 12:04:23.000000000 -0400 >@@ -82,6 +82,11 @@ extern int proc_unknown_nmi_panic(ctl_ta > > extern unsigned int vdso_enabled; > >+#ifdef CONFIG_HIGHMEM >+extern int nfs_writeback_lowmem_only; >+#endif >+ >+ > int exec_shield = 1; > int exec_shield_randomize = 1; > >@@ -993,6 +998,18 @@ static ctl_table vm_table[] = { > .strategy = &sysctl_intvec, > .extra1 = &zero, > }, >+#ifdef CONFIG_HIGHMEM >+ { >+ .ctl_name = VM_NFS_WB_LOWMEM, >+ .procname = "nfs-writeback-lowmem-only", >+ .data = &nfs_writeback_lowmem_only, >+ .maxlen = sizeof(&nfs_writeback_lowmem_only), >+ .mode = 0644, >+ .proc_handler = &proc_dointvec, >+ .strategy = &sysctl_intvec, >+ .extra1 = &zero, >+ }, >+#endif > { .ctl_name = 0 } > }; > >--- linux-2.6.9/fs/nfs/inode.c.orig 2008-03-20 12:03:51.000000000 -0400 >+++ linux-2.6.9/fs/nfs/inode.c 2008-03-20 12:04:23.000000000 -0400 >@@ -42,6 +42,10 @@ > #include "delegation.h" > #include "iostat.h" > >+#ifdef CONFIG_HIGHMEM >+extern int nfs_writeback_lowmem_only; >+#endif >+ > #define NFSDBG_FACILITY NFSDBG_VFS > #define NFS_PARANOIA 1 > >@@ -841,7 +845,8 @@ nfs_fhget(struct super_block *sb, struct > * writing large files results in OOM when the > * lowmem is scarce. > */ >- mapping_set_gfp_mask(&inode->i_data, GFP_KERNEL); >+ if (nfs_writeback_lowmem_only) >+ mapping_set_gfp_mask(&inode->i_data, GFP_KERNEL); > #endif > } else if (S_ISDIR(inode->i_mode)) { > inode->i_op = NFS_SB(sb)->rpc_ops->dir_inode_ops; >--- linux-2.6.9/mm/page-writeback.c.orig 2008-03-20 12:03:58.000000000 -0400 >+++ linux-2.6.9/mm/page-writeback.c 2008-03-20 12:04:23.000000000 -0400 >@@ -98,6 +98,10 @@ int laptop_mode; > > EXPORT_SYMBOL(laptop_mode); > >+int nfs_writeback_lowmem_only = 0; >+ >+EXPORT_SYMBOL(nfs_writeback_lowmem_only); >+ > /* End of sysctl-exported parameters */ > > atomic_t nr_mapped_high = ATOMIC_INIT(0); >--- linux-2.6.9/include/linux/sysctl.h.orig 2008-03-20 12:03:58.000000000 -0400 >+++ linux-2.6.9/include/linux/sysctl.h 2008-03-20 12:04:23.000000000 -0400 >@@ -181,6 +181,7 @@ enum > VM_INACTIVE_PERCENT=33, /* desired size of inactive list */ > VM_DROP_PAGECACHE=34, /* nuke lots of pagecache */ > VM_WRITE_MAPPED=35, /* consider mapped pages un dirty_ratio */ >+ VM_NFS_WB_LOWMEM=36, /* limit NFS writes to Lowmem */ > }; > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 396081
:
299069
| 299070