From: SourceForge.net <no...@so...> - 2010-12-20 20:06:51
|
Support Requests item #3135180, was opened at 2010-12-11 19:48 Message generated for change (Comment added) made by fabiankeil You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=211118&aid=3135180&group_id=11118 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: other Group: 3.0.x Status: Pending Priority: 5 Private: No Submitted By: OpusOne (krg1757) Assigned to: Fabian Keil (fabiankeil) Summary: Low performance while streaming Initial Comment: Hi, Been using Privoxy for a while and love it. Only one problem I've had, though, and this is that any kind of stream - any embedded video, for example - loads very slowly with Privoxy. I've been running some speed tests, and if I bypass Privoxy, I generally get 10+ Mbps and quite often more like 15. If I route traffic through Privoxy - whether it is enabled or not - I see around 5Mbps max. The machine I'm running Privoxy on is a Core Duo 1.66GHz with 2GB RAM; it ought not be the limiting factor. I haven't messed much with the Privoxy settings yet; it's using the default buffer-size and is not set to run only in a single thread. I've verified this with Privoxy 3.0.16 and 3.0.17 on Windows, 3.0.16 on Ubuntu Server 10.10. Any idea if this is something that could be resolved with configuration, or is this a limitation of Privoxy itself? I don't think I can live without Privoxy any more, but it is a pain to have to change proxy settings to be able to stream something of 720p quality or higher. Tech details: 1.66GHz Core Duo; 2GB RAM; WinXP Home; Ubuntu Server 10.10 (virtualized); using a software firewall; have used Polipo chained to Privoxy but that doesn't affect the issue; tested with Firefox 3.6.12, Chrome 9.x and 10.x, Internet Explorer 8. Thanks! ---------------------------------------------------------------------- >Comment By: Fabian Keil (fabiankeil) Date: 2010-12-20 20:06 Message: Thanks for the additional information. Looking at the log it seems to me that you are measuring the upload performance, not the download performance. Is your use case really streaming from the client to the server, not the other way around? Anyway, I still think the limit you are hitting is more likely in your TCP settings than in Privoxy itself. Given that you already have Polipo installed anyway, can you repeat the tests with Polipo instead of Privoxy? ---------------------------------------------------------------------- Comment By: OpusOne (krg1757) Date: 2010-12-20 00:41 Message: Just an update, with some more scientific results than "it seems noticeably faster/slower." All I did was grab some screen captures of the network activity while doing a Speakeasy speed-test with a nearby server. Three images: Privoxy enabled, Privoxy disabled, and not routing traffic through Privoxy. This was done in Chrome 10.0.614.0, using Privoxy 3.0.17 for Windows on WinXP. Comodo Firewall is in there as well. I did test without the firewall running with traffic routed through Privoxy, and found no difference. I'll try it on some streaming video or something later, perhaps, but this should explain what I'm seeing pretty clearly. Thanks again! ---------------------------------------------------------------------- Comment By: OpusOne (krg1757) Date: 2010-12-12 15:30 Message: I took a look through the config and made sure everything looked as close to default as reasonable. I upped the buffer-size per the thread you linked, though am unsure if it is the same buffer as mentioned. I've been measuring transfer speeds by using standard (flash-based) tests, in particular, speakeasy.net/speedtest. I use the nearest server. Not the most scientific, to be sure, but gives consistent results, and mimics my real-world issues with streaming through flash. The two logs that are attached are two such runs, one with Privoxy enabled, the other disabled, with the debug settings given in the other link you provided. Traffic is being routed through a software firewall, but I've tried with and without it - no difference. It was enabled during these tests. In each case, download was around 5Mbps and up just shy of 1Mbps. I haven't gone poking though TCP settings yet, though I may try later. Just wonder what a chore that will end up being, as I'm connecting out through a friend's Apple wireless router which I don't have control of. ---------------------------------------------------------------------- Comment By: Fabian Keil (fabiankeil) Date: 2010-12-12 10:49 Message: Thanks for the report. Please reproduce the problem with the debug settings described at: http://www.privoxy.org/user-manual/contact.html#CONTACT-BUGS attach the logfile, and describe how you are measuring the bandwidth. This isn't a known Privoxy limitation, please have a look at http://sourceforge.net/mailarchive/message.php?msg_id=23602205 for measurements done on a slightly more powerful CPU and some TCP parameters you could mess with. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=211118&aid=3135180&group_id=11118 |