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

Re: ARAnyM speed



Britt Dodd dixit:

>scenerio. If you type in your CPU model i7 950 an Intel link called Intel
>Arc will give you a bunch of the information I asked about like
>hyperthreading and turbo boost. HT was brought back with the i7 920+ .

OK, I confirmed I indeed suffer from hyperthreading.

Booting with ht=off and noht kernel options and running
tglase@tglase:~ $ cat /usr/local/sbin/disable-hyperthreading.sh
#!/bin/mksh
for sibs in $(cat $(find /sys/devices/system/cpu -name thread_siblings_list) | sort | uniq); do
	if [[ $sibs = *,* ]]; then
		left=${sibs%,*}
		right=${sibs#*,}
		echo "Disabling sibling $right for CPU core $left"
		echo 0 >/sys/devices/system/node/node0/cpu$right/online
	fi
done
… duly disables that, but the ARAnyM speed stays low ☹

bye,
//mirabilos
-- 
<gcc> ncal.c: In function 'parsemonth': warning: comparison between pointer
and integer  • <mirabilos> ↑ hab da „in function parselmouth“ gelesen
<Natureshadow> ICH AUCH! • <Natureshadow> Ich hab gerade gedacht "Häh? Wie,
hab da parselmouth gelesen ... steht da doch auch :o?"	-- too much fanfic…


Reply to: