Hello guys,
I have a new machine with Xeon(R) CPU X5650 2666.77-MHz and I would like
to utilize powerd(8) on it however, when I run `powerd -v -r90' I see
something like this:
load 64%, current freq 2668 MHz ( 0), wanted freq 5336 MHz
load 120%, current freq 2668 MHz ( 0), wanted freq 5336 MHz
load 173%, current freq 2668 MHz ( 0), wanted freq 5336 MHz
load 62%, current freq 2668 MHz ( 0), wanted freq 5336 MHz
load 82%, current freq 2668 MHz ( 0), wanted freq 5336 MHz
load 110%, current freq 2668 MHz ( 0), wanted freq 5336 MHz
even though the machine is according to top(1) ~90% idle; So I realized,
that powerd might take the load as the sum of loads of all the cores
(12), so I tried to tweak powerd arguments like this:
`powerd -v -r 1000 -i 600'
but that errors for me with:
root@[s1-a ~]# powerd -v -r 1000 -i 600
powerd: 1000 is not a valid percent
Well, that makes sense, but why powerd itself knows about load > 100%
but doesn't allow me to specify it? Is this bug? I suppose not if it
works for other people...
Other question would be why powerd wants to set freq 5336, when it is
not available at all (would be nice to have it heh.):
dev.cpu.0.freq_levels: 2668/109000 2533/81000 2400/69000 2267/58000
2133/48000 2000/40000 1867/32000 1733/26000 1600/20000 1400/17500
1200/15000 1000/12500
The symptoms seem to show that there's a bug in the code calculating the
cpu load. Any ideas what may be wrong?
Examle of two consecutive cp_times sysctl output:
kern.cp_times: 4182996 0 306925 85623 13563403 3164971 0 201479 93110
14679313 3450792 0 258166 80198 14349717 2795270 0 180252 76701 15086650
2952777 0 217156 119627 14849313 2418067 0 158594 73497 15488715 2408492
0 175131 104377 15450873 2003803 0 131790 75753 15927527 2456736 0
178894 36963 15466280 1607095 0 117396 4197 16410185 2127878 0 147639
30804 15832552 1406621 0 92686 1058 16638508
kern.cp_times: 4183013 0 306927 85626 13563469 3164980 0 201482 93110
14679390 3450796 0 258167 80199 14349800 2795274 0 180252 76701 15086735
2952780 0 217157 119629 14849396 2418070 0 158597 73497 15488798 2408499
0 175132 104377 15450954 2003804 0 131791 75753 15927614 2456744 0
178897 36963 15466358 1607098 0 117398 4197 16410269 2127880 0 147640
30804 15832638 1406621 0 92686 1058 16638597
Thanks!
--
S pozdravom / Best regards
Daniel Gerzo
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"