Large birds for hawk deterrence was the primary reason I got the Langshans. I started with electric fence, never got much of a charge off the solar and with grandkid toddlers around I didn’t want lethal levels anyway, so let it slide. Thankfully, not sure why, at this point the situation is working for me. I have pretty active Cooper’s and Goshawks, coyotes, but at this point no onslaughts from dogs, big knock on wood. A good cockbird (F-1 Langshan/Svarthona, fibro with a Langshan body type) has helped. I actually saw him herd the two old fat Brahmas into the brush one day, first one, then out and back with the other. Letting hens raise chicks straight out of the incubator or through brooding them out makes for smart healthy birds right off the bat.I hope that my electric fence would deter dogs.
I find chasing flyers to get them back into the run very annoying. Also, large birds are less tempting to hawks and we have quite a few hawks in our area.
Lots of hawthorn hedges for cover and plenty of native quail around to feed the hawks helps too.