Package: upower                          
Version: 0.9.9-4
Severity: important

Hello,

upowerd resets or modifies block-device tuning parameters (like
read-ahead) on start-up.
This behaviour is nothing one would expect upowerd to do according to
it's specification and it does directly affect system's performance and
interfers with tools that try to tune it.
upowerd doesn't do this to all block-devices but it seems to be
restricted to block-devices finally carrying (mounted?) file-systems.

upowerd usually gets started during gdm3 startup, but running it
stand-alone exposes the same behaviour:

root@ideapad:~# blockdev --report
RO    RA   SSZ   BSZ   StartSec            Size   Device
rw  1024   512  4096          0    500107862016   /dev/sda
rw  1024   512   512         63       104825344   /dev/sda1
rw  1024   512  4096     204800       104857600   /dev/sda2
rw  1024   512  4096     409600    214748364800   /dev/sda3
rw  1024   512  1024  419840000            1024   /dev/sda4
rw  1024   512  2048  419840063       616863744   /dev/sda5
rw  1024   512   512  421044938      6201828864   /dev/sda6
rw  1024   512   512  433157948     32210164224   /dev/sda7
rw  1024   512  4096  496068488      3216052224   /dev/sda8
rw  1024   512  1024  502349903    214753803264   /dev/sda9
rw  1024   512   512  921790988     23623336448   /dev/sda10
rw  1024   512  1024          0       104726528   /dev/md0
rw  1024   512  2048          0       616851456   /dev/md1
rw  1024   512  1024          0      6200767488   /dev/md2
rw  1024   512  4096          0       614754304   /dev/dm-0
rw  1024   512  4096          0      6198670336   /dev/dm-1
rw  1024   512  2048          0     32209041408   /dev/md3
rw  1024   512  4096          0      3214991360   /dev/md4
rw  1024   512  1024          0    214752615424   /dev/md5
rw  1024   512  4096          0     32206944256   /dev/dm-2
rw  1024   512  4096          0      3212894208   /dev/dm-3
rw  1024   512  4096          0    214750518272   /dev/dm-4
root@ideapad:~# /usr/lib/upower/upowerd > /dev/null

(upowerd:12125): UPower-Linux-WARNING **: energy 54.110000 bigger than full 
45.930000

(upowerd:12125): UPower-Linux-WARNING **: no device file
^C
root@ideapad:~# blockdev --report
RO    RA   SSZ   BSZ   StartSec            Size   Device
rw  1024   512  4096          0    500107862016   /dev/sda
rw  1024   512   512         63       104825344   /dev/sda1
rw  1024   512  4096     204800       104857600   /dev/sda2
rw  1024   512  4096     409600    214748364800   /dev/sda3
rw  1024   512  1024  419840000            1024   /dev/sda4
rw  1024   512  2048  419840063       616863744   /dev/sda5
rw  1024   512   512  421044938      6201828864   /dev/sda6
rw  1024   512   512  433157948     32210164224   /dev/sda7
rw  1024   512  4096  496068488      3216052224   /dev/sda8
rw  1024   512  1024  502349903    214753803264   /dev/sda9
rw  1024   512   512  921790988     23623336448   /dev/sda10
rw   256   512  1024          0       104726528   /dev/md0
rw  1024   512  2048          0       616851456   /dev/md1
rw  1024   512  1024          0      6200767488   /dev/md2
rw   256   512  4096          0       614754304   /dev/dm-0
rw  1024   512  4096          0      6198670336   /dev/dm-1
rw  1024   512  2048          0     32209041408   /dev/md3
rw  1024   512  4096          0      3214991360   /dev/md4
rw  1024   512  1024          0    214752615424   /dev/md5
rw   256   512  4096          0     32206944256   /dev/dm-2
rw   256   512  4096          0      3212894208   /dev/dm-3
rw   256   512  4096          0    214750518272   /dev/dm-4
root@ideapad:~# 


regards
   Mario
-- 
Programmieren in C++ haelt die grauen Zellen am Leben. Es schaerft
alle fuenf Sinne: den Schwachsinn, den Bloedsinn, den Wahnsinn, den
Unsinn und den Stumpfsinn.
                                 [Holger Veit in doc]

Attachment: signature.asc
Description: Digital signature

Reply via email to