From kde-core-devel Mon Aug 17 08:09:53 2009 From: Thiago Macieira Date: Mon, 17 Aug 2009 08:09:53 +0000 To: kde-core-devel Subject: Re: Patch KIO::AccessManager Message-Id: <200908171010.00644.thiago () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=125049668324224 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart6061857.gGI2OPVRs8" --nextPart6061857.gGI2OPVRs8 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Em Domingo 16 Agosto 2009, =E0s 14:31:01, Dawit A. escreveu: > The attached patch changes KIO::AccessManager to schedule all the job > requests it receives to prevent the explosion of kio_http process that can > get spawned when many requests are made by an application all at once, e.= g. > rendering any moderately complex site. > > You can easily see this by using the webkitpart in Konqueror and visiting > any moderately complex site. For example, before the patch visiting > qt.nokia.com/developer spawns 21 kio_http processes where as only 2 are > spawned with the patch. Actually the scheduler always seems to spawn only= 2 > processes per site. That's how it should be. I'm wondering why the explicitly scheduling is=20 necessary. Shouldn't all jobs be scheduled by default in KIO? =2D-=20 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 Qt Developer Days 2009 | Registration Now Open! Munich, Germany: Oct 12 - 14 San Francisco, California: Nov 2 - 4 http://qt.nokia.com/qtdevdays2009 --nextPart6061857.gGI2OPVRs8 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBKiRBRM/XwBW70U1gRAlrlAKCvvyx5pTIqsQOBWzVqSjQADgjzCwCcDg/z SRiDPUrzJHNC+Rf8ZEbK8Zk= =VIsb -----END PGP SIGNATURE----- --nextPart6061857.gGI2OPVRs8--