Near the top of my reading list for the last few years (i have a long list) is Lyall's "Divided Armies", in large part because of the innovative procedure he used to select his comparison case studies.
The thesis of the book—as i understand it, one of the few on the subject grounded in evidence—is that ethnic inequality in a military, through several mechanisms, lessens its effectiveness.
https://press.princeton.edu/books/paperback/9780691192444/divided-armies
