Re: SpeedComparison - Mailing list pgsql-hackers

From Mark Woodward
Subject Re: SpeedComparison
Date
Msg-id 18560.24.91.171.78.1139757503.squirrel@mail.mohawksoft.com
Whole thread Raw
In response to Re: SpeedComparison  (Jochem van Dieten <jochemd@gmail.com>)
List pgsql-hackers
> On 2/11/06, Andrej Ricnik-Bay wrote:
>> Has anyone here seen this one before? Do the values
>> appear realistic?
>>
>> http://www.sqlite.org/cvstrac/wiki?p=SpeedComparison
>
> The values appear to originate from an intrsinsically flawed test setup.
>
> Just take the first test. The database has to do 1000 commits. That
> means 1000 I/O operations. There is no way that a 7200 RPM disk can do
> that in the time that that test says it took. It is reasonable to say
> that a disk can do 1 I/O operation per rotation, which means that any
> test result below 9 seconds is untrustworthy.

As I have posted on this group many times, modern hard disks are very
complex beasts, it is difficult to predict what is happening on them. If
write caching is enabled, and some IDE hard disks lie as to whether or not
it is, you *never* know.




pgsql-hackers by date:

Previous
From: "Mark Woodward"
Date:
Subject: Re: Analyze and vacuum, they are sort of mandatory....
Next
From: Tom Lane
Date:
Subject: Re: SpeedComparison