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

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -