[Lustre-devel] max_dirty_mb and fsync
Bradley W. Settlemyer
settlemyerbw at ornl.gov
Fri Oct 16 08:37:16 PDT 2009
Obviously, when I write 32MB in the second paragraph I mean 4MB. Sorry
for the error.
Cheers
Brad
On 10/15/2009 02:52 PM, Bradley W. Settlemyer wrote:
> Hello
>
> What is the difference between setting the max_dirty_mb setting in
> /proc to 4 and making sure that all of my applications fsync every 4MBs
> of data that are transmitted?
>
> I would guess that one difference is the 32MB is a filesystem-wide
> setting rather than a per file setting -- so the sync occurs regardless
> of the number of files receiving data. But are there any other
> differences with regards to the interaction with the file system.
>
> More to the point perhaps, does an fsync have additional side effects
> beyond those that occur for the max_dirty_mb threshhold being exceeded?
>
> Cheers,
> Brad
>
> _______________________________________________
> Lustre-devel mailing list
> Lustre-devel at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-devel
>
More information about the lustre-devel
mailing list