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

List:       kde-bugs-dist
Subject:    [Bug 156259] Downloads in Kget & Konqueror regulary stall
From:       Maksim Orlovich <maksim () kde ! org>
Date:       2008-01-21 20:42:17
Message-ID: 20080121204217.25154.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=156259         




------- Additional Comments From maksim kde org  2008-01-21 21:42 -------
Created an attachment (id=23182)
 --> (http://bugs.kde.org/attachment.cgi?id=23182&action=view)
initial patch

OK, this avoids stalls, but the throughput is subpar, seemingly capping out at
~1.6MiB/sec.

This does:
1. Always re-enables socket notifiers when resuming the backend connection
2. Uses the proper length when computing whether there is an another complete
thing to read -- if we are waiting for payload, HeaderSize bytes is useless.
3. Does multiple reads immediately in a loop. 
w/o (3) throughput is pathetic, as the client can't keep up with the slave.
[prev in list] [next in list] [prev in thread] [next in thread] 

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