Re: [arch-general] powertop vs archlinux vs ubuntu

2010-02-21 Thread Andrea Fagiani

On 02/22/2010 04:53 AM, Brendan Long wrote:

On 02/21/2010 04:55 PM, Xavier Chantry wrote:
   

On Mon, Feb 22, 2010 at 12:42 AM, Stefano Z.  wrote:

 

hi

i've bought a new notebook (hp pavilion dm1-1150sl) and installed
archlinux.
i have see a strange thing with powertop, i'm running the vanilla arch kernel26,
and i have see this behaviour:
CnAvg residency   P-states (frequencies)
C0 (cpu occupata)  (31,6%)
C00,0ms ( 0,0%)
C1 mwait  0,1ms ( 0,7%)
C4 mwait  0,0ms (67,8%)
Wakeups-from-idle per second : 31483,5  interval: 10,0s
---
as you can see, i have a LOT of wakeups per seconds very low c1 states
lot of c0 and c4 states,
a wattmeter tell me that archlinux consume about 25/26watt
Then i have boot a live ubuntu distro and see this:
Cnpermanenza mediaP-state (frequenze)
C0 (cpu occupata)  ( 0,6%)
polling   0,0 ms ( 0,0%)
C1 mwait 26,7 ms (68,6%)
C4 mwait  1,2 ms (30,8%)
Wakeup-da-idle al secondo: 281,3intervallo: 15,0s
---
as you can see  the wakeups are a LOT lower than on arch and we have
lot of c1 and c4 state,
power consumption is about 20W, the same that i have with win7 (about 18/20w).
For meaning about cX state see here:
http://www.lesswatts.org/projects/powertop/powertop.php

thanks!


   

You didn't give enough information so we will need to check the basis :
- which cpufreq driver and governor are you using in both cases (check
cpufreq-info)
- what processes does powertop show as causes for wakeups ?
- what processes does top show in term of cpu usage ?

Here is what I got in the last few minutes when i was writing this :
C4 mwait  3.4ms (92.5%)  800 Mhz98.0%
Wakeups-from-idle per second : 279.4interval: 10.0s

I have a core 2 duo with acpi-cpufreq loaded and conservative governor.
$ grep cpufreq /etc/rc.conf
MODULES=(acpi-cpufreq)
DAEMONS=(syslog-ng net-profiles crond dbus hal alsa cpufreq storage-fixup)
$ grep governor /etc/conf.d/cpufreq
# valid governors:
governor="conservative"

 

They may just not have cpu-freq-utils installed maybe? I'm using
laptop-mode-tools with compiz and GNOME running (but not doing anything)
and it's saying 99.2% C4, 0.8% C0. This is with another Core2 and
laptop-mode is set to use the powersave governor on battery (which is
how I tested). When I plug it in, it jumps up to 25%, but I don't really
care how active the processor is when it's on battery.

   
Be sure to have cpu-freq-utils installed, as well as loading the right 
modules (acpi-cpufreq, cpufreq_ondemand, if you plan on using the same 
governor as ubuntu does), and add `cpufreq` to your DAEMONS array in 
rc.conf.
On my system, with laptop-mode-tools the powertop output is very similar 
to what Brendan said. Also, the 31k+ wakeups definitely mean there's 
some issue on your config.


Re: [arch-general] powertop vs archlinux vs ubuntu

2010-02-21 Thread Brendan Long
On 02/21/2010 04:55 PM, Xavier Chantry wrote:
> On Mon, Feb 22, 2010 at 12:42 AM, Stefano Z.  wrote:
>   
>> hi
>>
>> i've bought a new notebook (hp pavilion dm1-1150sl) and installed
>> archlinux.
>> i have see a strange thing with powertop, i'm running the vanilla arch 
>> kernel26,
>> and i have see this behaviour:
>> CnAvg residency   P-states (frequencies)
>> C0 (cpu occupata)  (31,6%)
>> C00,0ms ( 0,0%)
>> C1 mwait  0,1ms ( 0,7%)
>> C4 mwait  0,0ms (67,8%)
>> Wakeups-from-idle per second : 31483,5  interval: 10,0s
>> ---
>> as you can see, i have a LOT of wakeups per seconds very low c1 states
>> lot of c0 and c4 states,
>> a wattmeter tell me that archlinux consume about 25/26watt
>> Then i have boot a live ubuntu distro and see this:
>> Cnpermanenza mediaP-state (frequenze)
>> C0 (cpu occupata)  ( 0,6%)
>> polling   0,0 ms ( 0,0%)
>> C1 mwait 26,7 ms (68,6%)
>> C4 mwait  1,2 ms (30,8%)
>> Wakeup-da-idle al secondo: 281,3intervallo: 15,0s
>> ---
>> as you can see  the wakeups are a LOT lower than on arch and we have
>> lot of c1 and c4 state,
>> power consumption is about 20W, the same that i have with win7 (about 
>> 18/20w).
>> For meaning about cX state see here:
>> http://www.lesswatts.org/projects/powertop/powertop.php
>>
>> thanks!
>>
>> 
> You didn't give enough information so we will need to check the basis :
> - which cpufreq driver and governor are you using in both cases (check
> cpufreq-info)
> - what processes does powertop show as causes for wakeups ?
> - what processes does top show in term of cpu usage ?
>
> Here is what I got in the last few minutes when i was writing this :
> C4 mwait  3.4ms (92.5%)  800 Mhz98.0%
> Wakeups-from-idle per second : 279.4interval: 10.0s
>
> I have a core 2 duo with acpi-cpufreq loaded and conservative governor.
> $ grep cpufreq /etc/rc.conf
> MODULES=(acpi-cpufreq)
> DAEMONS=(syslog-ng net-profiles crond dbus hal alsa cpufreq storage-fixup)
> $ grep governor /etc/conf.d/cpufreq
> # valid governors:
> governor="conservative"
>   
They may just not have cpu-freq-utils installed maybe? I'm using
laptop-mode-tools with compiz and GNOME running (but not doing anything)
and it's saying 99.2% C4, 0.8% C0. This is with another Core2 and
laptop-mode is set to use the powersave governor on battery (which is
how I tested). When I plug it in, it jumps up to 25%, but I don't really
care how active the processor is when it's on battery.


Re: [arch-general] [arch-dev-public] [signoff] mkinitcpio 0.6.3-1

2010-02-21 Thread Gerardo Exequiel Pozzi

On 02/21/2010 07:14 PM, Thomas Bächler wrote:

New release, please sign off. It has some bugfixes and a few nice
changes under the hood.

Sign-off i686 (kernel26 and kernel26-lts in normal and fallback modes)
HOOKS="base udev autodetect sata filesystems keymap"

Sign-off x86_64 (kernel26 in normal and fallback modes)
HOOKS="base udev autodetect sata filesystems keymap"

Sign-off i686 and x86_64 (current archiso using mount hook)
HOOKS="base archiso_early udev archiso pata scsi sata usb fw pcmcia 
filesystems usbinput"



--
Gerardo Exequiel Pozzi ( djgera )
http://www.djgera.com.ar
KeyID: 0x1B8C330D
Key fingerprint = 0CAA D5D4 CD85 4434 A219  76ED 39AB 221B 1B8C 330D




Re: [arch-general] Planet Arch Linux atom feed.

2010-02-21 Thread Damjan Georgievski
> Ah but google reader additions of the offending feeds seem to work
> fine. They link through properly. Our planet feed does not. Hmm...

http://validator.w3.org/feed/


-- 
damjan


Re: [arch-general] powertop vs archlinux vs ubuntu

2010-02-21 Thread Xavier Chantry
On Mon, Feb 22, 2010 at 12:42 AM, Stefano Z.  wrote:
> hi
>
> i've bought a new notebook (hp pavilion dm1-1150sl) and installed
> archlinux.
> i have see a strange thing with powertop, i'm running the vanilla arch 
> kernel26,
> and i have see this behaviour:
> Cn                Avg residency       P-states (frequencies)
> C0 (cpu occupata)      (31,6%)
> C0                0,0ms ( 0,0%)
> C1 mwait          0,1ms ( 0,7%)
> C4 mwait          0,0ms (67,8%)
> Wakeups-from-idle per second : 31483,5  interval: 10,0s
> ---
> as you can see, i have a LOT of wakeups per seconds very low c1 states
> lot of c0 and c4 states,
> a wattmeter tell me that archlinux consume about 25/26watt
> Then i have boot a live ubuntu distro and see this:
> Cn                permanenza media    P-state (frequenze)
> C0 (cpu occupata)      ( 0,6%)
> polling           0,0 ms ( 0,0%)
> C1 mwait         26,7 ms (68,6%)
> C4 mwait          1,2 ms (30,8%)
> Wakeup-da-idle al secondo: 281,3        intervallo: 15,0s
> ---
> as you can see  the wakeups are a LOT lower than on arch and we have
> lot of c1 and c4 state,
> power consumption is about 20W, the same that i have with win7 (about 18/20w).
> For meaning about cX state see here:
> http://www.lesswatts.org/projects/powertop/powertop.php
>
> thanks!
>

You didn't give enough information so we will need to check the basis :
- which cpufreq driver and governor are you using in both cases (check
cpufreq-info)
- what processes does powertop show as causes for wakeups ?
- what processes does top show in term of cpu usage ?

Here is what I got in the last few minutes when i was writing this :
C4 mwait  3.4ms (92.5%)  800 Mhz98.0%
Wakeups-from-idle per second : 279.4interval: 10.0s

I have a core 2 duo with acpi-cpufreq loaded and conservative governor.
$ grep cpufreq /etc/rc.conf
MODULES=(acpi-cpufreq)
DAEMONS=(syslog-ng net-profiles crond dbus hal alsa cpufreq storage-fixup)
$ grep governor /etc/conf.d/cpufreq
# valid governors:
governor="conservative"


[arch-general] powertop vs archlinux vs ubuntu

2010-02-21 Thread Stefano Z.
hi

i've bought a new notebook (hp pavilion dm1-1150sl) and installed
archlinux.
i have see a strange thing with powertop, i'm running the vanilla arch kernel26,
and i have see this behaviour:
CnAvg residency   P-states (frequencies)
C0 (cpu occupata)  (31,6%)
C00,0ms ( 0,0%)
C1 mwait  0,1ms ( 0,7%)
C4 mwait  0,0ms (67,8%)
Wakeups-from-idle per second : 31483,5  interval: 10,0s
---
as you can see, i have a LOT of wakeups per seconds very low c1 states
lot of c0 and c4 states,
a wattmeter tell me that archlinux consume about 25/26watt
Then i have boot a live ubuntu distro and see this:
Cnpermanenza mediaP-state (frequenze)
C0 (cpu occupata)  ( 0,6%)
polling   0,0 ms ( 0,0%)
C1 mwait 26,7 ms (68,6%)
C4 mwait  1,2 ms (30,8%)
Wakeup-da-idle al secondo: 281,3intervallo: 15,0s
---
as you can see  the wakeups are a LOT lower than on arch and we have
lot of c1 and c4 state,
power consumption is about 20W, the same that i have with win7 (about 18/20w).
For meaning about cX state see here:
http://www.lesswatts.org/projects/powertop/powertop.php

thanks!


Re: [arch-general] Xscreensaver corrupts ext4 / partition

2010-02-21 Thread Javier Vasquez
On 2/21/10, Xavier Chantry  wrote:
> On Sun, Feb 21, 2010 at 9:59 PM, Javier Vasquez 
> wrote:
>>
>> Bad thing it's still kind of unknown how to solve or to work around
>> it.  Well, the work around is not to use xscreensaver, :-(.   I don't
>> remember if I can get xlockmore to lock when there's no activity...
>> Well, I'll have to look into something different than xscreensaver
>> then.
>>
>> More amazing, why does the problem only manifests with xscreensaver?
>> There's no problem with any other application...  Any ways, I just
>> wanted to provide update.
>>
>
> Are you using a GL screensaver ? If yes, then why ? :)
> Are you running any other GL apps ?
>
> Maybe have a look at http://bugzilla.kernel.org/show_bug.cgi?id=14535
>

I'm using the stock xscreensaver wich is compiled with GL...  However
I have all GL applications disabled (I always disable them through
xscreensaver-demo), however it doesn't matter.  As long as I launch
xscreensaver-demo  I get FS corruption and system frozen...  And if by
any reason I get the screen locked (that's the main reason I use
xscreensaver) I get the FS corruption and can't do anything...

I'm about to get from AUR xautolock, and use xlock with blank screen
or matrix, :-)  I'll see if can get myself included in the bug report,
so I can get updated automatically...

Thanks,

-- 
Javier.


Re: [arch-general] Xscreensaver corrupts ext4 / partition

2010-02-21 Thread Xavier Chantry
On Sun, Feb 21, 2010 at 9:59 PM, Javier Vasquez  wrote:
>
> Bad thing it's still kind of unknown how to solve or to work around
> it.  Well, the work around is not to use xscreensaver, :-(.   I don't
> remember if I can get xlockmore to lock when there's no activity...
> Well, I'll have to look into something different than xscreensaver
> then.
>
> More amazing, why does the problem only manifests with xscreensaver?
> There's no problem with any other application...  Any ways, I just
> wanted to provide update.
>

Are you using a GL screensaver ? If yes, then why ? :)
Are you running any other GL apps ?

Maybe have a look at http://bugzilla.kernel.org/show_bug.cgi?id=14535


Re: [arch-general] Xscreensaver corrupts ext4 / partition

2010-02-21 Thread Javier Vasquez
On 1/25/10, Damjan Georgievski  wrote:
>> Hmm, let me rephrase my initial statement.  The only initial symptom
>> was xscreensaver.  It was running when all of sudden the FS got
>> corrupted and I couldn't loging, not from xscreensaver, not from
>> console, etc.
>>
>> At this point I have a pretty stable system.  Nothing fails.  Only
>> when I loads xscreensaver (xscreesaver-demo), then the system doesn't
>> freeze but an equivalent thing happens, although the window manager is
>> up, I can't get any command to work, everything fails due to libraries
>> issues, starting from xscreensaver itself which is not able to load
>> gnome.so I believe.
>
> Test your memory first. (use memtest86+ for that)
> I'd suggest to test the memory of your graphic card too if I knew how
> to do that.
>
>
> --
> damjan


Amazing, it looks like it's the ATI video driver.  See forum:

http://bbs.archlinux.org/viewtopic.php?id=91295

I do have an ATI video card:

---
VGA compatible controller: ATI Technologies Inc Radeon RV250 [Mobility
FireGL 9000] (rev 01) (prog-if 00 [VGA controller])
---

Bad thing it's still kind of unknown how to solve or to work around
it.  Well, the work around is not to use xscreensaver, :-(.   I don't
remember if I can get xlockmore to lock when there's no activity...
Well, I'll have to look into something different than xscreensaver
then.

More amazing, why does the problem only manifests with xscreensaver?
There's no problem with any other application...  Any ways, I just
wanted to provide update.

Thx,


-- 
Javier.