I think the more important question is, what is the
quality of life at any given carrying capacity? So you say the earth can handle 1 trillion permanent residents. Great, but what is their
standard of living? Is it even worth living on such a
planet?
The real question is not how many people can the earth hold, but rather how many people can the earth hold and provide a decent quality of life for each of them?