[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Bug#4874: Bug#4784: Busy ioslaves pause konq
From:       David Faure <david () mandrakesoft ! com>
Date:       2000-06-24 23:57:24
[Download RAW message or body]

On Sat, Jun 24, 2000 at 04:17:01PM -0700, Charles wrote:
> On Sat, 24 Jun 2000, you wrote:
> > On Sun, Jun 11, 2000 at 12:35:09PM -0700, Charles wrote:
> > > Package: konqueror
> > > Version: 1.9.2 (KDE 1.91 Beta >= 20000608)
> > > Severity: grave
> > > 
> > > Right click on a big directory.
> > > 
> > > It'l get the size of every file. meanwhile, try to change the icon for that
> > > directory.  it'l scan the icons _really_ slowly as it searches around the drive
> > > for the files
> > 
> > And ? What do you suggest ?
> Fixing that.
Well the directory size determination may be too CPU intensive (if I compare
to window's). 

In fact what happens is that listRecursive, which is what both the directory
size determination and the "copy/move" code use, spawns many jobs in parallel.

I tried opening on '/' (!) and I had 40 jobs registered at some point.
What limits the number of slaves (processes) running at the same time for a
recursive listing is the scheduler, which limits to 5 per protocol. 
Maybe that's too much ?
Simply reducing the number of slaves running in parallel would help, to use less CPU.

> And perhaps "throttle" the kioslaves according to the one that needs it speed
> most.
That would be the alternative, but more complex.
And for this particular case, since the icon dialog doesn't use KIO,
it doesn't help to have priorities between slaves.
But being able to say "this list-recursive job should only use 3 slaves"
instead of a global limitation would be nice, indeed.
Waldo ? Does this make sense ?

> And maybe making many more dialog boxes modaless so you can (cough) terminate
> the properties box.  Way not enough dialog boxes are modaless.

And you would get an icon choosing dialog for a closed properties dialog ?
Wouldn't make much sense imho.

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today
See http://www.kde.org/kde1-and-kde2.html for how to set up KDE 2

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic