Re: Base64 decode/encode performance

From: tomas(at)tuxteam(dot)de
To: Mark Mielke <mark(at)mark(dot)mielke(dot)cc>
Cc: Marko Kreen <markokr(at)gmail(dot)com>, Gaetano Mendola <mendola(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Base64 decode/encode performance
Date: 2008-09-10 15:30:40
Message-ID: 20080910153040.GA30183@tomas
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Sep 10, 2008 at 10:44:00AM -0400, Mark Mielke wrote:
> Marko Kreen wrote:
[...]
>> - decode does not seem to handle architectures that segfault
>> on unaligned int32 accesses.
>
> Out of curiosity - does this problem exist on any platform for which
> PostgreSQL is currently ported and supported?

HP PA is one of them. Besides, some others hide that behind a painful
(more than a factor of 1.3 -- we are talking software emulation here)
performance hit. More modeern architectures (Alpha, Itanium, IA-64) take
this route.

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIx+ggBcgs9XrR2kYRAha9AJ0Xy6Zg/m76H2H4Uzta3pSXJh/D2gCfS8PF
vpDQMU8gg2BahURgSI97GSk=
=KnIm
-----END PGP SIGNATURE-----

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2008-09-10 15:48:19 Re: New FSM patch
Previous Message Martijn van Oosterhout 2008-09-10 15:25:56 Re: Base64 decode/encode performance