operating system - How to turn off all CPU on ubuntu? -
i want confirm infiniband protocol not relies on cpu work. so, have infiniband program works , want turn off cpu see whether still work or not.
turn off single core in ubuntu (12.04) quite simple.
echo 0 | sudo tee /sys/devices/system/cpu/cpu1/online
however given 4 cpu can turn off 3 of them. how can turn off of them without doing tings suspend computer ?
if want confirm channel adapter interface doesn't use main processor, don't think need shut down cores (which question if possible).
disconnect system everything, including ib switch , else might require processing. use obtain base operating state in terms of system time use, user time, etc.
reconnect system ib switch , start processing remote requests should not require intervention main processor. characterize operating state.
then compare them see if there beyond natural statistical variability. if find something, go , analyze system see if there other explanation. rinse , repeat.
ps suspect usage main processor obvious. if variability detect small, due other adaptor.
Comments
Post a Comment