And with even today’s technology, we have barely scratched the surface of our food production ability. If we needed to (say an evil sorcerer waved a wand and caused the Earth population to multiply by a factor of ten within ten years), we could produce enough food to feed everyone.
The oceans make up 70% of the surface area of the earth, and much more than that in terms of usable volume, and yet our use of them for food production involves skimming the very top layer sporadically for wild game (i.e. fish). There are lots of ways to develop the ocean as a food resource. A favorite of mine involves using the thermal differential between the surface and deep ocean as a power source, with a byproduct being a natural ‘bloom’ of animals due to the nutrient-rich cold water that is expelled.
We can increase production on land in a number of ways, including genetic engineering, hydroponics, soil management, new forms of machinery and automation, etc.
My uncle is a chicken farmer using a very modern, automated operation. He and an assistant run the whole place, which has several hundred thousand chickens. The whole farm takes up the space of a large condo development. High density agriculture like this is becoming more and more popular.