You can remove old transactions using the removeprunedfunds RPC. That should greatly speed up balance calculations and transaction creation.8.1) Can we "optimize" a huge wallet without moving the funds to a new one? Like a "fsck" or eqv?
It's already entirely in memory.
8.2) Can we improve the cache usage somehow? Putting the entire wallet in memory, for example?