Re: qsort (was Re: Solaris)

From: Mark Kirkwood <markir(at)paradise(dot)net(dot)nz>
To: Dennis Gearon <gearond(at)cvc(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: qsort (was Re: Solaris)
Date: 2003-05-02 08:07:58
Message-ID: 3EB2275E.505@paradise.net.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mr Mat psql-mail 2003-05-02 08:54:19 Re: Slow Queries with OR's?
Previous Message Erol Oz 2003-05-02 07:03:40 VACUUM FULL PROBLEM