  We study the thermodynamics of maximally supersymmetric U(N) Yang-Millstheory on $\mathds{R}\times S^2$ at large $N$. The model arises as a consistenttruncation of ${\cal N}=4$ super Yang-Mills on $\mathds{R}\times S^3$ and asthe continuum limit of the plane-wave matrix model expanded around the $N$spherical membrane vacuum. The theory has an infinite number of classical BPSvacua, labeled by a set of monopole numbers, described by dual supergravitysolutions. We first derive the Lagrangian and its supersymmetry transformationsas a deformation of the usual dimensional reduction of ${\cal N}=1$ gaugetheory in ten dimensions. Then we compute the partition function in the zero 'tHooft coupling limit in different monopole backgrounds and with chemicalpotentials for the $R$-charges. In the trivial vacuum we observe a first-orderHagedorn transition separating a phase in which the Polyakov loop has vanishingexpectation value from a regime in which this order parameter is non-zero, inanalogy with the four-dimensional case. The picture changes in the monopolevacua due to the structure of the fermionic effective action. Depending on theregularization procedure used in the path integral, we obtain two completelydifferent behaviors, triggered by the absence or the appearance of aChern-Simons term. In the first case we still observe a first-order phasetransition, with Hagedorn temperature depending on the monopole charges. In thelatter the large $N$ behavior is obtained by solving a unitary multi-matrixmodel with a peculiar logarithmic potential, the system does not present aphase transition and it always appears in a ``deconfined'' phase.
We first derive the Lagrangian and its supersymmetry transformations as a deformation of the usual dimensional reduction of ${\cal N}=1$ gauge theory in ten dimensions. Then we compute the partition function in the zero 'tHooft coupling limit in different monopole backgrounds and with chemical potentials for the $R$-charges.