Bonjour,
En essayant de configurer powerd (option -i et -r dans /etc/rc.conf), je me suis aperçu d'un taux d'occupation de cpu anormal à l'aide de la commande top :
Quote:CPU: 0.0% user, 0.0% nice, 0.1% system,
10.7% interrupt
, 89.1% idle
La commande syscat renvoie :
Quote: /0 /1 /2 /3 /4 /5 /6 /7 /8 /9 /10
Load Average
/0% /10 /20 /30 /40 /50 /60 /70 /80 /90 /100
root idle: cpu2 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
root idle: cpu3 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
root idle: cpu0 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
root idle: cpu6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
root idle: cpu7 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
root idle: cpu5 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
root idle: cpu1 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
root irq19: fwo XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
root idle: cpu4 XXXXXXX
Puis :vnstat :
Quote:cow 93748 total
...
%ozfod 77747 fwohci0+++
Code:#apropos fwohci
fwohci(4) - OHCI FireWire chipset device driver
A l'origine du problème, la fréquence est toujours réglée au minimum (332Mhz), que ce soit en pleine compilation ou en attente, alors que théoriquement je dispose de :
Quote:#sysctl dev.cpu.0.freq dev.cpu.0.freq_levels
dev.cpu.0.freq: 2661
dev.cpu.0.freq_levels: 2661/90000 2327/78750 1995/67500 1662/56250 1330/45000 997/33750 665/22500 332/11250
Comme c'est une machine assez récente, j'ai quelques périphériques non gérés :
Quote:cat /var/log/dmesg.today |grep "no driver attached"
pci0: <base peripheral,
interrupt controller
> at device 16.0 (no driver attached)
pci0: <base peripheral,
interrupt controller
> at device 16.1 (no driver attached)
pci0: <base peripheral,
interrupt controller
> at device 20.0 (no driver attached)
pci0: <base peripheral,
interrupt controller
> at device 20.1 (no driver attached)
pci0: <base peripheral,
interrupt controller
> at device 20.2 (no driver attached)
pci0: <base peripheral,
interrupt controller
> at device 20.3 (no driver attached)
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
Entre parenthèse, je ne dispose pas de la commande dmesg, donc je suis obligé d'utiliser cat.
Pour le pilote fwohci :
Quote:pciconf -lv | grep -B 0 -A 5 fwohci
fwohci0@pci0:7:3:0: class=0x0c0010 card=0x4f538086 chip=0x8023104c rev=0x00 hdr=0x00
vendor = 'Texas Instruments (TI)'
device = 'TSB43AB21/A IEEE1394a-2000 OHCI PHY/Link-Layer Ctrlr'
class = serial bus
subclass = FireWire
Je débute sous bsd, et j'avance très lentement. J'ai quelques liens :
Configuring FreeBSD 6.x to use Intel SpeedStep or AMD PowerNow/Cool'n'QuietHOWTO: FreeBSD CPU Scaling with cpufreq.ko'top' showing high interrupt rateSoit j'arrive a régler le problème des interruptions, ou soit je trouve un moyen de faire fonctionner correctement powerd en tenant compte de ce problème ?
Ou bien est ce lié au 8 processeurs virtuels (avec hyper thtreading) du core i7
Sous gentoo cpufreq fonctionne correctement cependant (de 1.6 à 2.6 MHz)
Mon actuelle rubrique dans rc.conf ou j'ai fais quelques essais :
Quote:# cpufreq
powerd_enable="YES"
# i (increase ? default 90%)
# r (reduce ? default 65%)
# powerd_flags="-a adaptive -r 20 -i 80"
powerd_flags="-a adaptive"