curl-library
Re: Performance on LINUX
Date: Thu, 21 Oct 2004 16:05:02 +0100
Hi,
We're building the same kind of application with libcurl under linux too. In
fact this application has already a version using curl (spawn a new process
execing curl executable) that we used a lot and worked fine.
Of course the point now is to use libcurl "internally". The code is "beta"
and I'll do asap some stress test of this new version but as far as I tried
for the moment I didnt experience the same kind of problems.
I'm under redhat 9 or fedora core 1, curl 7.12+, c-ares, openssl 0.9.7d.
I would suspect that your linux box is not properly configured at the
network level.
1) If you want I will let you know as soon as I run some stress test using
libcurl if I have the same problems.
2) We may encounter the same kind of problems, I will be interested by
sharing any issues you or us may encounter related to the use of libcurl
(not only because of libcurl I mean :) )
3) Try to give here more information. Did you try manually the curl command
line version (you can have information on timings as well with the right
options) and check the results ?
Example :
curl -w"\n%{time_namelookup}|%{time_connect}|%{time_total}|%{http_code}\n" -
-connect-timeout 30 -m 120 ... filename
____________________
<Gu>[W]ill[i]a<u>m<e>
http://www.lacde.net
----- Original Message -----
From: "Michael Mastroianni" <MMastroianni_at_choicestream.com>
To: "libcurl development" <curl-library_at_cool.haxx.se>
Sent: Thursday, October 21, 2004 2:54 PM
Subject: Performance on LINUX
> Hi-- I've been using libcurl in a multi-threaded spidering app for many
> months now. I need to start running it on LINUX, but I seem to be
> experiencing _extreme_ performance degradation on LINUX-- downloads that
> take 50 ms on windows are taking many seconds on LINUX.
>
> I'm assuming that I've configured something wrong. Does anyone have any
> advice?
>
> (btw, I'm using ares for dns lookups, and I'm using version 7.12.1)
>
> Any help would be greatly appreciated
>
>
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.764 / Virus Database: 511 - Release Date: 15/09/2004Received on 2004-10-21