Re: Checksums by default?

From: Ants Aasma <ants(dot)aasma(at)eesti(dot)ee>
To: Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com>
Cc: Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Checksums by default?
Date: 2017-02-24 20:11:44
Message-ID: CA+CSw_u1Q05No=9N_3y8XojpFBPoqGJ=Zy3HcTPcK66TbMe03Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Feb 24, 2017 at 9:49 PM, Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com> wrote:
> On 2/24/17 12:30 PM, Tomas Vondra wrote:
>>
>> In any case, we can't just build x86-64 packages with compile-time
>> SSE4.1 checks.
>
>
> Dumb question... since we're already discussing llvm for the executor, would
> that potentially be an option here? AIUI that also opens the possibility of
> using the GPU as well.

Just transferring the block to the GPU would be slower than what we
have now. Theoretically LLVM could be used to JIT the checksum
calculation, but just precompiling a couple of versions and swithcing
between them at runtime would be simpler and would give the same
speedup.

Regards,
Ants saasma

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ants Aasma 2017-02-24 20:14:36 Re: Checksums by default?
Previous Message Ants Aasma 2017-02-24 20:09:50 Re: Checksums by default?