We are testing room history purging on matrix. We now are wiping old matrixhq room and #test:disroot.org to see what the impact on the server performance is.
It will be a painful process. That we can say already. We will see how fast the rooms are purged so we can think when/how to schedule purging public rooms servervide.