[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [condor-users] Condor and Hyperthreading



Matthew P. Bohnsack wrote:

Hello,

I'm using Condor 6.4.7 on a group of Linux workstations.  All machines
have 2 P4/Xeon CPUs, but some have Hyperthreading enabled and some do
not.  The result is that some nodes show up in condor_status with two
entries, while others have four entries.

Is there a way to have Condor consider all nodes as dual-CPU, despite
the Hyperthreading BIOS settings?

Thanks

-Matt


Put this in your condor_config, or in the condor_config.local of each node you want to affect:

VIRTUAL_MACHINE_TYPE_1 = cpus=1, mem=50%
NUM_VIRTUAL_MACHINES_TYPE_1 = 2

The docs for this is under Special Environments, SMP machines. Another very useful configuration setting for multi-CPU machines is:

VIRTUAL_MACHINES_CONNECTED_TO_CONSOLE = N
VIRTUAL_MACHINES_CONNECTED_TO_KEYBOARD = N

Where N is the number of virtual machines that "notice" keyboard or console activity. If set to 0, user activity will not affect condor's state on those machines. If 1, only one virtual machine can be interrupted by user activity. If 2, condor jobs on both virtual machines may be interruped by user activity.

-Mark

Condor Support Information:
http://www.cs.wisc.edu/condor/condor-support/
To Unsubscribe, send mail to majordomo@xxxxxxxxxxx with
unsubscribe condor-users <your_email_address>