How to test the NX ,keep the max power mode,included CPU and GPU. can provide the software

for CPU max load, stress command you can use.

$ sudo apt-get install stress
$ stress --cpu `nproc`

and to test GPU with max load, refer this thread