Skip to content

Commit

Permalink
chore: update FFI to not arbitrary limit FVM concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
Stebalien committed Apr 10, 2024
1 parent dd6fef8 commit e278cf2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@

## Improvements

### FVM RPC Concurrent Requests

The default maximum FVM concurrency (`LOTUS_FVM_CONCURRENCY`) has increased from 4 to the number of available CPU threads. Furthermore, the FVM now allocates `LOTUS_FVM_CONCURRENCY` OS-level threads with 64MiB stacks (in 1.26, we allocated one thread per CPU core regardless of the value of `LOTUS_FVM_CONCURRENCY`).

Impact:

1. This will increase memory usage for nodes specifying a higher `LOTUS_FVM_CONCURRENCY` than the number of CPU threads they have available.
2. This will allow such nodes to actually take advantage of this higher concurrency limit where the concurrency was previously capped at the number of available CPU threads.

# v1.26.0 / 2024-03-21

This is the stable release for the upcoming MANDATORY Filecoin network upgrade v22, codenamed Dragon 🐉, at `epoch 3817920 - 2024-04-11 - 14:00:00Z`
Expand Down
2 changes: 1 addition & 1 deletion extern/filecoin-ffi

0 comments on commit e278cf2

Please sign in to comment.