Re: Mount options for Ext3?

Поиск
Список
Период
Сортировка
От Ron Johnson
Тема Re: Mount options for Ext3?
Дата
Msg-id 1043568285.818.241.camel@haggis
обсуждение исходный текст
Ответ на Re: Mount options for Ext3?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
On Sat, 2003-01-25 at 23:34, Tom Lane wrote:
> pgsql.spam@vinz.nl writes:
> > If one were certain his OS wouldn't do any re-ordering of writes, would it be
> > safe to run with fsync = off? (not that I'm going to try this, but I'm just
> > curious)
>
> I suppose so ... but if your OS doesn't do *any* re-ordering of writes,
> I'd say you need a better OS.  Even in Postgres, we'd often like the OS
> to collapse multiple writes of the same disk page into one write.  And
> we certainly want the various writes forced by a sync() to be done with
> some intelligence about disk layout, not blindly in order of issuance.

And anyway, wouldn't SCSI's Tagged Command Queueing override it all,
no matter if the OS did re-ordering or not?

But then, it really means it when it says that fsync() succeeds, so does
TCQ matter in this case?

--
+---------------------------------------------------------------+
| Ron Johnson, Jr.        mailto:ron.l.johnson@cox.net          |
| Jefferson, LA  USA      http://members.cox.net/ron.l.johnson  |
|                                                               |
| "Fear the Penguin!!"                                          |
+---------------------------------------------------------------+


В списке pgsql-performance по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Mount options for Ext3?
Следующее
От: Medve Gabor
Дата:
Сообщение: bigserial vs serial - which one I'd have to use?