Re: Security lessons from liblzma

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Security lessons from liblzma
Дата
Msg-id 1113736.1712270070@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Security lessons from liblzma  (Jelte Fennema-Nio <postgres@jeltef.nl>)
Список 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 по дате отправления:

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: Built-in CTYPE provider
Следующее
От: Jelte Fennema-Nio
Дата:
Сообщение: [MASSMAIL]Speed up clean meson builds by ~25%