On Thu, 2013-06-13 at 13:55 +0200, Carlos E. R. wrote:
On 2013-06-13 12:59, Dave Howorth wrote:
Carlos E. R. wrote:
By the way, try not to use "fsync". It forces the kernel to write to disk even if not convenient.
I think this is misguided advice. It is very important to use use fsync to ensure that the data makes it onto the disk in order to ensure data or whole files don't disappear.
Yes, of course the data must be written. But if we force the kernel to write it now, we reduce overall performance. Just my opinion, but you can make a run and compare.
The problem for me is not that the data may not get written. That seems very stable. I would think that fsync would not really ne needed. As indicated by my workaround that frees cache pages. Yours sincerely, Roger Oberholtzer Ramböll RST / Systems Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org