From jh@sirocco.sandstorm.net Wed Nov 12 20:44:32 2008 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 641AF106571F; Wed, 12 Nov 2008 20:44:32 +0000 (UTC) (envelope-from jh@sirocco.sandstorm.net) Received: from sirocco.sandstorm.net (ip-69-33-111-75.bos.megapath.net [69.33.111.75]) by mx1.freebsd.org (Postfix) with ESMTP id D70A78FC1E; Wed, 12 Nov 2008 20:44:29 +0000 (UTC) (envelope-from jh@sirocco.sandstorm.net) Received: from sirocco.sandstorm.net (localhost [127.0.0.1]) by sirocco.sandstorm.net (8.13.8/8.13.3) with ESMTP id mACKUUrs069053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 12 Nov 2008 15:30:30 -0500 (EST) (envelope-from jh@sirocco.sandstorm.net) Received: (from jh@localhost) by sirocco.sandstorm.net (8.13.8/8.13.3/Submit) id mACKUUsJ069052; Wed, 12 Nov 2008 15:30:30 -0500 (EST) (envelope-from jh) Message-Id: <200811122030.mACKUUsJ069052@sirocco.sandstorm.net> Date: Wed, 12 Nov 2008 15:30:30 -0500 (EST) From: john hood Reply-To: john hood To: FreeBSD-gnats-submit@freebsd.org Cc: marcus@freebsd.org Subject: hald-addon-mouse-sysmouse runs fstat to poll mice every 2s, eats CPU X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 128826 >Category: ports >Synopsis: sysutils/hal: hald-addon-mouse-sysmouse runs fstat to poll mice every 2s, eats CPU >Confidential: no >Severity: non-critical >Priority: low >Responsible: gnome >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Nov 12 20:50:00 UTC 2008 >Closed-Date: Tue Mar 03 03:37:51 UTC 2009 >Last-Modified: Tue Mar 03 03:37:51 UTC 2009 >Originator: >Release: FreeBSD 7.1-BETA2 amd64 >Organization: >Environment: System: FreeBSD lister.sandstorm.net 7.1-BETA2 FreeBSD 7.1-BETA2 #0: Sun Oct 12 20:59:28 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 System is a Athlon X2 3800+ system, with a PS/2 mouse (trackball) and USB mouse, no special configuration applied for either. Packages installed from 7-STABLE binaries fetched shortly after 7.1-BETA release, list follows: GraphicsMagick-1.1.14,1 ORBit2-2.14.14 OpenEXR-1.6.1_1 aalib-1.4.r5_4 abiword-2.6.3_1 akode-2.0.2,1 akode-plugins-mpc-2.0.2,1 akode-plugins-mpeg-2.0.2,1 akode-plugins-oss-2.0.2,1 akode-plugins-resampler-2.0.2,1 akode-plugins-xiph-2.0.2_1,1 alacarte-0.11.5_1 appres-1.0.1 apr-db42-1.3.3.1.3.4 arj-3.10.22_1 arts-1.5.10,1 artswrapper-1.5.3 aspell-0.60.6_2 at-spi-1.22.1_2 atk-1.22.0_1 autoconf-2.13.000227_6 autoconf-2.62 autoconf-wrapper-20071109 automake-1.10.1 automake-1.4.6_5 automake-1.5_5,1 automake-1.6.3_1 automake-1.7.9_2 automake-1.8.5_3 automake-1.9.6_3 automake-wrapper-20071109 autotools-20080819 avahi-app-0.6.23 avahi-gtk-0.6.23 bash-3.2.39_1 bdftopcf-1.0.1 beforelight-1.0.2 bigreqsproto-1.0.2 bison-2.3_4,1 bitmap-1.0.3 bitstream-vera-1.10_4 boost-python-1.34.1 bug-buddy-2.22.0_2 cairo-1.6.4_3,1 cairomm-1.6.4 cdparanoia-3.9.8_8 cdrdao-1.2.2 cdrtools-2.01_7 cheese-2.22.3 compositeproto-0.4 consolekit-0.2.10_3 coreutils-6.9_3 cups-base-1.3.9 cups-pstoraster-8.15.4_2 curl-7.18.0 cyrus-sasl-2.1.22_2 damageproto-1.1.0_2 dasher-4.7.3_1,2 db41-4.1.25_4 db42-4.2.52_5 dbus-1.2.1 dbus-glib-0.76 dbus-qt3-0.70_2 deskbar-applet-2.22.3.1 desktop-file-utils-0.15_1 dmidecode-2.9 dmxproto-2.2.2 docbook-sk-4.1.2_4 docbook-xml-4.2_1 docbook-xml-4.3 docbook-xml-4.4 docbook-xsl-1.74.0 dri-7.0.3_1,2 dvd+rw-tools-7.1 editres-1.0.3 eel-2.22.2_1 ekiga-2.0.11_4 emacs-22.2_1 enchant-1.4.0_1 encodings-1.0.2,1 eog-2.22.3 epiphany-2.22.3 esound-0.2.40 evince-2.22.2_3 evolution-2.22.3.1 evolution-data-server-2.22.3_1 evolution-exchange-2.22.3 evolution-webcal-2.21.92_2 expat-2.0.1 faad2-2.6.1,1 fast-user-switch-applet-2.22.0_3 ffmpeg-2008.07.27_7 fftw3-3.1.3 file-roller-2.22.4,1 firefox-2.0.0.17,1 firefox-3.0.3,1 fixesproto-4.0 flac-1.2.1 flex-2.5.35 font-adobe-100dpi-1.0.0_1 font-adobe-75dpi-1.0.0 font-adobe-utopia-100dpi-1.0.1 font-adobe-utopia-75dpi-1.0.1 font-adobe-utopia-type1-1.0.1 font-alias-1.0.1 font-arabic-misc-1.0.0 font-bh-100dpi-1.0.0 font-bh-75dpi-1.0.0 font-bh-lucidatypewriter-100dpi-1.0.0 font-bh-lucidatypewriter-75dpi-1.0.0 font-bh-ttf-1.0.0 font-bh-type1-1.0.0 font-bitstream-100dpi-1.0.0 font-bitstream-75dpi-1.0.0 font-bitstream-type1-1.0.0 font-cronyx-cyrillic-1.0.0 font-cursor-misc-1.0.0 font-daewoo-misc-1.0.0 font-dec-misc-1.0.0 font-ibm-type1-1.0.0 font-isas-misc-1.0.0 font-jis-misc-1.0.0 font-micro-misc-1.0.0 font-misc-cyrillic-1.0.0 font-misc-ethiopic-1.0.0 font-misc-meltho-1.0.0_1 font-misc-misc-1.0.0 font-mutt-misc-1.0.0 font-schumacher-misc-1.0.0 font-screen-cyrillic-1.0.1 font-sony-misc-1.0.0 font-sun-misc-1.0.0 font-util-1.0.1 font-winitzki-cyrillic-1.0.0 font-xfree86-type1-1.0.0 fontcacheproto-0.1.2 fontconfig-2.5.0,1 fontsproto-2.0.2 fonttosfnt-1.0.3 foomatic-db-20070124_1 foomatic-db-engine-20070124,1 foomatic-db-hpijs-1.4 foomatic-filters-3.0.2_4 freetype2-2.3.7 freeze-2.5_2 fribidi-0.10.9 fslsfonts-1.0.1 fstobdf-1.0.2 fusefs-kmod-0.3.9.p1.20080208_4 fusefs-libs-2.7.3 gail-1.22.3 gamin-0.1.9_2 gcalctool-5.22.3,2 gccmakedep-1.0.2 gconf-editor-2.22.0_2,1 gconf2-2.22.0_1 gd-2.0.35,1 gdb-6.6_1 gdbm-1.8.3_3 gdm-2.20.8 gedit-2.22.3_1 getopt-1.1.4_1 gettext-0.17_1 ggz-client-libs-0.0.14.1_1 ghostscript8-8.63 gio-fam-backend-2.16.5 gle-3.1.0_1 glib-2.16.5 glibmm-2.16.4,1 glproto-1.4.8 gmake-3.81_3 gnome-applets-2.22.3 gnome-audio-2.22.2 gnome-backgrounds-2.22.0_1 gnome-control-center-2.22.2.1_1 gnome-desktop-2.22.3 gnome-doc-utils-0.12.2_1 gnome-games-2.22.3_2 gnome-icon-theme-2.22.0_1 gnome-keyring-2.22.3_1 gnome-mag-0.14.10_2 gnome-media-2.22.0_1 gnome-menus-2.22.2_1 gnome-mime-data-2.18.0_3 gnome-mount-0.8_2 gnome-netstatus-2.12.1_7 gnome-nettool-2.22.0_1,1 gnome-panel-2.22.2_1 gnome-power-manager-2.22.1_2 gnome-screensaver-2.22.2_6 gnome-session-2.22.3 gnome-settings-daemon-2.22.2.1_1 gnome-speech-0.4.21 gnome-spell-1.0.8_2 gnome-system-monitor-2.22.4 gnome-system-tools-2.22.0_2 gnome-terminal-2.22.3 gnome-themes-2.22.2_1 gnome-user-docs-2.22.1_1 gnome-utils-2.20.0.1_2,1 gnome-vfs-2.22.0_2 gnome-volume-manager-2.22.5_1 gnome2-2.22.3 gnome_subr-1.0 gnomehier-2.3_10 gnumeric-1.8.3_1 gnupg-2.0.9_2 gnutls-2.4.1_1 goffice-0.4.3_5 goffice-0.6.5 gok-1.3.7_2,1 gpac-libgpac-0.4.4,1 gperf-3.0.3 gpgme-1.1.5_1 grzip-0.3.0_1 gsfonts-8.11_4 gstreamer-0.10.21 gstreamer-ffmpeg-0.10.4_1 gstreamer-plugins-0.10.21,3 gstreamer-plugins-a52dec-0.10.9_3,3 gstreamer-plugins-bad-0.10.8_1,3 gstreamer-plugins-cdparanoia-0.10.21,3 gstreamer-plugins-core-0.10_10 gstreamer-plugins-dts-0.10.8_3,3 gstreamer-plugins-dvd-0.10.9_3,3 gstreamer-plugins-esound-0.10.10_3,3 gstreamer-plugins-flac-0.10.10_4,3 gstreamer-plugins-gconf-0.10.10_4,3 gstreamer-plugins-gio-0.10.21,3 gstreamer-plugins-good-0.10.10,3 gstreamer-plugins-hal-0.10.10_4,3 gstreamer-plugins-libpng-0.10.10_3,3 gstreamer-plugins-mad-0.10.9_3,3 gstreamer-plugins-mp3-0.10.0_1 gstreamer-plugins-mpeg2dec-0.10.9_3,3 gstreamer-plugins-ogg-0.10.21,3 gstreamer-plugins-pango-0.10.21,3 gstreamer-plugins-soup-0.10.10_3,3 gstreamer-plugins-theora-0.10.21,3 gstreamer-plugins-ugly-0.10.9_1,3 gstreamer-plugins-vorbis-0.10.21,3 gstreamer-plugins-xvid-0.10.8_3,3 gtar-1.20_1 gtk-2.12.11_1 gtk-engines2-2.14.3 gtk-vnc-0.3.6_1 gtkhtml3-3.18.3 gtkmm-2.12.7_1 gtksourceview-1.8.5_4 gtksourceview2-2.2.2 gtkspell-2.0.14 gucharmap-2.22.3 guile-1.8.5 gvfs-0.2.5 ha-0.999b_1 hal-0.5.11_1 hal-info-20080508_1 help2man-1.36.4_2 hicolor-icon-theme-0.10_2 iceauth-1.0.2 ico-1.0.2 ilmbase-1.0.1_1 imake-1.0.2_4,1 inputproto-1.4.2.1 intltool-0.37.1 isc-dhcp3-server-3.0.5_2 iso-codes-3.2_1 ispell-3.3.02_4 jackit-0.109.2_1 jasper-1.900.1_6 javavmwrapper-2.3.2 jbigkit-1.6 jpeg-6b_7 kbproto-1.0.3 kde-3.5.10 kde-xdg-env-1.0_3,1 kdeaccessibility-3.5.10 kdeadmin-3.5.10 kdeartwork-3.5.10 kdebase-3.5.10_1 kdebase-kompmgr-3.5.10 kdeedu-3.5.10 kdegames-3.5.10 kdegraphics-3.5.10 kdehier-1.0_11 kdelibs-3.5.10 kdemultimedia-3.5.10 kdenetwork-3.5.10 kdepim-3.5.10 kdesdk-3.5.10 kdetoys-3.5.10 kdeutils-3.5.10 kdevelop-3.5.3 kdewebdev-3.5.10,2 koffice-1.6.3_7,2 lcms-1.17,1 libFS-1.0.0_1 libGL-7.0.3 libGLU-7.0.3 libICE-1.0.4_1,1 libIDL-0.8.11 libSM-1.0.3_1,1 libX11-1.1.3_1,1 libXScrnSaver-1.1.2 libXTrap-1.0.0 libXau-1.0.3_2 libXaw-1.0.4_1,1 libXcomposite-0.4.0,1 libXcursor-1.1.9_1 libXdamage-1.1.1 libXdmcp-1.0.2_1 libXevie-1.0.2 libXext-1.0.3,1 libXfixes-4.0.3_1 libXfont-1.3.1_3,1 libXfontcache-1.0.4 libXft-2.1.13 libXi-1.1.3,1 libXinerama-1.0.2,1 libXmu-1.0.3,1 libXp-1.0.0,1 libXpm-3.5.7 libXprintAppUtil-1.0.1 libXprintUtil-1.0.1 libXrandr-1.2.2_1 libXrender-0.9.4_1 libXres-1.0.3_3 libXt-1.0.5_1 libXtst-1.0.3_1 libXv-1.0.3_1,1 libXvMC-1.0.4_1 libXxf86dga-1.0.2 libXxf86misc-1.0.1 libXxf86vm-1.0.1 liba52-0.7.4_2 libao-0.8.8_1 libart_lgpl-2.3.20,1 libaudiofile-0.2.6 libbonobo-2.22.0_1 libbonoboui-2.22.0_2 libcddb-1.3.0 libcdio-0.78.2_2 libcheck-0.9.5_1 libcroco-0.6.1_1 libdaemon-0.12 libdca-0.0.5 libdmx-1.0.2_1 libdnet-1.11_2 libdrm-2.3.1 libdvdnav-0.1.10_3 libdvdread-0.9.7_3 libexif-0.6.16 libfontenc-1.0.4 libfpx-1.2.0.12_1 libgail-gnome-1.20.1 libgcrypt-1.4.1_1 libggz-0.0.14.1_4 libglade2-2.6.3 libglut-7.0.3 libgmp-4.2.4 libgnome-2.22.0_1 libgnomecanvas-2.20.1.1_2 libgnomekbd-2.22.0_2 libgnomeprint-2.18.4_2 libgnomeprintui-2.18.2_2 libgnomeui-2.22.1_2 libgpg-error-1.6_1 libgphoto2-2.4.2_1 libgsf-1.14.8_2 libgsf-gnome-1.14.8_1 libgtkhtml-2.11.1_2 libgtop-2.22.3 libgweather-2.22.3 libiconv-1.11_1 libid3tag-0.15.1b libidn-1.9 libksba-1.0.4 libltdl-1.5.26 libmad-0.15.1b_2 libmng-1.0.10 libmpeg2-0.5.1 libmusicbrainz-2.1.5 libnotify-0.4.4_2 libogg-1.1.3,4 liboil-0.3.15 liboldX-1.0.1 liboobs-2.22.0_1 libotf-0.9.8 libpaper-1.1.21_3 libpthread-stubs-0.1 librsvg2-2.22.3 libsamplerate-0.1.4 libsexy-0.1.11_1 libsigc++-2.2.3 libslang-1.4.9 libsndfile-1.0.17_2 libsoup-2.4.1_1 libspectre-0.2.1 libtasn1-1.5 libthai-0.1.5_3 libtheora-1.0.b2 libtool-1.5.26 libungif-4.1.4_5 libusb-0.1.12_3 libvolume_id-0.81.0 libvorbis-1.2.0_2,3 libwmf-0.2.8.4_2 libwnck-2.22.3 libwpd-0.8.14_1 libxcb-1.1.90.1 libxkbfile-1.0.4 libxkbui-1.0.2_1 libxklavier-3.5_2,1 libxml++-2.22.0_1 libxml2-2.6.32_1 libxslt-1.1.24_1 listres-1.0.1 luit-1.0.2_2 lynx-2.8.6.5_4,1 lzmautils-4.32.7 lzo-1.08_2,1 m17n-db-1.5.1_1 m17n-lib-1.5.1_1 m4-1.4.11,1 mDNSResponder-108 makedepend-1.0.1,1 metacity-2.22.0_2 mime-support-3.44.1 mkcomposecache-1.2_1 mkfontdir-1.0.3_1 mkfontscale-1.0.3 mousetweaks-2.22.3 mtr-0.75 mutt-1.4.2.3_3 mysql-client-5.0.67_1 mysql-server-5.0.67_1 nas-1.9.1_2 nasm-2.05.01,1 nautilus-2.22.5.1_1 nautilus-cd-burner-2.22.1_2 neon28-0.28.3 net-snmp-5.4.1.2_2 notification-daemon-0.3.7_3 nspr-4.7 nss-3.11.9_2 oclock-1.0.1 opal-2.2.11 openldap-client-2.4.11 openoffice.org-2.4.1_2 openslp-1.2.1_3 orca-2.22.3 p5-Archive-Zip-1.26 p5-Authen-SASL-2.12 p5-Compress-Raw-Zlib-2.015 p5-Compress-Zlib-2.015 p5-Digest-1.15_1 p5-Digest-HMAC-1.01 p5-Digest-MD5-2.36_1 p5-Digest-SHA1-2.11 p5-File-Temp-0.20 p5-File-Which-0.05 p5-GSSAPI-0.26 p5-HTML-Parser-3.56_1 p5-HTML-Tagset-3.20 p5-HTML-Tree-3.23 p5-IO-Compress-Base-2.015 p5-IO-Compress-Zlib-2.015 p5-MIME-Base64-3.07 p5-Net-1.22_1,1 p5-Net-DBus-0.33.6 p5-PathTools-3.2701 p5-Text-Iconv-1.7 p5-Tie-IxHash-1.21 p5-Time-HiRes-1.9715,1 p5-URI-1.37 p5-XML-Filter-BufferText-1.01 p5-XML-Grove-0.46.a p5-XML-Handler-YAWriter-0.23 p5-XML-NamespaceSupport-1.09_1 p5-XML-Parser-2.36 p5-XML-SAX-0.96 p5-XML-SAX-Expat-0.40 p5-XML-SAX-Writer-0.50 p5-XML-Simple-2.18 p5-XML-Twig-3.32 p5-XML-XPath-1.13 p5-gettext-1.05_2 p5-libwww-5.819 p5-libxml-0.08 p7zip-4.58 pam_helper-1.0 pango-1.20.5 paq-8.o9_4 patch-2.5.4 pbzip2-1.0.2.0.2_1 pciids-20081012 pcre-7.8 perl-5.8.8_1 pigz-1.7 pilot-link-0.12.2,1 pixman-0.10.0_2 pkg-config-0.23_1 png-1.2.32 policykit-0.9_1 policykit-gnome-0.9 poppler-0.8.7_1 poppler-data-0.2.0 poppler-gtk-0.8.7 poppler-qt-0.8.7 popt-1.7_5 portaudio-18.1_2 portupgrade-2.4.6,2 postgresql-client-8.2.9 postgresql-libpqxx-2.6.9_1 ppmd-20050811 ppmd-7z-4.58 printproto-1.0.3 psiconv-0.9.8_1 pstree-2.32 pth-2.0.7 pwlib-1.12.0_3,1 py25-cairo-1.6.4 py25-dbus-0.83.0_1 py25-elementtree-1.2.6 py25-gdata-1.2.2 py25-gnome-2.22.1 py25-gnome-desktop-2.22.0_1 py25-gobject-2.14.2_2 py25-gstreamer-0.10.12 py25-gtk-2.12.1_1 py25-gtksourceview-2.2.0_1 py25-libxml2-2.6.32 py25-numeric-24.2_2 py25-orbit-2.14.3_1 python25-2.5.2_3 qt-3.3.8_9 randrproto-1.2.1 rarian-0.8.1 recordproto-1.13.2 renderproto-0.9.3 resourceproto-1.0.2 rgb-1.0.1 rstart-1.0.2 ruby-1.8.6.287,1 ruby18-bdb-0.6.4 ruby18-deplate-0.8.4 rzip-2.1 samba-libsmbclient-3.0.32_1 scripts-1.0.1 scrnsaverproto-1.1.0 sdl-1.2.13_2,2 sdocbook-xml-1.1,1 seahorse-2.22.3 sessreg-1.0.3 setxkbmap-1.0.4 shared-mime-info-0.51 showfont-1.0.1_1 smartmontools-5.38 smproxy-1.0.2 sound-juicer-2.22.0_4 speex-1.2.r1_1,1 startup-notification-0.9_2 subversion-1.5.4_2 swfdec-0.6.8 swfdec-gnome-2.22.2_1 system-tools-backends-2.6.0_1 szip-1.12b_2 taglib-1.5 texi2html-1.76_1,1 tidy-lib-080621.c tiff-3.8.2_2 totem-2.22.2_2 totem-pl-parser-2.22.3_1 trapproto-3.4.3 twm-1.0.3_3 ucl-1.03_1 unzip-5.52_5 urlview-0.9_2 v4l_compat-1.0.20060801 videoproto-2.2.2 viewres-1.0.1 vinagre-0.5.1_2 vino-2.22.2_2 vorbis-tools-1.2.0_3,3 vte-0.16.14_1 wget-1.11.2_1 wv-1.2.4_2 wv2-0.2.3_2 x11perf-1.4.1 x264-0.0.20080409_2 xauth-1.0.2 xbacklight-1.1 xbiff-1.0.1 xbitmaps-1.0.1 xcalc-1.0.2 xcb-proto-1.2 xcb-util-0.2.1 xchat-2.8.6_1 xclipboard-1.0.1 xclock-1.0.3 xcmiscproto-1.1.2 xcmsdb-1.0.1 xconsole-1.0.3 xcursor-themes-1.0.1_1 xcursorgen-1.0.2 xdbedizzy-1.0.2 xditview-1.0.1 xdm-1.1.6_3 xdpyinfo-1.0.2_1 xdriinfo-1.0.2 xedit-1.0.2 xev-1.0.2 xextproto-7.0.2 xeyes-1.0.1 xf86-input-keyboard-1.2.2_2 xf86-input-mouse-1.2.3_2 xf86-video-ati-6.9.0 xf86-video-intel-2.4.2 xf86-video-mach64-6.8.0 xf86-video-nv-2.1.12 xf86-video-r128-6.8.0 xf86-video-radeonhd-1.2.1_2 xf86-video-vesa-1.3.0_2 xf86-video-vga-4.1.0_2 xf86-video-via-0.2.2_3 xf86bigfontproto-1.1.2 xf86dga-1.0.2 xf86dgaproto-2.0.3 xf86driproto-2.0.3 xf86miscproto-0.9.2 xf86rushproto-1.1.2 xf86vidmodeproto-2.2.2 xfd-1.0.1 xfindproxy-1.0.1 xfontsel-1.0.2 xfs-1.0.5_1,1 xfsinfo-1.0.1 xfwp-1.0.1 xgamma-1.0.2 xgc-1.0.1 xhost-1.0.2 xineramaproto-1.1.2 xinit-1.0.7 xkbcomp-1.0.3 xkbevd-1.0.2 xkbprint-1.0.1 xkbutils-1.0.1_1 xkeyboard-config-1.4 xkill-1.0.1 xload-1.0.2 xlogo-1.0.1 xlsatoms-1.0.1 xlsclients-1.0.1 xlsfonts-1.0.2 xmag-1.0.2 xman-1.0.3 xmessage-1.0.2 xmlcatmgr-2.2 xmodmap-1.0.3 xmore-1.0.1 xorg-7.3_2 xorg-apps-7.3 xorg-cf-files-1.0.2_2 xorg-docs-1.4,1 xorg-drivers-7.3_3 xorg-fonts-100dpi-7.3 xorg-fonts-7.3_1 xorg-fonts-75dpi-7.3 xorg-fonts-cyrillic-7.3 xorg-fonts-miscbitmaps-7.3 xorg-fonts-truetype-7.3 xorg-fonts-type1-7.3 xorg-libraries-7.3_2 xorg-protos-7.3_2 xorg-server-1.4.2,1 xphelloworld-1.0.1_1 xplsprinters-1.0.1 xpr-1.0.2 xprehashprinterlist-1.0.1 xprop-1.0.3 xproto-7.0.10_1 xproxymanagementprotocol-1.0.2 xrandr-1.2.2 xrdb-1.0.4 xrefresh-1.0.2 xrx-1.0.1_1 xscreensaver-gnome-hacks-5.07 xset-1.0.3 xsetmode-1.0.0 xsetpointer-1.0.1 xsetroot-1.0.2 xsm-1.0.1 xstdcmap-1.0.1 xterm-237 xtrans-1.0.4 xtrap-1.0.2 xvid-1.1.3_1,1 xvidtune-1.0.1 xvinfo-1.0.2 xwd-1.0.1 xwininfo-1.0.3 xwud-1.0.1 yasm-0.7.2 yelp-2.22.1_1 zenity-2.22.1_1 zip-3.0 >Description: 'vmstat 1' shows my system making 117000 syscalls every other second. Removing the USB mouse causes the syscall count to drop by half. Starting the system without the USB mouse does not make the problem go away. A syscall trace shows the program attempting to set FD_CLOEXEC on every one of 11000 possible file descriptors before execing fstat. fstat then proceeds to do many more syscalls as it paws through kernel memory. This adds up to about 4% CPU usage on an otherwise idle dual-CPU machine. Personally, I'm not so perturbed by this, but this is obviously bad for laptops or performance-critical situations. I've not analyzed this further to see where all the CPU time is going, but the amount does seem excessive for what's actually being done. 1315 hald-addon-mouse-sy 1224195858.234421 RET poll 0 1315 hald-addon-mouse-sy 1224195858.234440 CALL clock_gettime(0xc,0x7fffffffe9a0) 1315 hald-addon-mouse-sy 1224195858.234447 RET clock_gettime 0 1315 hald-addon-mouse-sy 1224195858.234572 CALL writev(0x3,0x7fffffffe660,0x2) 1315 hald-addon-mouse-sy 1224195858.234592 GIO fd 3 wrote 193 bytes 0x0000 6c01 0001 1100 0000 9f94 0200 9f00 0000 0101 6f00 2200 |l.................o.".| 0x0016 0000 2f6f 7267 2f66 7265 6564 6573 6b74 6f70 2f48 616c |../org/freedesktop/Hal| 0x002c 2f64 6576 6963 6573 2f70 736d 5f30 0000 0000 0000 0601 |/devices/psm_0........| 0x0042 7300 1300 0000 6f72 672e 6672 6565 6465 736b 746f 702e |s.....org.freedesktop.| 0x0058 4861 6c00 0000 0000 0201 7300 1a00 0000 6f72 672e 6672 |Hal.......s.....org.fr| 0x006e 6565 6465 736b 746f 702e 4861 6c2e 4465 7669 6365 0000 |eedesktop.Hal.Device..| 0x0084 0000 0000 0301 7300 1100 0000 4765 7450 726f 7065 7274 |......s.....GetPropert| 0x009a 7953 7472 696e 6700 0000 0000 0000 0801 6700 0173 0000 |yString.........g..s..| 0x00b0 0c00 0000 696e 7075 742e 6465 7669 6365 00 |....input.device.| 1303 hald 1224195858.234611 RET poll 1 1315 hald-addon-mouse-sy 1224195858.234622 RET writev 193/0xc1 1303 hald 1224195858.234649 CALL gettimeofday(0x7fffffffe960,0) 1315 hald-addon-mouse-sy 1224195858.234658 CALL gettimeofday(0x7fffffffe750,0) 1303 hald 1224195858.234662 RET gettimeofday 0 1315 hald-addon-mouse-sy 1224195858.234674 RET gettimeofday 0 1315 hald-addon-mouse-sy 1224195858.234697 CALL poll(0x7fffffffe6f0,0x1,0x61a8) 1303 hald 1224195858.234711 CALL read(0x5b,0x6aa000,0x800) 1303 hald 1224195858.234727 GIO fd 91 read 193 bytes 0x0000 6c01 0001 1100 0000 9f94 0200 9f00 0000 0101 6f00 2200 |l.................o.".| 0x0016 0000 2f6f 7267 2f66 7265 6564 6573 6b74 6f70 2f48 616c |../org/freedesktop/Hal| 0x002c 2f64 6576 6963 6573 2f70 736d 5f30 0000 0000 0000 0601 |/devices/psm_0........| 0x0042 7300 1300 0000 6f72 672e 6672 6565 6465 736b 746f 702e |s.....org.freedesktop.| 0x0058 4861 6c00 0000 0000 0201 7300 1a00 0000 6f72 672e 6672 |Hal.......s.....org.fr| 0x006e 6565 6465 736b 746f 702e 4861 6c2e 4465 7669 6365 0000 |eedesktop.Hal.Device..| 0x0084 0000 0000 0301 7300 1100 0000 4765 7450 726f 7065 7274 |......s.....GetPropert| 0x009a 7953 7472 696e 6700 0000 0000 0000 0801 6700 0173 0000 |yString.........g..s..| 0x00b0 0c00 0000 696e 7075 742e 6465 7669 6365 00 |....input.device.| 1303 hald 1224195858.234734 RET read 193/0xc1 1303 hald 1224195858.234799 CALL read(0x5b,0x6aa000,0x800) 1303 hald 1224195858.234808 RET read -1 errno 35 Resource temporarily unavailable 1303 hald 1224195858.234827 CALL gettimeofday(0x7fffffffe940,0) 1303 hald 1224195858.234836 RET gettimeofday 0 1303 hald 1224195858.234846 CALL poll(0x648860,0xc,0) 1303 hald 1224195858.234858 RET poll 0 1303 hald 1224195858.234966 CALL writev(0x5b,0x7fffffffe430,0x2) 1303 hald 1224195858.234987 GIO fd 91 wrote 50 bytes 0x0000 6c02 0101 1200 0000 9f94 0200 0f00 0000 0501 7500 9f94 |l.................u...| 0x0016 0200 0801 6700 0173 0000 0d00 0000 2f64 6576 2f73 7973 |....g..s....../dev/sys| 0x002c 6d6f 7573 6500 |mouse.| 1315 hald-addon-mouse-sy 1224195858.234989 RET poll 1 1303 hald 1224195858.234997 RET writev 50/0x32 1315 hald-addon-mouse-sy 1224195858.235016 CALL read(0x3,0x639000,0x800) 1315 hald-addon-mouse-sy 1224195858.235038 GIO fd 3 read 50 bytes 0x0000 6c02 0101 1200 0000 9f94 0200 0f00 0000 0501 7500 9f94 |l.................u...| 0x0016 0200 0801 6700 0173 0000 0d00 0000 2f64 6576 2f73 7973 |....g..s....../dev/sys| 0x002c 6d6f 7573 6500 |mouse.| 1303 hald 1224195858.235041 CALL gettimeofday(0x7fffffffe940,0) 1315 hald-addon-mouse-sy 1224195858.235049 RET read 50/0x32 1303 hald 1224195858.235082 RET gettimeofday 0 1303 hald 1224195858.235109 CALL poll(0x648860,0xc,0x44) 1315 hald-addon-mouse-sy 1224195858.235126 CALL read(0x3,0x639000,0x800) 1315 hald-addon-mouse-sy 1224195858.235139 RET read -1 errno 35 Resource temporarily unavailable 1315 hald-addon-mouse-sy 1224195858.235203 CALL pipe 1315 hald-addon-mouse-sy 1224195858.235224 RET pipe 4 1315 hald-addon-mouse-sy 1224195858.235232 CALL pipe 1315 hald-addon-mouse-sy 1224195858.235245 RET pipe 6 1315 hald-addon-mouse-sy 1224195858.235253 CALL sigprocmask(SIG_BLOCK,0x7fffffffe620,0x602250) 1315 hald-addon-mouse-sy 1224195858.235261 RET sigprocmask 0 1315 hald-addon-mouse-sy 1224195858.235267 CALL fork 1315 hald-addon-mouse-sy 1224195858.235667 RET fork 78466/0x13282 78466 hald-addon-mouse-sy 1224195858.235670 RET fork 0 1315 hald-addon-mouse-sy 1224195858.235731 CALL sigprocmask(SIG_SETMASK,0x602250,0) 1315 hald-addon-mouse-sy 1224195858.235743 RET sigprocmask 0 78466 hald-addon-mouse-sy 1224195858.235765 CALL thr_self(0x602180) 78466 hald-addon-mouse-sy 1224195858.235777 RET thr_self 0 1315 hald-addon-mouse-sy 1224195858.235779 CALL close(0x5) 1315 hald-addon-mouse-sy 1224195858.235804 RET close 0 1315 hald-addon-mouse-sy 1224195858.235812 CALL close(0x7) 1315 hald-addon-mouse-sy 1224195858.235821 RET close 0 1315 hald-addon-mouse-sy 1224195858.235830 CALL read(0x4,0x7fffffffe710,0x8) 78466 hald-addon-mouse-sy 1224195858.235841 CALL getpid 78466 hald-addon-mouse-sy 1224195858.235852 RET getpid 78466/0x13282 78466 hald-addon-mouse-sy 1224195858.235890 CALL sysarch(0x81,0x7fffffffe5e0) 78466 hald-addon-mouse-sy 1224195858.235899 RET sysarch 0 78466 hald-addon-mouse-sy 1224195858.235908 CALL sigprocmask(SIG_SETMASK,0x602250,0) 78466 hald-addon-mouse-sy 1224195858.235930 RET sigprocmask 0 78466 hald-addon-mouse-sy 1224195858.236020 CALL sigaction(SIGPIPE,0x7fffffffe630,0x7fffffffe610) 78466 hald-addon-mouse-sy 1224195858.236031 RET sigaction 0 78466 hald-addon-mouse-sy 1224195858.236040 CALL close(0x4) 78466 hald-addon-mouse-sy 1224195858.236051 RET close 0 78466 hald-addon-mouse-sy 1224195858.236058 CALL close(0x6) 78466 hald-addon-mouse-sy 1224195858.236067 RET close 0 78466 hald-addon-mouse-sy 1224195858.236119 CALL getrlimit(RLIMIT_NOFILE,0x7fffffffe610) 78466 hald-addon-mouse-sy 1224195858.236128 RET getrlimit 0 78466 hald-addon-mouse-sy 1224195858.236147 CALL fcntl(0x3,F_SETFD,FD_CLOEXEC) 78466 hald-addon-mouse-sy 1224195858.236157 RET fcntl 0 78466 hald-addon-mouse-sy 1224195858.236164 CALL fcntl(0x4,F_SETFD,FD_CLOEXEC) 78466 hald-addon-mouse-sy 1224195858.236171 RET fcntl -1 errno 9 Bad file descriptor 78466 hald-addon-mouse-sy 1224195858.236179 CALL fcntl(0x5,F_SETFD,FD_CLOEXEC) 78466 hald-addon-mouse-sy 1224195858.236187 RET fcntl 0 78466 hald-addon-mouse-sy 1224195858.236195 CALL fcntl(0x6,F_SETFD,FD_CLOEXEC) 78466 hald-addon-mouse-sy 1224195858.236202 RET fcntl -1 errno 9 Bad file descriptor 78466 hald-addon-mouse-sy 1224195858.236209 CALL fcntl(0x7,F_SETFD,FD_CLOEXEC) 78466 hald-addon-mouse-sy 1224195858.236216 RET fcntl 0 78466 hald-addon-mouse-sy 1224195858.236224 CALL fcntl(0x8,F_SETFD,FD_CLOEXEC) 78466 hald-addon-mouse-sy 1224195858.236231 RET fcntl -1 errno 9 Bad file descriptor 78466 hald-addon-mouse-sy 1224195858.236238 CALL fcntl(0x9,F_SETFD,FD_CLOEXEC) 78466 hald-addon-mouse-sy 1224195858.236245 RET fcntl -1 errno 9 Bad file descriptor 78466 hald-addon-mouse-sy 1224195858.236252 CALL fcntl(0xa,F_SETFD,FD_CLOEXEC) 78466 hald-addon-mouse-sy 1224195858.236260 RET fcntl -1 errno 9 Bad file descriptor 78466 hald-addon-mouse-sy 1224195858.236267 CALL fcntl(0xb,F_SETFD,FD_CLOEXEC) 78466 hald-addon-mouse-sy 1224195858.236287 RET fcntl -1 errno 9 Bad file descriptor [...] 78466 hald-addon-mouse-sy 1224195858.602521 CALL fcntl(0x2b55,F_SETFD,FD_CLOEXEC) 78467 hald-addon-mouse-sy 1224195858.602529 CALL fcntl(0x1737,F_SETFD,FD_CLOEXEC) 78466 hald-addon-mouse-sy 1224195858.602536 RET fcntl -1 errno 9 Bad file descriptor 78467 hald-addon-mouse-sy 1224195858.602545 RET fcntl -1 errno 9 Bad file descriptor 78466 hald-addon-mouse-sy 1224195858.602553 CALL fcntl(0x2b56,F_SETFD,FD_CLOEXEC) 78467 hald-addon-mouse-sy 1224195858.602561 CALL fcntl(0x1738,F_SETFD,FD_CLOEXEC) 78466 hald-addon-mouse-sy 1224195858.602569 RET fcntl -1 errno 9 Bad file descriptor 78467 hald-addon-mouse-sy 1224195858.602577 RET fcntl -1 errno 9 Bad file descriptor 78467 hald-addon-mouse-sy 1224195858.602592 CALL fcntl(0x1739,F_SETFD,FD_CLOEXEC) 78467 hald-addon-mouse-sy 1224195858.602597 RET fcntl -1 errno 9 Bad file descriptor 78467 hald-addon-mouse-sy 1224195858.602602 CALL fcntl(0x173a,F_SETFD,FD_CLOEXEC) 78466 hald-addon-mouse-sy 1224195858.602604 CALL open(0x8006aa71f,O_RDONLY,0) 78467 hald-addon-mouse-sy 1224195858.602609 RET fcntl -1 errno 9 Bad file descriptor 78466 hald-addon-mouse-sy 1224195858.602623 NAMI "/dev/null" 78467 hald-addon-mouse-sy 1224195858.602626 CALL fcntl(0x173b,F_SETFD,FD_CLOEXEC) 78467 hald-addon-mouse-sy 1224195858.602640 RET fcntl -1 errno 9 Bad file descriptor 78467 hald-addon-mouse-sy 1224195858.602645 CALL fcntl(0x173c,F_SETFD,FD_CLOEXEC) 78467 hald-addon-mouse-sy 1224195858.602650 RET fcntl -1 errno 9 Bad file descriptor 78466 hald-addon-mouse-sy 1224195858.602653 RET open 4 78467 hald-addon-mouse-sy 1224195858.602655 CALL fcntl(0x173d,F_SETFD,FD_CLOEXEC) 78466 hald-addon-mouse-sy 1224195858.602669 CALL dup2(0x4,0) 78467 hald-addon-mouse-sy 1224195858.602671 RET fcntl -1 errno 9 Bad file descriptor 78466 hald-addon-mouse-sy 1224195858.602680 RET dup2 0 78467 hald-addon-mouse-sy 1224195858.602687 CALL fcntl(0x173e,F_SETFD,FD_CLOEXEC) 78466 hald-addon-mouse-sy 1224195858.602696 CALL close(0x4) 78467 hald-addon-mouse-sy 1224195858.602702 RET fcntl -1 errno 9 Bad file descriptor 78466 hald-addon-mouse-sy 1224195858.602712 RET close 0 78467 hald-addon-mouse-sy 1224195858.602720 CALL fcntl(0x173f,F_SETFD,FD_CLOEXEC) 78466 hald-addon-mouse-sy 1224195858.602728 CALL dup2(0x7,0x1) 78467 hald-addon-mouse-sy 1224195858.602735 RET fcntl -1 errno 9 Bad file descriptor 78466 hald-addon-mouse-sy 1224195858.602743 RET dup2 1 78467 hald-addon-mouse-sy 1224195858.602751 CALL fcntl(0x1740,F_SETFD,FD_CLOEXEC) 78466 hald-addon-mouse-sy 1224195858.602759 CALL close(0x7) 78467 hald-addon-mouse-sy 1224195858.602766 RET fcntl -1 errno 9 Bad file descriptor 78466 hald-addon-mouse-sy 1224195858.602774 RET close 0 78467 hald-addon-mouse-sy 1224195858.602783 CALL fcntl(0x1741,F_SETFD,FD_CLOEXEC) 78467 hald-addon-mouse-sy 1224195858.602797 RET fcntl -1 errno 9 Bad file descriptor 78467 hald-addon-mouse-sy 1224195858.602803 CALL fcntl(0x1742,F_SETFD,FD_CLOEXEC) 78467 hald-addon-mouse-sy 1224195858.602807 RET fcntl -1 errno 9 Bad file descriptor 78467 hald-addon-mouse-sy 1224195858.602812 CALL fcntl(0x1743,F_SETFD,FD_CLOEXEC) 78467 hald-addon-mouse-sy 1224195858.602817 RET fcntl -1 errno 9 Bad file descriptor 78467 hald-addon-mouse-sy 1224195858.602822 CALL fcntl(0x1744,F_SETFD,FD_CLOEXEC) 78466 hald-addon-mouse-sy 1224195858.602826 CALL execve(0x638080,0x6100a0,0x7fffffffea38) 78467 hald-addon-mouse-sy 1224195858.602827 RET fcntl -1 errno 9 Bad file descriptor 78467 hald-addon-mouse-sy 1224195858.602843 CALL fcntl(0x1745,F_SETFD,FD_CLOEXEC) 78467 hald-addon-mouse-sy 1224195858.602849 RET fcntl -1 errno 9 Bad file descriptor 78466 hald-addon-mouse-sy 1224195858.602853 NAMI "/usr/bin/fstat" >How-To-Repeat: Install Gnome and KDE on FreeBSD 7.1-Beta2, and one or two mice as above. Boot system. Run "vmstat 1". >Fix: Something other than an expensive fork/exec every two seconds... >Release-Note: >Audit-Trail: From: linimon@lonesome.com (Mark Linimon) To: john hood Cc: FreeBSD-gnats-submit@FreeBSD.org, marcus@FreeBSD.org Subject: Re: ports/128826: hald-addon-mouse-sysmouse runs fstat to poll mice every 2s, eats CPU Date: Wed, 12 Nov 2008 14:55:21 -0600 To which port does this PR apply? From: Joe Marcus Clarke To: Mark Linimon Cc: john hood , FreeBSD-gnats-submit@FreeBSD.org Subject: Re: ports/128826: hald-addon-mouse-sysmouse runs fstat to poll mice every 2s, eats CPU Date: Wed, 12 Nov 2008 16:37:54 -0500 --=-DK10vUMwA9u3eysp4IP8 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2008-11-12 at 14:55 -0600, Mark Linimon wrote: > To which port does this PR apply? sysutils/hal Joe >=20 --=20 Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome --=-DK10vUMwA9u3eysp4IP8 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkkbTLAACgkQb2iPiv4Uz4dmNwCbBXCjoMvRgWnbXk8Akg6iAIDe sB8AoKKFnFwJyYCxa+mDjvXMtD+MFRwz =ids5 -----END PGP SIGNATURE----- --=-DK10vUMwA9u3eysp4IP8-- Responsible-Changed-From-To: freebsd-ports-bugs->gnome Responsible-Changed-By: linimon Responsible-Changed-When: Wed Nov 12 21:56:53 UTC 2008 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=128826 State-Changed-From-To: open->analyzed State-Changed-By: marcus State-Changed-When: Sat Nov 15 17:50:57 UTC 2008 State-Changed-Why: This is true, and currently, there isn't a better way to do what needs to be done. Reimplementing the KVM code from fstat is too complicated for the simple task required. I am working on an enhancement to procstat which will allow this fork/exec problem to go away. Until then, the only workaround is to have hald ignore your mouse device. http://www.freebsd.org/cgi/query-pr.cgi?pr=128826 State-Changed-From-To: analyzed->closed State-Changed-By: marcus State-Changed-When: Tue Mar 3 03:37:27 UTC 2009 State-Changed-Why: This should now be fixed in recent versions of hal. http://www.freebsd.org/cgi/query-pr.cgi?pr=128826 >Unformatted: