“What’s a good swell period for surfing?” is the wrong question
Asking what a good swell period is for surfing is like asking what a good temperature is for cooking.
Cooking quality depends on multiple variables other than temperature, just like surf quality depends on multiple variables other than swell period.