Re: Why does the laptop battery last longer with Windows than with Debian?

2009-05-07 Thread Micha Feigin
On Wed, 6 May 2009 13:01:59 +
Tzafrir Cohen  wrote:

> On Sat, May 02, 2009 at 03:45:17PM +0200, Kaixi Luo wrote:
> > Hello,
> > I'm a new Linux user  (currently using Debian 5 testing) and I've noticed
> > that the battery of my laptop used to last much longer with Windows Vista (4
> > hours)  than with Debian (2.5 hours). How's that possible?I mean, Debian
> > uses much less RAM (250 MB) than Vista (1 GB).
> 
> Speculation:
> 
> Less memory may mean more disk activity as you need more swapping and

I think he meant that debian uses less memory, not has less memory.

> have less memory to cache access to the disk. More disk activity
> probably increases the power consumption (if the disk can't rest).
> 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Why does the laptop battery last longer with Windows than with Debian?

2009-05-06 Thread PierPaolo
...sorry:

On Th(...)
>
>
>> Less memory may mean more disk activity as you need more swapping and
>> have less memory to cache access to the disk. More disk activity
>> probably increases the power consumption (if the disk can't rest).
>>
>> --
>>
> So can you put SWAP in a ram file ???
>


Re: Why does the laptop battery last longer with Windows than with Debian?

2009-05-06 Thread PierPaolo
On Wed, May 6, 2009 at 15:01, Tzafrir Cohen  wrote:

> On Sat, May 02, 2009 at 03:45:17PM +0200, Kaixi Luo wrote:
> > Hello,
> > I'm a new Linux user  (currently using Debian 5 testing) and I've noticed
> > that the battery of my laptop used to last much longer with Windows Vista
> (4
> > hours)  than with Debian (2.5 hours). How's that possible?I mean, Debian
> > uses much less RAM (250 MB) than Vista (1 GB).
>
> Speculation:
>
> Less memory may mean more disk activity as you need more swapping and
> have less memory to cache access to the disk. More disk activity
> probably increases the power consumption (if the disk can't rest).
>
> --
>
So can you put SWAP in a ram file


Re: Why does the laptop battery last longer with Windows than with Debian?

2009-05-06 Thread Tzafrir Cohen
On Sat, May 02, 2009 at 03:45:17PM +0200, Kaixi Luo wrote:
> Hello,
> I'm a new Linux user  (currently using Debian 5 testing) and I've noticed
> that the battery of my laptop used to last much longer with Windows Vista (4
> hours)  than with Debian (2.5 hours). How's that possible?I mean, Debian
> uses much less RAM (250 MB) than Vista (1 GB).

Speculation:

Less memory may mean more disk activity as you need more swapping and
have less memory to cache access to the disk. More disk activity
probably increases the power consumption (if the disk can't rest).

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Why does the laptop battery last longer with Windows than with Debian?

2009-05-03 Thread Kaixi Luo
Thank you all for the helpful suggestions. I'll take a look at the links
you've provided. :)
Kaixi


Re: Why does the laptop battery last longer with Windows than with Debian?

2009-05-03 Thread Jörg-Volker Peetz
Some useful readings on the topic:

How to reduce power consumption - ThinkWiki
http://www.thinkwiki.org/wiki/How_to_reduce_power_consumption

HowTo/CpuFrequencyScaling - Debian Wiki
http://wiki.debian.org/HowTo/CpuFrequencyScaling

Good power management practices
http://www.codon.org.uk/~mjg59/power/good_practices.html
--
Regards,
Jörg-Volker.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Why does the laptop battery last longer with Windows than with Debian?

2009-05-02 Thread Micha Feigin
On Sat, 2 May 2009 15:45:17 +0200
Kaixi Luo  wrote:

> Hello,
> I'm a new Linux user  (currently using Debian 5 testing) and I've noticed
> that the battery of my laptop used to last much longer with Windows Vista (4
> hours)  than with Debian (2.5 hours). How's that possible?I mean, Debian
> uses much less RAM (250 MB) than Vista (1 GB).
> 
> Also, is there anything I can do to improve my laptop battery life?
> 
> Thanks,
> 
> Kaixi


Some things you can improve on, such as installing laptopmode (and possibly
configuring it more or less aggresively) and using gnome-power-manager of
similar to automatically control screen brightness when disconnected and
possibly cpu throttling.

Other things are currently hard to control and appart for some tweaks that are
mostly proof of concept at the moment and will require waiting. These include
power saving on the GPU (graphics card) which needs support from the driver
writers, mostly nvidia/ati/intel. Some are better than others. Another issue is
turning off hardware such as wireless antena, bluetooth, usb, sata power
saving, etc. Some of this you can do manually either by tweaking laptop mode,
or try running powertop in a console and see what it sugests. One of the main
things is not controllable yet under linux and that is turning off pci power.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Why does the laptop battery last longer with Windows than with Debian?

2009-05-02 Thread Christofer C. Bell
On Sat, May 2, 2009 at 8:45 AM, Kaixi Luo  wrote:

> Hello,
> I'm a new Linux user  (currently using Debian 5 testing) and I've noticed
> that the battery of my laptop used to last much longer with Windows Vista (4
> hours)  than with Debian (2.5 hours). How's that possible?I mean, Debian
> uses much less RAM (250 MB) than Vista (1 GB).
>
> Also, is there anything I can do to improve my laptop battery life?
>

You may consider doing the following:

As a normal user, run the command "tasksel --list-tasks" and ensure that
"laptop" has an "i" in the first column (as opposed to a "u").  If it has a
"u" then run "tasksel --install-task laptop" as root.

Installing the laptop task will install the following packages:

acpi-support
hibernate
acpi
powertop
apmd
radeontool
anacron
wireless-tools
cpufrequtils
nvclock
wpasupplicant
vbetool
acpid
pcmciautils
toshset
bluetooth
avahi-autoipd

This will set up various laptop friendly utilities including advanced power
management support.

You can research what each package on this list does, of course, and pick
and choose them on your own individually.

Good luck!

-- 
Chris


Re: Why does the laptop battery last longer with Windows than with Debian?

2009-05-02 Thread T o n g
On Sat, 02 May 2009 15:45:17 +0200, Kaixi Luo wrote:

> the battery of my laptop used to last much longer with Windows Vista (4
> hours)  than with Debian (2.5 hours). How's that possible?

I bet that your Debian's power saving is not enabled by default. You've 
got to do some preliminary readings on that. E.g., 
http://xpt.sourceforge.net/techdocs/nix/sysmng/sm03-EnergySaving/
would be a good starting point. 

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Why does the laptop battery last longer with Windows than with Debian?

2009-05-02 Thread Nuno Magalhães
That's really weird...

I suggest you post your laptop's maker/model and whether you installed
any specific packages or just chose "desktop" when installing. Maybe
some program's doing a lot of I/O or something.

Maybe thi'll help you tweak your system:
http://wiki.debian.org/InstallingDebianOn

HTH,
Nuno Magalhães

-- 
()  ascii ribbon campaign - against html e-mail
/\  ascii-rubanda kampajno - kontraŭ html-a retpoŝto


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org