Re: Security lessons from liblzma - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Security lessons from liblzma
Date
Msg-id 1113736.1712270070@sss.pgh.pa.us
Whole thread Raw
In response to Re: Security lessons from liblzma  (Jelte Fennema-Nio <postgres@jeltef.nl>)
List pgsql-hackers
Jelte Fennema-Nio <postgres@jeltef.nl> writes:
> Okay turns out even generating them in parallel isn't any faster than
> running that sequentially. I guess it's because of the strong random
> generation being the slow part. Command I used was the following and
> took ~5 seconds on my machine:

> make -C src/test/ssl sslfiles-clean && make -C src/test/ssl sslfiles -j20

Just for comparison's sake, this takes about 2 minutes on mamba's
host.  Now that's certainly museum-grade hardware, but I don't
think it's even the slowest machine in the buildfarm.  On a
Raspberry Pi 4B, it was about 25 seconds.

(I concur with your result that parallelism helps little.)

            regards, tom lane



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Built-in CTYPE provider
Next
From: Jelte Fennema-Nio
Date:
Subject: [MASSMAIL]Speed up clean meson builds by ~25%