| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера