Starting hal daemon incredibly decrease my hard drive performance

Alexis Muller xaelis at free.fr
Mon Nov 1 13:37:06 PST 2004


On Mon, 2004-11-01 at 19:08 +0100, Kay Sievers wrote:
[...]
> No idea. I can't believe as well that this is caused by hald.
> Please look with:
> 
>   [root at pim ~]# lsof -p 29989
[...]
>   [root at pim ~]# strace -s 1000 -p 29989
[...]


joshua ~ # lsof -p 2268
COMMAND  PID USER   FD   TYPE     DEVICE    SIZE   NODE NAME
hald    2268 root  cwd    DIR        3,4     480      2 /
hald    2268 root  rtd    DIR        3,4     480      2 /
hald    2268 root  txt    REG        3,4  239044 961024 /usr/sbin/hald
hald    2268 root  mem    REG        3,4   21544
5779 /usr/lib/gconv/gconv-modules.cache
hald    2268 root  mem    REG        3,4 1235888
291959 /lib/tls/libc-2.3.4.so
hald    2268 root  mem    REG        3,4  140472
200799 /usr/lib/libexpat.so.0.5.0hald    2268 root  mem    REG
3,4  158200 291955 /lib/tls/libm-2.3.4.so
hald    2268 root  mem    REG        3,4   80288
294722 /lib/libnsl-2.3.4.so
hald    2268 root  mem    REG        3,4  284088
959464 /usr/lib/libdbus-1.so.0.0.0
hald    2268 root  mem    REG        3,4  552880
328187 /usr/lib/libglib-2.0.so.0.400.7
hald    2268 root  mem    REG        3,4  263692
328521 /usr/lib/libgobject-2.0.so.0.400.7
hald    2268 root  mem    REG        3,4   44784
959614 /usr/lib/libdbus-glib-1.so.0.0.0
hald    2268 root  mem    REG        3,4   95008 294512 /lib/ld-2.3.4.so
hald    2268 root    0u   CHR        1,3           5527 /dev/null
hald    2268 root    1u   CHR        1,3           5527 /dev/null
hald    2268 root    2u   CHR        1,3           5527 /dev/null
hald    2268 root    5u   CHR        1,3           5527 /dev/null
hald    2268 root    6r  FIFO        0,7          74181 pipe
hald    2268 root    7w  FIFO        0,7          74181 pipe
hald    2268 root    8u  unix 0xc98b3200          74182 socket
hald    2268 root    9u  unix 0xc98b3380          74184 socket
hald    2268 root   10r  FIFO        0,7          74187 pipe
hald    2268 root   11w  FIFO        0,7          74187 pipe
hald    2268 root   12r   DIR        3,4    4048   5225 /etc
hald    2268 root   13u  sock        0,4          74331 can't identify
protocol

joshua ~ # strace -s 1000 -p 2268
Process 2268 attached - interrupt to quit
gettimeofday({1099344867, 879240}, NULL) = 0
gettimeofday({1099344867, 879389}, NULL) = 0
poll([{fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=13,
events=POLLIN|POLLPRI}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN}],
5, 1714) = 0
gettimeofday({1099344869, 593943}, NULL) = 0
open("/dev/hdb", O_RDONLY|O_NONBLOCK|O_EXCL|O_LARGEFILE) = 3
ioctl(3, CDROM_DRIVE_STATUS, 0x7fffffff) = 1
close(3)                                = 0
gettimeofday({1099344869, 723604}, NULL) = 0
poll([{fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=13,
events=POLLIN|POLLPRI}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN}],
5, 1871) = 0
gettimeofday({1099344871, 595619}, NULL) = 0
open("/dev/hdb", O_RDONLY|O_NONBLOCK|O_EXCL|O_LARGEFILE) = 3
ioctl(3, CDROM_DRIVE_STATUS, 0x7fffffff) = 1
close(3)                                = 0
gettimeofday({1099344871, 725249}, NULL) = 0
poll([{fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=13,
events=POLLIN|POLLPRI}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN}],
5, 1871) = 0
gettimeofday({1099344873, 597317}, NULL) = 0
open("/dev/hdb", O_RDONLY|O_NONBLOCK|O_EXCL|O_LARGEFILE) = 3
ioctl(3, CDROM_DRIVE_STATUS, 0x7fffffff) = 1
close(3)                                = 0
gettimeofday({1099344873, 726947}, NULL) = 0
poll([{fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=13,
events=POLLIN|POLLPRI}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN}],
5, 1871) = 0
gettimeofday({1099344875, 598975}, NULL) = 0
open("/dev/hdb", O_RDONLY|O_NONBLOCK|O_EXCL|O_LARGEFILE) = 3
ioctl(3, CDROM_DRIVE_STATUS, 0x7fffffff) = 1
close(3)                                = 0
gettimeofday({1099344875, 728606}, NULL) = 0
poll([{fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=13,
events=POLLIN|POLLPRI}, {fd=10, events=POLLIN}, {fd=8, events=POLLIN}],
5, 1871) = 0
gettimeofday({1099344877, 600706}, NULL) = 0
open("/dev/hdb", O_RDONLY|O_NONBLOCK|O_EXCL|O_LARGEFILE) = 3
ioctl(3, CDROM_DRIVE_STATUS, 0x7fffffff) = 1
close(3)                                = 0
gettimeofday({1099344877, 730342}, NULL) = 0
poll( <unfinished ...>
Process 2268 detached

Do you see something wrong ?

_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list