Porosity is critical, its why real coral skeleton is so much superior to fake concrete or mined limestone.
Why? Think about it this way. The rock itself is irrelevant and inert. What we are after are the Bacteria and Archaea that make up the microbial community. These live on surfaces, both the external surface and any internal surfaces.
A totally non-porous* rock has effectively zero internal surface area. A highly porous rock (coral skeleton) has literally thousands of times more surface area (**) because of all the internal cavities.
*I only consider pores that are large enough and reach the surface to be worth considering here. Technically concrete is "porous" in that water can soak in. But it doesnt have any internal spaces. Likewise, pumice has internal pores but they don't reach the surface. Coral skeletons are ideal.
** I pulled this number out of the air but I bet its a reasonable estimate.
I think to help the discussion we have to define" porosity"
For the definition, we need " usable surface"? "Usable surface", there where aerobic processes can take place?
Mined limestone can be reef rock from ancient reefs. Looking to it using x80 glasses a huge amount of pores are revealed, as will be de case looking at most chalkstone.
In practice, such stone can be broken down into smaller pieces, tumbled to round up the corners and then reconstructed to any desired form. It is then used for aquaculture of "life rock" or placed directly in the aquarium to be seeded with real corals and their holobionts, to become an excellent "life rock".
Ancient Reef rock not only consists of aragonite made by the calcification of corals but mainly of skeletons of algae (Halimeda?) coccolites, diatoms, and many other organisms.
Mined shell grit from ancient shell banks, or and coccolites, if looking to the surface with a microscope one will see huge pores.? if porosity is important, no reef rock is needed, porosity can be brought to you in the desired form.
In biofilters also maerl ( algae) is used.
Where I totally disagree is that the rock itself is irrelevant and inert. The substrate on which bacteria grow is very important for the filtration capacity of the biofilm. For example: in a nitrifying biofilm a lot of acids are produced lowering pH in the film. These acids dissolve calcium carbonate by which carbonate and everything else is released in the biofilm, and will be used as a carbon source instead of consuming total alkalinity.
A nitrifying biofilm growing on calcium carbonate or on glass or granite, it makes a huge difference and not only for what concerns the filtration rate.
In a normal nitrifying remineralizing biofilm growing on calcium carbonate substrate +- 15% of produced nitrate will be exported as nitrogen gas, mainly due to anaerobic remineralization using nitrate as an oxygen source. Such a biofilm has a high BOD, biological oxygen demand. Denitrification in deep pores may be responsible for
Denitrification does not support the carrying capacity of the system, the production of nitrate does.
That is why I connect"usable surface" to the water exchange rate.