[Bug 633840] New: regression: excessive calls to `acpi_safe_halt` decrease battery life
https://bugzilla.novell.com/show_bug.cgi?id=633840 https://bugzilla.novell.com/show_bug.cgi?id=633840#c0 Summary: regression: excessive calls to `acpi_safe_halt` decrease battery life Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: i586 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: cobexer@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.8) Gecko/20100723 SUSE/3.6.8-1.6 Firefox/3.6.8 Since a few kernel versions the battery life of my Intel Atom based netbook decreased noticeably. from what i found out it might be related to excessive calls to `acpi_safe_halt` which do not occur on identical hardware with openSuSE 11.3. the amount of calls to `acpi_safe_halt` seems to be proportional to general system load. when the system is idle then the aes_{enc,dec}_blk(encrypted /home) functions do not occur on top of the perf top output - `read_hpet` is there in the second place then. "a few kernel versions" means from now maybe 2 or 3 weeks back i didn't notice it - but definitly not with 11.3.(tested on identical hardware) Reproducible: Always Steps to Reproduce: 1. 2. 3. CPU: Intel(R) Atom(TM) CPU N270 @ 1.60GHz output of `perf top`: ---------------------------------------------------------------------------------------------------------------------------------------------- PerfTop: 1188 irqs/sec kernel:64.1% [1000Hz cycles], (all, 2 CPUs) ---------------------------------------------------------------------------------------------------------------------------------------------- samples pcnt function DSO _______ _____ ______________________________ ___________________________________________________________________ 6044.00 61.5% acpi_safe_halt /lib/modules/2.6.34-14.8-desktop/kernel/drivers/acpi/processor.ko 307.00 3.1% aes_enc_blk /lib/modules/2.6.34-14.8-desktop/kernel/arch/x86/crypto/aes-i586.ko 272.00 2.8% aes_dec_blk /lib/modules/2.6.34-14.8-desktop/kernel/arch/x86/crypto/aes-i586.ko 228.00 2.3% find_vma [kernel.kallsyms] 226.00 2.3% read_hpet [kernel.kallsyms] 215.00 2.2% __GI_memcpy /lib/libc-2.11.2.so 101.00 1.0% _int_malloc /lib/libc-2.11.2.so 91.00 0.9% pthread_mutex_lock /lib/libpthread-2.11.2.so 78.00 0.8% JS_CallTracer /usr/lib/xulrunner-1.9.2.8/libmozjs.so 56.00 0.6% sqlite3_free /usr/lib/xulrunner-1.9.2.8/libsqlite3.so 55.00 0.6% unix_poll [kernel.kallsyms] 46.00 0.5% fget_light [kernel.kallsyms] 44.00 0.4% schedule [kernel.kallsyms] 40.00 0.4% malloc /usr/lib/firefox/firefox 39.00 0.4% sysenter_past_esp [kernel.kallsyms] 36.00 0.4% crypto_xor [kernel.kallsyms] 34.00 0.3% free /usr/lib/firefox/firefox 34.00 0.3% _int_free /lib/libc-2.11.2.so 31.00 0.3% sched_clock_local [kernel.kallsyms] 30.00 0.3% delay_tsc [kernel.kallsyms] 30.00 0.3% __malloc /lib/libc-2.11.2.so 29.00 0.3% __pthread_mutex_unlock_usercnt /lib/libpthread-2.11.2.so 28.00 0.3% js_Invoke /usr/lib/xulrunner-1.9.2.8/libmozjs.so 28.00 0.3% __cfree /lib/libc-2.11.2.so 27.00 0.3% do_select [kernel.kallsyms] 26.00 0.3% __i686.get_pc_thunk.bx /lib/libpthread-2.11.2.so 23.00 0.2% __i686.get_pc_thunk.bx /lib/libc-2.11.2.so 22.00 0.2% memcpy [kernel.kallsyms] 22.00 0.2% sock_poll [kernel.kallsyms] 22.00 0.2% g_main_context_check /usr/lib/libglib-2.0.so.0.2513.0 22.00 0.2% find_busiest_group [kernel.kallsyms] ---------------------------------------------------------------------------------------------------------------------------------------------- PerfTop: 897 irqs/sec kernel:77.3% [1000Hz cycles], (all, 2 CPUs) ---------------------------------------------------------------------------------------------------------------------------------------------- samples pcnt function DSO _______ _____ ______________________________ ____________________________________________________________________ 5875.00 59.8% acpi_safe_halt /lib/modules/2.6.34-14.8-desktop/kernel/drivers/acpi/processor.ko 411.00 4.2% aes_dec_blk /lib/modules/2.6.34-14.8-desktop/kernel/arch/x86/crypto/aes-i586.ko 282.00 2.9% aes_enc_blk /lib/modules/2.6.34-14.8-desktop/kernel/arch/x86/crypto/aes-i586.ko 220.00 2.2% read_hpet [kernel.kallsyms] 212.00 2.2% find_vma [kernel.kallsyms] 190.00 1.9% __GI_memcpy /lib/libc-2.11.2.so 133.00 1.4% i915_gem_shrink /lib/modules/2.6.34-14.8-desktop/kernel/drivers/gpu/drm/i915/i915.ko 105.00 1.1% _int_malloc /lib/libc-2.11.2.so 84.00 0.9% pthread_mutex_lock /lib/libpthread-2.11.2.so 68.00 0.7% JS_CallTracer /usr/lib/xulrunner-1.9.2.8/libmozjs.so 55.00 0.6% unix_poll [kernel.kallsyms] 49.00 0.5% crypto_xor [kernel.kallsyms] 49.00 0.5% sqlite3_free /usr/lib/xulrunner-1.9.2.8/libsqlite3.so 49.00 0.5% fget_light [kernel.kallsyms] 39.00 0.4% schedule [kernel.kallsyms] 38.00 0.4% sysenter_past_esp [kernel.kallsyms] 36.00 0.4% malloc /usr/lib/firefox/firefox 34.00 0.3% delay_tsc [kernel.kallsyms] 32.00 0.3% __malloc /lib/libc-2.11.2.so 31.00 0.3% __cfree /lib/libc-2.11.2.so 30.00 0.3% free /usr/lib/firefox/firefox 30.00 0.3% sched_clock_local [kernel.kallsyms] 29.00 0.3% __pthread_mutex_unlock_usercnt /lib/libpthread-2.11.2.so 29.00 0.3% _int_free /lib/libc-2.11.2.so 27.00 0.3% find_busiest_group [kernel.kallsyms] 26.00 0.3% g_main_context_check /usr/lib/libglib-2.0.so.0.2513.0 24.00 0.2% js_Invoke /usr/lib/xulrunner-1.9.2.8/libmozjs.so 24.00 0.2% do_select [kernel.kallsyms] 23.00 0.2% sock_poll [kernel.kallsyms] 23.00 0.2% __i686.get_pc_thunk.bx /lib/libpthread-2.11.2.so 22.00 0.2% dixLookupPrivate /usr/bin/Xorg -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=633840
https://bugzilla.novell.com/show_bug.cgi?id=633840#c1
--- Comment #1 from Christoph Obexer
https://bugzilla.novell.com/show_bug.cgi?id=633840
https://bugzilla.novell.com/show_bug.cgi?id=633840#c2
--- Comment #2 from Christoph Obexer
https://bugzilla.novell.com/show_bug.cgi?id=633840
https://bugzilla.novell.com/show_bug.cgi?id=633840#c
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=633840
https://bugzilla.novell.com/show_bug.cgi?id=633840#c3
Rafael Wysocki
https://bugzilla.novell.com/show_bug.cgi?id=633840
https://bugzilla.novell.com/show_bug.cgi?id=633840#c4
Christoph Obexer
https://bugzilla.novell.com/show_bug.cgi?id=633840
https://bugzilla.novell.com/show_bug.cgi?id=633840#c5
--- Comment #5 from Rafael Wysocki
https://bugzilla.novell.com/show_bug.cgi?id=633840
https://bugzilla.novell.com/show_bug.cgi?id=633840#c6
--- Comment #6 from Christoph Obexer
https://bugzilla.novell.com/show_bug.cgi?id=633840
https://bugzilla.novell.com/show_bug.cgi?id=633840#c7
Rafael Wysocki
https://bugzilla.novell.com/show_bug.cgi?id=633840
https://bugzilla.novell.com/show_bug.cgi?id=633840#c8
Rafael Wysocki
https://bugzilla.novell.com/show_bug.cgi?id=633840
https://bugzilla.novell.com/show_bug.cgi?id=633840#c9
Christoph Obexer
https://bugzilla.novell.com/show_bug.cgi?id=633840
https://bugzilla.novell.com/show_bug.cgi?id=633840#c10
Rafael Wysocki
https://bugzilla.novell.com/show_bug.cgi?id=633840
https://bugzilla.novell.com/show_bug.cgi?id=633840#c11
--- Comment #11 from Christoph Obexer
https://bugzilla.novell.com/show_bug.cgi?id=633840
https://bugzilla.novell.com/show_bug.cgi?id=633840#c12
--- Comment #12 from Rafael Wysocki
https://bugzilla.novell.com/show_bug.cgi?id=633840
https://bugzilla.novell.com/show_bug.cgi?id=633840#c13
Christoph Obexer
https://bugzilla.novell.com/show_bug.cgi?id=633840
https://bugzilla.novell.com/show_bug.cgi?id=633840#c14
Rafael Wysocki
https://bugzilla.novell.com/show_bug.cgi?id=633840
https://bugzilla.novell.com/show_bug.cgi?id=633840#c15
Rafael Wysocki
https://bugzilla.novell.com/show_bug.cgi?id=633840
https://bugzilla.novell.com/show_bug.cgi?id=633840#c16
Christoph Obexer
https://bugzilla.novell.com/show_bug.cgi?id=633840
https://bugzilla.novell.com/show_bug.cgi?id=633840#c17
Rafael Wysocki
https://bugzilla.novell.com/show_bug.cgi?id=633840
https://bugzilla.novell.com/show_bug.cgi?id=633840#c18
Jiri Kosina
participants (1)
-
bugzilla_noreply@novell.com