On 11/15, Mark Rivers wrote:
> Thanks for the suggestion. Now things get REALLY weird.
Indeed. :-)
> I did what you said, and ran curl with --libcurl. I timed the command:
[snip]
> The performance was the same, 0.33 seconds, much slower than running the curl command itself!
Strange. Other things you could try:
1. Run curl and curl_gen under strace (e.g., "strace -CftT -s 256
<command>") and see if you can tell where curl_gen is taking longer
than curl.
2. Check the compiler optimization level curl_gen is compiled at just
in case it's weak compared to what I presume the curl executable was
compiled at. (I doubt this is the cause.)
3. Check the ldd output for curl, libcurl.so, and curl_gen for anything
that looks suspicious. Make sure curl_gen is not linked against
libgnutls.
4. You usually build EPICS and modules from an NFS file system,
right? Is that the case here? If so, try copying curl_gen (and any
dependencies) to a non-network file system and running it there.
Lewis
- Replies:
- RE: Uploading a file with SFTP from an EPICS driver Mark Rivers via Tech-talk
- References:
- Uploading a file with SFTP from an EPICS driver Mark Rivers via Tech-talk
- Re: Uploading a file with SFTP from an EPICS driver J. Lewis Muir via Tech-talk
- RE: Uploading a file with SFTP from an EPICS driver Mark Rivers via Tech-talk
- Navigate by Date:
- Prev:
Re: EPICS_AR_PORT Jeong Han Lee via Tech-talk
- Next:
Re: EPICS_AR_PORT Johnson, Andrew N. via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
<2019>
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: Uploading a file with SFTP from an EPICS driver Mark Rivers via Tech-talk
- Next:
RE: Uploading a file with SFTP from an EPICS driver Mark Rivers via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
<2019>
2020
2021
2022
2023
2024
|