8, 6, 4, 2, 1 (for O5's and above). Depends.
I can only speak for carriers but generally, a squadron is assigned to a block of rooms. Most are two-mans with a couple of four mans and maybe a 6 or 8 man bunkroom. (Plus the CO and XO staterooms). Room selection is usually done by seniority with...