Re: Strange performance change 59 -> 61/62

From: Martin J. Bligh (mbligh@aracnet.com)
Date: Sat Feb 22 2003 - 02:46:16 EST


> mark_inode_dirty() tends to be called _very_ frequently. Too frequently.
>
> Could you try remounting all filesystems noatime with
>
> mount /mnt/point -o remount,noatime
>
> and the below patch will prevent us calling the barrier-happy
> current_kernel_time() for noatime mounts.

Cool, that works nicely - thanks.

2.5.59-mjb6: 84 __mark_inode_dirty
2.5.61-mjb1: 594 __mark_inode_dirty
2.5.61-mjb1-no_mb: 74 __mark_inode_dirty
2.5.61-mjb1-noatime: 65 __mark_inode_dirty

M.

-
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/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:35 EST