Hello community, here is the log from the commit of package irqbalance checked in at Wed May 3 14:05:41 CEST 2006. -------- --- irqbalance/irqbalance.changes 2006-02-09 00:20:51.000000000 +0100 +++ STABLE/irqbalance/irqbalance.changes 2006-05-03 13:39:31.000000000 +0200 @@ -1,0 +2,6 @@ +Wed May 3 13:37:34 CEST 2006 - sf@suse.de + +- modified startscript to start irqbalancing only on real SMP + machines (multisocket) (bug #171500) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ irqbalance.spec ++++++ --- /var/tmp/diff_new_pack.MhYpI1/_old 2006-05-03 14:04:07.000000000 +0200 +++ /var/tmp/diff_new_pack.MhYpI1/_new 2006-05-03 14:04:07.000000000 +0200 @@ -16,7 +16,7 @@ Autoreqprov: on PreReq: %insserv_prereq Version: 0.09 -Release: 45 +Release: 56 Summary: Balance IRQs on SMP Machines Source: %{name}-%{version}.tar.gz Source2: irq_balancer @@ -71,6 +71,9 @@ /usr/share/man/*/* %changelog -n irqbalance +* Wed May 03 2006 - sf@suse.de +- modified startscript to start irqbalancing only on real SMP + machines (multisocket) (bug #171500) * Thu Feb 09 2006 - ak@suse.de - increase max number of cpus to 128 (#146945) - install manpage ++++++ irq_balancer ++++++ --- irqbalance/irq_balancer 2006-02-09 00:20:51.000000000 +0100 +++ STABLE/irqbalance/irq_balancer 2006-05-03 10:53:59.000000000 +0200 @@ -27,6 +27,9 @@ IRQBALANCE_BIN=/usr/sbin/irqbalance test -x $IRQBALANCE_BIN || exit 5 NUM_CPU=`/usr/bin/getconf _NPROCESSORS_ONLN` +PHYS=$(grep "physical id" /proc/cpuinfo | sort | uniq | wc -l) +PROC=$(grep -c processor /proc/cpuinfo) + . /etc/rc.status # Reset status of this service @@ -35,9 +38,8 @@ case "$1" in start) echo -n "Starting irqbalance " - if [ "$NUM_CPU" -gt 1 ] ; then + if [ $PHYS -gt 1 -o \( $PROC -gt 1 -a $PHYS -eq 0 \) ] ; then startproc $IRQBALANCE_BIN - # Remember status and be verbose rc_status -v else @@ -66,8 +68,8 @@ ;; force-reload|reload) echo -n "Reload service irqbalance " - if [ "$NUM_CPU" -gt 1 ] ; then - ## if it supports it: + if [ $PHYS -gt 1 -o \( $PROC -gt 1 -a $PHYS -eq 0 \) ] ; then + ## if it supports it: killproc -HUP $IRQBALANCE_BIN #touch /var/run/irqbalance.pid rc_status -v ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...