what's the difference about mincache=direct and convosync=direct ?
Hi,
I am helping a Solaris+VxFS customer for my application that does not use O_SYNC. The customer reported that only setting convosync=direct does not have much performance benifits, but by adding mincache=direct there is a significant performance gain.
It looks like convosync=direct is not necessary to be set. Should I use mincache=direct only? Can some one have a logical explanation ? Many thanks.
Here are the definitions:
_________________________
mincache=direct will cause any reads without the O_SYNC flag, or any writes without the O_SYNC flag, VX_DSYNC, VX_DIRECT, and VX_UNBUFFERED caching advisories, to be handled as if the VX_DIRECT caching advisory had been set.
convosync=direct will cause any reads or writes with the O_SYNC flag to be handled as if the VX_DIRECT caching advisory had been set.
_________________________