com.norbl.cbp.ppe
Class HyperthreadDisabler

java.lang.Object
  extended by com.norbl.cbp.ppe.HyperthreadDisabler

public class HyperthreadDisabler
extends java.lang.Object

Disables hyperthreading using

echo 0 < /sys/devices/system/node/node0/cpu2/online
via ssh.


Constructor Summary
HyperthreadDisabler()
           
 
Method Summary
 boolean disable(SshExec ssh, int nCores)
          This method attempts to reduce the number of cpu 'online' to nCores.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HyperthreadDisabler

public HyperthreadDisabler()
Method Detail

disable

public boolean disable(SshExec ssh,
                       int nCores)
This method attempts to reduce the number of cpu 'online' to nCores.

Parameters:
ssh -
nCores -