Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wallet is slow with 200k subaccounts #9405

Open
SChernykh opened this issue Jul 25, 2024 · 6 comments
Open

Wallet is slow with 200k subaccounts #9405

SChernykh opened this issue Jul 25, 2024 · 6 comments
Labels

Comments

@SChernykh
Copy link
Contributor

Reported by Antidarknet:

the official wallets are extremely unstable at 200,000 subaccounts if each has had at least one transaction in and one out. Try generating more subaccounts after 200k it takes many times longer to generate rather than when first initializing a wallet. The more accounts you add the slower it gets. Should probably fix that too. Don't take our word for it but test it yourselves.

@preland
Copy link
Contributor

preland commented Jul 25, 2024

To be 100% clear: do we have any proof from Antidarknet that this is true?

I’m assuming that the issue is valid, but just making sure

@selsta
Copy link
Collaborator

selsta commented Jul 25, 2024

200k subaccounts is likely going to require a large amount of RAM so that should be taken into account when testing.

If I remember correctly by default it creates 200 subaddresses per account, 200k accounts will lead to 40M subaddresses.

@SChernykh
Copy link
Contributor Author

@preland It is possible, based on wallet2 code track record. We just don't know what exactly can cause it.

@plowsof
Copy link
Contributor

plowsof commented Jul 25, 2024

related? #8740 , even better: #8926

@selsta selsta added the wallet label Jul 31, 2024
@moneromooo-monero
Copy link
Collaborator

Also #5370, though that was more about addressing memory usage.

@Gingeropolous
Copy link
Collaborator

just a reminder there's a server with 256GB of memory ppl can use to test this on the monero research cluster. contact me for access if you don't have it already

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants