← Back to team overview

kernel-packages team mailing list archive

[Bug 379780]

 

Hi, sorry for reopening such an old bug, but I found it via Google
searching for my problem and the information in here was very helpful.
So I thought it would be a good idea to put this related information
here.

The problem: The solution explained here is not working for me.

I set both variables I found to "disabled":

# udevadm info -q all -n /dev/sda |grep SMART
E: ID_ATA_FEATURE_SET_SMART=0
E: ID_ATA_FEATURE_SET_SMART_ENABLED=0

But the drive is still polled. I verified it using

# udisksctl monitor

Distribution is openSUSE 13.1 and udisks2 version is 2.1.1.

Any hints what is wrong here?

I have a some machines with SSDs for OS and additional Western Digital
drives that would be in standby most of the time if udisks wouldn't poll
them. Standby timeout cannot be set low enough for the drives.

With udisks1 disabling polling was working as described in this bug and I was able to use smartd to check the SMART status, because it is possible to
- adjustable polling time and
- polling is working on drives in standby without waking them up.

cheers,
Jochen

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/379780

Title:
  CD-ROM polling on some Optiarc drives causes high CPU usage

Status in The Linux Kernel:
  Confirmed
Status in abstraction for enumerating and managing block devices:
  Confirmed
Status in “linux” package in Ubuntu:
  Invalid
Status in “udisks” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: udev

  Before I upgraded the udev version of jaunty from 141-1 to 141-1.1,
  top reported about 2% total cpu usage when idle. After the update, it
  rarely drops below 35%. Though top lists udevd among the more cpu
  hungry processes, it is only listed with about 3%, while system (in
  line 3) almost never drops below 20%.

  I am using the amd64 version of Xubuntu 9.04 on a Acer Extensa 5230
  laptop with a 2 GHz Intel Celeron processor, and I have my root, home
  and swap partitions encrypted with luks. I did a fresh install and
  installed nothing but the software updates.

  The output of top looks like this:

  top - 18:47:33 up 15 min,  2 users,  load average: 1.48, 1.99, 1.50
  Tasks: 125 total,   3 running, 122 sleeping,   0 stopped,   0 zombie
  Cpu(s): 11.3%us, 23.9%sy,  0.0%ni, 60.1%id,  0.0%wa,  4.3%hi,  0.3%si,  0.0%st
  Mem:    940212k total,   637176k used,   303036k free,      872k buffers
  Swap:  2103444k total,        0k used,  2103444k free,   346116k cached

    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    939 root      16  -4 16792  600  296 S  3.0  0.1   0:17.03 udevd
  15937 haldaemo  20   0 36304 4872 3756 S  1.7  0.5   0:04.29 hald
  16403 root      20   0  451m  51m  17m R  1.7  5.6   0:25.92 Xorg
     30 root      15  -5     0    0    0 S  0.7  0.0   0:05.52 scsi_eh_1
   5480 andreas   20   0 19116 1328  988 R  0.3  0.1   0:00.89 top
  22747 andreas   20   0  174m  17m 8960 R  0.3  1.9   0:01.14 xfce4-terminal
      1 root      20   0  4104  924  632 S  0.0  0.1   0:00.87 init
      2 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kthreadd
      3 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 migration/0
      4 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0
      5 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/0
      6 root      15  -5     0    0    0 S  0.0  0.0   0:00.65 events/0
      7 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 khelper
      8 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 kstop/0
      9 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kintegrityd/0
  ...

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/379780/+subscriptions