| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Greg Smith <gsmith(at)gregsmith(dot)com> |
| Cc: | pgsql-performance(at)postgresql(dot)org |
| Subject: | Re: Direct I/O issues |
| Date: | 2006-11-23 16:45:42 |
| Message-ID: | 14171.1164300342@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches pgsql-performance |
Greg Smith <gsmith(at)gregsmith(dot)com> writes:
> The results I get now look fishy.
There are at least two things wrong with this program:
* It does not respect the alignment requirement for O_DIRECT buffers
(reportedly either 512 or 4096 bytes depending on filesystem).
* It does not check for errors (if it had, you might have realized the
other problem).
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2006-11-23 16:48:56 | Re: Vacuum columns in statistics tables |
| Previous Message | Bruce Momjian | 2006-11-23 16:41:36 | Re: [PERFORM] Direct I/O issues |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2006-11-23 16:49:29 | Re: [PERFORM] Direct I/O issues |
| Previous Message | Bruce Momjian | 2006-11-23 16:41:36 | Re: [PERFORM] Direct I/O issues |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2006-11-23 16:49:29 | Re: [PERFORM] Direct I/O issues |
| Previous Message | Bruce Momjian | 2006-11-23 16:44:25 | Re: Lying drives [Was: Re: Which OS provides the |