Balint Reczey

Results 148 comments of Balint Reczey

Having the casting in the generated code would be much nicer because that generated code is never modified manually and is rarely looked at.

As a possible workaround setting `mitigations=off` on the kernel command line restores the performance for newer kernels: ``` Time % increase from jammy-v0.8.2-93-g79127fb-6.2.0-33-generic to jammy-v0.8.2-93-g79127fb-6.5.0-15-generic-mitigations-off comparing 49 run pairs. real1...

Oddly while the `bash` build shows the improvement with `callgrind` and firebuild's `Release` build, perftest shows a slight slowdown that may be within measurement error. This should be re-measured with...

The noise is still too high with more tests run. ``` Time % increase from jammy-v0.8.2-93-g79127fb-6.5.0-15-generic-mitigations-off to jammy-v0.8.2-94-g2c5ed1b-6.5.0-15-generic-mitigations-off comparing 1470 run pairs. real1 user1 sys1 Min. :-9.75610 Min. :-6.31692 Min....

Ccache uses Redis via hiredis, which may be worth looking at: https://github.com/ccache/ccache/wiki/Redis-storage https://github.com/redis/hiredis

`obj_cache` description for reference: https://github.com/firebuild/firebuild/blob/5b6144743b617b0db80e61cf637ef875acfaa75a/src/firebuild/obj_cache.h#L41-L60 `blob_cache` entries also need to be retrieved from the remote server and retrieving them one by one introduces extra delays. One way of decreasing the...

... > Internally, I think Firebuild might desire one architectural change: to make this operation asynchronous. I don't know whether synchronously waiting for the server at every operation would cause...

> Alternatively: > > We could keep separate `fbbcomm` messages, but merge them in the supervisor as early as possible. > > Practically in `process_fbb_adaptor.{cc,h}` (I really want to eliminate...

Thank you @sgammon for the very detailed insights. > If I may, I'd like to jump in and offer some thoughts in this thread. I'm the author of [Buildless](https://less.build), a...

For the record I've tested rebuilding the following packages with `firebuild` on Ubuntu 22.40 and none of the builds failed: ``` rbalint@gaia:~/projects/firebuild-infra/distro-rebuilds/ubuntu$ grep erlang jammy-universe-pkgs-filtered erlang-asciideck erlang-base64url erlang-bbmustache erlang-bear erlang-bitcask...