on USN subs there are indeed more crew than beds albeit the ratio of beds to sailors is much much higher than it used to be on older designs. And yeah they get the best chefs for anyone who isn't a flag officer and unlike everyone else in the navy they can get fried food while afloat