On 20/05/10 13:29, Heinz Diehl wrote: > On 20.05.2010, Larry Woodman wrote: > lwoodman@xxxxxxxxxx >> Increasing the dirty_ratio to 40% will regain the performance loss seen >> in several benchmarks. Whats everyone think about this??? > > These are tuneable via sysctl. What I have in my /etc/sysctl.conf is > > vm.dirty_ratio = 4 > vm.dirty_background_ratio = 2 > > This writes back the data more often and frequently, thus preventing the > system from long stalls. > > Works at least for me. AMD Quadcore, 8 GB RAM. > get_dirty_limits uses a minimum vm_dirty_ratio of 5, so you can't set it lower than that (unless you use vm_dirty_bytes). But it's interesting that you find lowering the dirty_ratio helpful. Do you have any benchmark results you can share? regards Richard -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>