Re: fsync on ext4 does not work
| От | Florian Weimer |
|---|---|
| Тема | Re: fsync on ext4 does not work |
| Дата | |
| Msg-id | 821us0lfb7.fsf@mid.bfk.de обсуждение исходный текст |
| Ответ на | fsync on ext4 does not work (Havasvölgyi Ottó <havasvolgyi.otto@gmail.com>) |
| Ответы |
Re: fsync on ext4 does not work
|
| Список | pgsql-general |
* Havasvölgyi Ottó: > Even though the TPS in pgbench about 700 with 1 client. > I have tried other sync methods (fdatasync, open_sync), but all are similar. > Should I disable write cache on HDD to make it work? Did you mount your ext4 file system with the nobarrier option? By default, ext4 is supposed to cope properly with hard disk caches, unless the drive is lying about completing writes (but in that case, disabling write caching is probably not going to help much with reliability, either). -- Florian Weimer <fweimer@bfk.de> BFK edv-consulting GmbH http://www.bfk.de/ Kriegsstraße 100 tel: +49-721-96201-1 D-76133 Karlsruhe fax: +49-721-96201-99
В списке pgsql-general по дате отправления: