Date: Wed, 13 Sep 2023 00:26:29 -0400 From: Rich <rincebrain@gmail.com> To: Joe Mcguckin <joe@via.net> Cc: freebsd-fs@freebsd.org Subject: Re: Could zfs use a gpu or x86 mmx instructions for speedup? Message-ID: <CAOeNLurkpU2=0bUmpkQYFA5qP1CPHJ_o4iFZBYi9UM3r=%2B4HKA@mail.gmail.com> In-Reply-To: <A717A5CE-DF30-4735-ADCC-386065D2AB4B@via.net> References: <A717A5CE-DF30-4735-ADCC-386065D2AB4B@via.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000005e3a09060535f71c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It does use SSE/AVX for various things, which are MMX's bigger, badder siblings. Conceivably you could try using a GPU but you'd be a little hard-pressed to make it a win in some scenarios since you have a nontrivial overhead from round trips to the GPU and back, which you usually try to hide by doing lots of operations in one copy at once, but then latency might be exciting. You could also look at the discussion on OpenZFS around ZIA or the Intel QAT integration for gzip. - Rich On Wed, Sep 13, 2023 at 12:23=E2=80=AFAM Joe Mcguckin <joe@via.net> wrote: > Maybe for parity/checksum computation? > > --0000000000005e3a09060535f71c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">It does use SSE/AVX for various things, which are MMX'= s=C2=A0bigger, badder siblings.<div><br></div><div>Conceivably you could tr= y using a GPU but you'd be a little hard-pressed to make it a win in so= me scenarios since you have a nontrivial overhead from round trips to the G= PU and back, which you usually try to hide by doing lots of operations in o= ne copy at once, but then latency might be exciting.</div><div><br></div><d= iv>You could also look at the discussion on OpenZFS around ZIA or the Intel= QAT integration for gzip.</div><div><br></div><div>- Rich</div></div><br><= div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Sep= 13, 2023 at 12:23=E2=80=AFAM Joe Mcguckin <<a href=3D"mailto:joe@via.ne= t">joe@via.net</a>> wrote:<br></div><blockquote class=3D"gmail_quote" st= yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd= ing-left:1ex">Maybe for parity/checksum computation?<br> <br> </blockquote></div> --0000000000005e3a09060535f71c--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOeNLurkpU2=0bUmpkQYFA5qP1CPHJ_o4iFZBYi9UM3r=%2B4HKA>