Closed BigLep closed 2 years ago
Assigned to @marten-seemann currently since he is doing some of the initial work. He'll ultimately need a go-ipfs partner for landing these changes and tieing up anything else.
@guseggert : I put you as the owner now give you're doing the long-pole work of finding any landmines from production deployments. This should be prioritized first, and while collecting data we can work on https://github.com/ipfs/go-ipfs/issues/8858
2022-05-12 conversation: we're looking good. Deployments to other banks is happening in https://github.com/protocol/bifrost-infra/issues/1815.
Resolving for now. We'll engage if Bifrost raises any issues as they continue to deploy.
@BigLep I assumed we are reopening this due to:
Swarm.ResourceMgr.Enabled
flag to be disabled by defaultlmk if I missed anything
2022-09-27:
https://github.com/ipfs/kubo/blob/master/core/node/libp2p/rcmgr_defaults.go#L21
@BigLep may the notion link be wrong?
@ajnavarro : doh - fixed - https://github.com/libp2p/go-libp2p/blob/master/p2p/host/resource-manager/README.md#usage
2022-09-29:
@ajnavarro : FYI that I've been updating the checklist and status based on what I know. I just added two items:
@BigLep see my comment here related to point 1: https://github.com/ipfs/kubo/pull/9338#issuecomment-1311654109
Reported issues we need to address:
@BigLep see PR #9407
@ajnavarro : for changelog and other doc updates, see https://github.com/ipfs/kubo/pull/9413 . I know you were going to take the changelog, but I jumped in here while thinking about other doc improvements we should make. Feel free to make any changes and merge the PR so the RC can be cut.
Also, I think we Bifrost Gateway configuration should simplify to this: https://github.com/protocol/bifrost-infra/issues/1815#issuecomment-1316651157
@ajnavarro : I assume this is possible but I also don't recall seeing it: how does someone learn what limits are actually passed to libp2p. I know we have ipfs swarm stats all
to get current usage, but I want to be able to see what the limits are. I don't see any logging for it in https://github.com/ipfs/kubo/blob/master/core/node/libp2p/rcmgr.go#L32
@BigLep ipfs swarm limit all
@ajnavarro : thanks. I made a docs update here: https://github.com/ipfs/kubo/pull/9421
@ajnavarro : I created a tracking issue for the critical followups we need to do: https://github.com/ipfs/kubo/issues/9442
Please go ahead and edit/update with the workstreams.
go-libp2p v18 is shipping with a resource manager - yahoo! This issue encompasses the work to fully land this as a feature exposed to go-ipfs users. This includes:
$IPFS_PATH/limit.json
file + implicit defaults, not guaranteeing a contract. We want to learn about ergonomics from testing in production. In the end we may switch toSwarm.ResourceMgr.Limits
config that works the same as the output ofipfs swarm limit
commands.ipfs swarm limit [scope] --reset
Total 2022-04-01 estimate: 12 (rounded up from 11.5)
Note: doing the configuration part will be easier once config is moved back into go-ipfs: https://github.com/ipfs/go-ipfs-config/issues/151