Re: qsort (was Re: Solaris) - Mailing list pgsql-general

From Mark Kirkwood
Subject Re: qsort (was Re: Solaris)
Date
Msg-id 3EB2275E.505@paradise.net.nz
Whole thread Raw
In response to Re: qsort (was Re: Solaris)  (Dennis Gearon <gearond@cvc.net>)
List pgsql-general
Dennis Gearon wrote:

>The trend has been approx:
>
>    On Linux
>        BSD qsort is 30-55% faster on average.
>    On Non Liux
>        BSD qsort it 50-90% on average.
>
>This kind of says that Linux is doing something right in the kernal,
>outdoing mainframe software in this sort of thing.
>
The difference may be due to GNU and HP using different qsort algorithm
tweeks. Consider :

+ HPUX vs BSD  - very different for random*mod, close for i / (ITEMS /
mod).
+ Linux vs BSD - reasonably different for all 4 cases.

(Only way to tell would be to eyeball HP's qsort code...I am not sure if
thats possible)

regards

Mark


pgsql-general by date:

Previous
From: "Erol Oz"
Date:
Subject: VACUUM FULL PROBLEM
Next
From: Mr Mat psql-mail
Date:
Subject: Re: Slow Queries with OR's?