Re: Use pread and pwrite instead of lseek + write and read
| От | Tom Lane |
|---|---|
| Тема | Re: Use pread and pwrite instead of lseek + write and read |
| Дата | |
| Msg-id | 7109.1471441241@sss.pgh.pa.us обсуждение |
| Ответ на | Use pread and pwrite instead of lseek + write and read (Oskari Saarenmaa <os@ohmu.fi>) |
| Ответы |
Re: Use pread and pwrite instead of lseek + write and read
Re: Use pread and pwrite instead of lseek + write and read Re: Use pread and pwrite instead of lseek + write and read |
| Список | pgsql-hackers |
Oskari Saarenmaa <os@ohmu.fi> writes:
> On my laptop a simple pgbench run (scale 100, 15 minutes) shows a 1.5%
> performance improvement.
I would have hoped for a lot better result before anyone would propose
that we should deal with all the portability issues this'll create.
> A 1.5% performance improvement is small but
> measurable - and IMV more importantly it allows us to drop more than 100
> lines of backwards (compatible?) code; maybe we could start targeting
> more recent platforms in v10?
That's basically nonsense: we'll end up adding way more than that to
deal with platforms that haven't got these APIs.
regards, tom lane
В списке pgsql-hackers по дате отправления: