Re: BBU Cache vs. spindles
От | James Mansion |
---|---|
Тема | Re: BBU Cache vs. spindles |
Дата | |
Msg-id | 4CC3E8BF.4090409@mansionfamily.plus.com обсуждение исходный текст |
Ответ на | Re: BBU Cache vs. spindles ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>) |
Ответы |
Re: BBU Cache vs. spindles
|
Список | pgsql-performance |
Kevin Grittner wrote: > On what do you base that assumption? I assume that we send a full > 8K to the OS cache, and the file system writes disk sectors > according to its own algorithm. With either platters or BBU cache, > the data is persisted on fsync; why do you see a risk with one but > not the other? > Surely 'the data is persisted sometime after our write and before the fsynch returns, but may be written: - in small chunks - out of order - in an unpredictable way' When I looked at the internals of TokyoCabinet for example, the design was flawed but would be 'fairly robust' so long as mmap'd pages that were dirtied did not get persisted until msync, and were then persisted atomically.
В списке pgsql-performance по дате отправления: