smart gui puts high load on X server when downloading

Bug #245607 reported by Rehan Khan
4
Affects Status Importance Assigned to Milestone
Smart Package Manager
New
Medium
Unassigned

Bug Description

Imported: http://tracker.labix.org/issue285

Reason: Request Review

further details: https://blueprints.launchpad.net/smart/+spec/bug-reporting-migration

msg1085 (view) Author: roman Date: 2007-02-01.21:01:14

Running smart --gui puts a load of more than 30% CPU on a 500MHz Pentium while
downloading packages. The application using that CPU is the X server, the load
is probably caused by the progress bar updates.

The traffic to the X server at that moment is more than 300 KiB/s.

This does not seem a lot, but when I update a few client boxes at the same time
using the gui, this quickly adds up, even on faster machines than mine. So it's
not really a bug, but it would be nice to have that "problem" solved.

Rehan Khan (rasker)
Changed in smart:
importance: Undecided → Medium
Revision history for this message
andy_js (andyjstormont) wrote :

I'm getting:

smart: Fatal IO error 11 (Resource temporarily unavailable) on X server :0:0.

at random occasions, the two could be related?

Revision history for this message
Glenn D. (doiggl-hotmail) wrote :

unsure if related --Glenn
not using gui for this run.

 # smart upgrade
sends 1 core of a cpu to 99 %

top - 19:08:33 up 3:57, 4 users, load average: 1.91, 1.89, 1.93
Tasks: 159 total, 4 running, 154 sleeping, 0 stopped, 1 zombie
%Cpu(s): 55.1 us, 5.8 sy, 0.0 ni, 39.1 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 7934172 total, 3704312 used, 4229860 free, 80492 buffers
KiB Swap: 2462716 total, 0 used, 2462716 free, 2300428 cached

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
 5729 root 20 0 591680 428424 6640 R 99.90 5.400 82:41.49 smart
 1247 mysql 20 0 830100 93416 7656 S 38.96 1.177 88:28.70 mysqld
 8068 wwwrun 20 0 87600 18780 8876 S 34.17 0.237 1:13.51 php
 1003 root 20 0 328280 87996 44404 R 4.995 1.109 21:56.26 Xorg
 1688 root 20 0 2880884 99608 50552 S 2.531 1.255 8:05.25 kwin
 4964 root 20 0 480528 29140 18044 S 2.065 0.367 0:24.35 konsole

# rpm -qa | grep -i smart | sort

smart-1.4.1-19.6.x86_64
smart-gui-gtk-1.4.1-19.6.x86_64
smart-ksmarttray-1.4.1-19.6.x86_64

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.