Originally posted by sanwablo
View Post
On laptop-mode-tools, preload and powertop I have three different answers, depending on which machine we're talking about. I have two laptops and a netbook - only the newest laptop runs KDE, the other two run fluxbox.
The newest laptop (i7-4800MQ) can't use laptop-mode-tools without disabling other processor features and runs from an SSD, which IMO wouldn't really benefit much from preload. I don't use powertop because I'm working on a project to use a udev rule to switch the CPU governor from performance to powersave and back depending on whether the laptop is plugged into mains power or running on battery. You can do this easily with laptop-mode-tools and I miss having that capability.
The other laptop (i7-740QM) can use laptop-mode-tools and powertop but I don't use them as I've turned the machine into a fileserver and it's locked at lowest CPU frequency - also no requirement to run it on battery because it's a server now
preload is not necessary as the machine runs 24/7 and unless it's running backups for the other machines on the network or someone is watching a movie on one of the TVs it just sits idle. Only headless laptop I know of - display is not used
This is the laptop I had configured to switch CPU governors depending on power source - sadly, laptop-mode-tools is no longer necessary. I also had laptop-mode-tools enabling and disabling my swap partition (need a place to hibernate if the battery goes flat) and experimented with shutting off two of four processor cores while on battery which *almost* worked. It was stable transitioning from The netbook runs lean - it's an old Atom N270 with 2GB of RAM and it needs all the help it can get but it does get the job done - as long as the job is casual websurfing or managing the other two machines on the network over SSH.. Even though this laptop has a small SSD I do use preload because the netbook only uses SATA1 and although it has ridiculously fast seek times it doesn't move data any faster than a normal hard drive. On laptop-mode-tools and powertop this netbook has processor locked at max frequency, so no real requirement. Like I said, it needs all the help it can get

cheers -

Leave a comment: