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

List:       kde-core-devel
Subject:    Re: KIOSlaves
From:       Waldo Bastian <bastian () suse ! de>
Date:       2000-01-20 22:16:30
[Download RAW message or body]

On Thu, 20 Jan 2000, Stephan Kulow wrote:

> > Does Lars has an idea how to implement this? I can imaging two
> > ways: * Queue requests without actually starting them before all
> > higher priority requests have been finished. (This is easy)
> > * Throttle, e.g. tell an IO-slave not to receive any data or to
> > receive not more than XX bytes/sec. (This sounds difficult)
>
> Yes, we queue them and start a timer to actually schedule them. If we
> start, we know how many jobs we have to work on, how many connections
> we can open at the same time and which priorities we have to care of.
> This should be quite copy&paste from a SMP unix kernel ;-)

I suggest to default to use 1 slave per host/protocol until the slave 
indicates that a higher number of connections are allowed in paralel.

Cheers,
Waldo

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

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