yutaka_inada(at)justsystem(dot)co(dot)jp writes:> Compared with a P4 2.4GHz machine, pgbench shows 1/10 on the > Xeon machine (detail is describled below), while hdparm > shows 2 times faster.
If you set fsync off, how do the pgbench results change?
> [Hardware Profile]> DELL PowerEdge 2600> CPU Xeon 2GHz Dual> Memory 2GB PC2100 ECC DDR266 SDRAM> HDD 73GB 10,000rpm U320 SCSI
> DELL PowerEdge 600SC (for comparison)> CPU Pentium 4 2.4GHz Single> Memory 1GB 400MHz ECC DDR SDRAM > HDD 80GB 7,200rpm EIDE
I'm suspicious that the IDE drive may be configured to lie about writecompletion. If it reports write complete when it's really only bufferedthe data in controller RAM, then you're effectively running with fsyncoff on the PE600.
regards, tom lane