cvs commit: src/sys/kern kern_spinlock.c src/sys/platform/vkernel/i386 cpu_regs.c src/sys/sys systm.h src/sys/platform/pc32/i386 machdep.c

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Mon Jul 2 14:42:16 PDT 2007


Michal Belczyk wrote:
Nice thing is
that one can set voltage and frequency idependently of each other, at least 
on
my cpu ;-)  And it was working with estd.
 This actually worked (more as a bug) with the est module as well (always 
 operating on the current core).  However, I could not see any benefit 
 setting a lower frequency/voltage:  The CPU would run slower, but the fan 
 would turn on equally often.
The fan is another thing to control -- e.g. all the ThinkPads suffer from
badly programmed embedded controller which is responsible for how it works.
Thing is that it works on windows xp out of the box:  always cool, few fan.

Anyway, estd should change the frequency depending on system load.  I tried it
on my laptop simply by running make buildworld and it worked as expected.
Yes, I know.  I was setting it manually and observed reduced performance (openssl benchmark or so), however in idle state it still got as hot as before.  Even when reducing the acpi power state (I think that's the clock duty cycle) to 1 (instead of 8, I think) the system didn't get cooler, just *really* slow.  Really.  I-see-X-painting-slow.  Yet still hot :)

Now it's probably non-compilable
after some SYSINIT-related macros had been renamed.
Note that it's based only on intel docs and my own experiments so there 
might
be bugs in it.
 It would be really awesome if you maybe could find the time to integrate 
 this into the sources and submit a patch, as you have already considerable 
 experience.  Do you think this might be possible?
Sure it's possible! :-)
Very cool, thanks!

I'll work on it and send patches.  Have you got some core2duo machine to test
it before I post it to the submit list?
Yes, but it won't hurt if you run it over submit@, so that it can get more coverage.

thanks
 simon
PS: congratulations to your (almost) masters!

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \
Attachment:
signature.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00005.pgp
Type: application/octet-stream
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/commits/attachments/20070702/f1179ca5/attachment-0022.obj>


More information about the Commits mailing list