My setup is a gazebo 3x3m under an about 21fx18f tarp
The gazebo gives great support to the center of the tarp and allows you to use half the amount of poles.
And if its only sun shade you need remove the tarp.
Useing ropes with springs is a must and poles that the extention is on the top side are good. ie so rain does not run down inside the pole.