Em Sunday, 5 de June de 2011, às 14:38:07, tushar mehta escreveu:
> But the problem is that even if KIO is filling up the kernel buffer at some
> rate
> but the application is not reading that data at same rate. Then situation
> will remain same.
>
> Just a thought, it can be wrong also.

It is wrong.

The chain is as fast as the slowest link. So if the ioslave is reading at 60
kB/s from the network and writing that much into the kernel buffer, but the
application is only reading at 4 kB/s, the kernel buffer will grow in size. It
will grow until that buffer reaches its limit, at which point the ioslave will
no longer be able to write. It will block until the application reads a chunk
of data.

After that point in time, the ioslave's rate will be limited by the
application's read rate.

--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

Attachment: signature.asc
Description: This is a digitally signed message part.

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to