It depends on the age and temperament of the boars and how well they get on. I've used 2x4 a few times for elderly well matched boars when it was all I could fit in, by the time you've got 2 beds in there there's not much room for a pair of young zoomy pigs to run around and popcorn. 2x5 is the minimum I like, these days I use 5x3 for my pairs and 2x4 for the single side by side boars who can't live together.