Re: power management
Chris Ruehl <[email protected]> Tue, 25 May 2004 11:39:21 +0200
| Newsgroups | gmane.comp.hardware.openbrick.general |
|---|---|
| Message-ID | <[email protected]> |
Jason Mangiafico wrote: >==== Brian Wilson <[email protected]> Wrote: > > >>>Does anyone know where I can get a Linux distro that has good power >>>management? .....or otherwise show me how to get redhat to let the >>>processor cool down, and spindown the hard drive? >>> >>> >>Been fighting with the drive spindown on my laptop for years. >>"Spin down! Now!!! Out out damn spot!" >> >>Finally ran it in Win98 for a few days and discovered >>it's just as bad (or worse). Some sneaky thing in BIOS spins >>up my drive. I gave up on it. >> >>Anyway -- >> >>Search for tips on running Linux on laptops, >>they will tell you all about things like using hdparm to set the >>spindown time and noflushd and things like that. >> >>Here's a place to start >> >>http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/Lapto >> >> >p-HOWTO.html#ss19.7 > > >>On Redhat, change the line in /etc/sysconfig/harddisks from >> EXTRA_PARAMS= >>to >> EXTRA_PARAMS="-S 255" >>for instance to set spindown to 21 minutes -- read the hdparm manpage >> >> >>Brian >> >> > > >I can't get it to spindown that way, either. Redhat is frequently writing >to disk, preventing it from spinning down. > >It would be great if I could stop flushing and syncing of disk buffers, but >instead just don't buffer them at all; just write to disk immediately. > >Other things I fooled around with are: > >noflushd - didn't seem to work. something else was writing to the drive >anyway, keeping it spun up. > >Logging daemon - Couldn't get an improvement. > >bios power management - had no effect > > >In the Openbrick, the processor feels like it's about to burn up all the >time. Once I get the HDD to spin down, the next thing is the processor, how >to make it run cooler in Reshat? > >I fooled around in bios. With CPU throttling after 4 sec. of idle time, it's >slightly cooler, but not much. Seems as Redhat is keeping it hot much of >the time. > > >_______________________________________________ >Openbrick mailing list >[email protected] >http://www.openbrick.org/mailman/listinfo/openbrick > > try noflushd - allow idle hard disks to spin down /usr/sbin/noflushd -n 2 /dev/hda this may help you for the frequent writes and acpid - Utilities for using ACPI power management -chris