coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] cksum: Use pclmul hardware instruction for CRC32 calculation


From: Jim Meyering
Subject: Re: [PATCH] cksum: Use pclmul hardware instruction for CRC32 calculation
Date: Sat, 13 Mar 2021 12:37:25 -0800

On Sat, Mar 13, 2021 at 10:19 AM Pádraig Brady <P@draigbrady.com> wrote:
> On 13/03/2021 16:13, Pádraig Brady wrote:
>
> FYI testing on an older i3-2310M system
> shows the bottleneck is not near I/O (cat is much faster).
> A 500MiB file improves from 1.40s to 0.67s on the i3-2310M.
>
> $ time src/cksum file.in
>    3404199294 524288000 file.in
>    real 0m0.672s
>    user 0m0.584s
>    sys  0m0.084s
>
> I'm also considering applying the attached
> to add a --debug option (present on a few other coreutils),
> which will diagnose the implementation used
> (since it's build time and run time variable).

I like the new option, and the patch looks fine.
I assume you'll mention the addition in NEWS.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]