[Qt-interest] QSslSocket: poor throughput over long fat pipes ?
Stephen Collyer
scollyer at netspinner.co.uk
Tue Jul 28 18:11:26 CEST 2009
2009/7/27 Thiago Macieira <thiago.macieira at trolltech.com>
> Can you check if your Qt program is saturating one CPU? The Qt overhead
> would
> explain for a 3x performance drop compared to curl if the problem is CPU.
> But
> usually it isn't: the limiting factor is bandwidth and Qt should reach the
> bandwidth limit.
I've identified what may be the problem in my code, but have not
yet had the opportunity to try it out on a faster network. I have
logging statements in the code which should have been compiled
out, but weren't (due to a screwup in a #define) and I've been measuring
with logging statements present. When I correct this, via 127.0.0.1,
I get a speed-up of ~5x so I'm hopeful that this is the problem.
(I get about 35MB/s though - what machine are you running on to give
you 600MB/s ?)
--
Stephen Collyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090728/0408ee0b/attachment.html
More information about the Qt-interest-old
mailing list