<<inline -----Original Message----- From: Christoph Hellwig [mailto:hch@xxxxxxxxxxxxx] Sent: Tuesday, July 28, 2015 11:57 PM To: Somnath Roy Cc: ceph-devel@xxxxxxxxxxxxxxx Subject: Re: Ceph write path optimization On Tue, Jul 28, 2015 at 09:08:27PM +0000, Somnath Roy wrote: > 2. Each filestore Op threads is now doing O_DSYNC write followed by > posix_fadvise(**fd, 0, 0, POSIX_FADV_DONTNEED); Where aren't you using O_DIRECT | O_DSYNC? [Somnath] We can do that, but, I saw we are not gaining anything by doing that. > 15. The main challenge I am facing in both the scheme is XFS metadata > flush process (xfsaild) is choking all the processes accessing the > disk when it is waking up. I can delay it till max 30 sec and if there > are lot of dirty metadata, there is a performance spike down for very > brief amount of time. Even if we are acknowledging writes from say > NVRAM journal write, still the opthreads are doing getattrs on the XFS > and those threads are getting blocked. Can you send a more detailed report to the XFS lists? E.g. which locks your blocked on and some perf data? [Somnath] This list could be helpful http://oss.sgi.com/archives/xfs/2015-06/msg00111.html I think I am hitting similar.. ________________________________ PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies). -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html