Cryptonight & xmrig = where my threads?

Hi,
I use my Ryzen 3900x, algo Cryptonight Heavy and XMrig miner. but I have problems. CPU use only 16threads, but not all 24. Why ? How to change this ?