Laptop improvement

Jindrich Novy jnovy at redhat.com
Tue Oct 17 07:14:29 UTC 2006


On Wed, 2006-10-11 at 14:05 -0400, Dave Jones wrote:
> On Wed, Oct 11, 2006 at 07:53:03PM +0200, Jindrich Novy wrote:
>  > Any help is appreciated. I have to mention I see similar behavior
>  > of my HP laptop when it's resurrected from software suspend sometimes
>  > even on FC6. CPU load is at 100% immediately after waking the laptop up.
>  > Did anyone from you experience similar problems? Is there known
>  > any workaround?

Sorry for delay.

> Finding out what its doing is the first step.
> 
> 1- is it stuck in userspace? (top)

Nope, the CPU is idle (load of <3%)

> 2- is the kernel really busy? (boot with profile=1, and run readprofile, or
>    use oprofile)

Attaching readprofile logs, which were taken by:

readprofile -r; sleep 1000; readprofile > log

The logs are:
log_plugged - laptop running on AC power, no problems
log_unplugged - laptop running on batteries, fan runs wildly wasting the
battery power reserves

> 3- does /proc/interrupts show an interrupt arriving at a ridiculously high rate?

/proc/interrupts shows nothing suspicious, only timer and LOC increasing
in the normal increment

Jindrich
-------------- next part --------------
    83 hpet_timer_stop_set_go                     0.7685
     1 current_fs_time                            0.0112
     2 __do_softirq                               0.0103
   634 handle_IRQ_event                           8.3421
     2 free_hot_cold_page                         0.0054
     1 percpu_counter_mod                         0.0149
     1 unmap_mapping_range                        0.0019
     1 kmem_cache_free                            0.0185
     1 __dentry_open                              0.0023
     1 __d_lookup                                 0.0042
     1 memcpy                                     0.0250
498568 acpi_processor_idle                      539.5758
     1 ide_init_drive_cmd                         0.0294
   121 ide_do_request                             0.0649
     1 ide_do_drive_cmd                           0.0034
    39 ide_inb                                    5.5714
    44 ide_outsw                                  4.4000
     8 ide_outl                                   4.0000
     3 ide_set_handler                            0.0462
    83 ide_driveid_update                         0.2635
     1 cdrom_read_toc                             0.0010
     3 schedule                                   0.0010
     1 __mutex_lock_slowpath                      0.0009
   363 _spin_unlock                              72.6000
     1 *unknown*
499964 total                                      0.2269
-------------- next part --------------
     1 cpu_idle                                   0.0060
     2 sysenter_past_esp                          0.0165
     1 do_gettimeofday                            0.0065
    46 hpet_timer_stop_set_go                     0.4259
     1 profile_hit                                0.0040
     1 write_profile                              0.0041
     6 __do_softirq                               0.0309
     4 kmem_cache_free                            0.0741
     1 get_unused_fd                              0.0051
     2 nameidata_to_filp                          0.0392
     2 do_sys_open                                0.0110
     1 __find_get_block_slow                      0.0034
     2 check_disk_change                          0.0192
     3 do_open                                    0.0041
     2 putname                                    0.0541
     1 do_ioctl                                   0.0102
     1 do_sys_poll                                0.0012
     1 dummy_file_alloc_security                  0.3333
     1 dummy_file_mmap                            0.3333
     1 blk_put_queue                              0.1000
     1 blk_put_request                            0.0185
     1 blk_get_queue                              0.0303
     1 blkdev_driver_ioctl                        0.0106
     2 blkdev_ioctl                               0.0012
     1 scsi_cmd_ioctl                             0.0011
     1 kobject_put                                0.0556
     1 kref_put                                   0.0076
     1 kref_get                                   0.0137
     3 _raw_spin_trylock                          0.0750
     2 _raw_spin_lock                             0.0089
498293 acpi_processor_idle                      539.2781
    10 generic_ide_ioctl                          0.0086
     2 ide_init_drive_cmd                         0.0588
   415 ide_do_request                             0.2226
   196 ide_inb                                   28.0000
     4 ide_outsw                                  0.4000
    41 ide_driveid_update                         0.1302
     1 cdrom_prepare_request                      0.0333
     4 cdrom_queue_packet_command                 0.0213
     5 cdrom_read_tocentry                        0.0316
     1 idecd_ioctl                                0.0029
     2 cdrom_read_toc                             0.0020
     2 cdrom_transfer_packet_command              0.0099
     4 cdrom_ioctl                                0.0014
     1 sock_poll                                  0.0588
     1 sys_recvfrom                               0.0032
     1 net_rx_action                              0.0025
     1 sk_run_filter                              0.0007
     1 eth_type_trans                             0.0045
     1 ip_local_deliver                           0.0018
     1 udp_recvmsg                                0.0021
     1 unix_stream_recvmsg                        0.0009
     9 schedule                                   0.0031
     2 __mutex_unlock_slowpath                    0.0041
     2 mutex_unlock                               0.2500
   533 _spin_unlock                             106.6000
     1 lock_kernel                                0.0192
     3 *unknown*
499629 total                                      0.2267


More information about the Fedora-laptop-list mailing list