[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Install Debian on SD



On 23/01/14 16:24, Stan Hoeppner wrote:
> On 1/22/2014 11:22 AM, Bob Proulx wrote:

>> Defeating the cache causes a lot of I/O for flash storage.  
> 
> This is patently false.  fsync() causes no additional write IO.  It
> simply commits "right now".  Buffer cache simply delays the writes.  The
> SD flash will see the same total number of writes regardless.

Hmm. Surely if you write twice to the same block, then if you fsync
between them you'll write that block twice, where if you don't you'll
only write it once?

Richard



Reply to: