For the wall, it depends on the building and what fire want you to defend against.
Usually 50 height is enough against raiders and most assaults. Except spiders, of course.
For the turrets, ballistic weapons gain range with height. So the taller, the better I think.
For the rest, if you want to put them out of raider's range, 125 should be enough.