smarter commits Vastly improves disk performance. Also added knownNodesLock