Re: Very high load on P4 machines with 2.4.28

From: Alan Cox
Date: Wed Jan 05 2005 - 10:11:18 EST


> Maybe I am victim of marketing (or poor memory) but wasn't it so that
> x86 instruction HLT was possible to use for single logical processor?

You can easily park one of the threads ("rep nop" is used as a hint to
give the CPU back to the other thread so

1: hlt
rep nop
jr 1b

ought to do it, but in HT mode other stuff like the cache behaviour is
often changed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/