[tahoe-dev] oprofile on http://webapi.allmydata.com
zooko
zooko at zooko.com
Sat Apr 19 07:58:54 PDT 2008
I wonder what the libz is for. I suppose maybe it is used on the
HTTP connections?
Regards,
Zooko
On Apr 15, 2008, at 7:53 PM, zooko wrote:
> Folks:
>
> I ran oprofile on the main WAPI server for allmydata.com, for just
> a few minutes during a time of heavy load (100% CPU for minutes).
>
> These were all the entries with > 1% of the CPU time:
>
> samples % image name app name symbol
> name
> 4665864 82.4815 python2.5 python2.5 (no
> symbols)
> 307184 5.4303 libcrypto++.so.6.0.0 libcrypto++.so.
> 6.0.0 (no symbols)
> 195027 3.4476 libc-2.6.1.so libc-2.6.1.so
> (no symbols)
> 96293 1.7022 libcrypto.so.0.9.8 libcrypto.so.
> 0.9.8 (no symbols)
> 84078 1.4863 libz.so.1.2.3.3 libz.so.1.2.3.3
> (no symbols)
>
>
> Later, I left oprofile running for a couple of hours. These were
> all the entries with > 1% of the CPU time:
>
> 23833241 61.4448 python2.5 python2.5
> (no symbols)
> 4319186 11.1353 libcrypto++.so.6.0.0 libcrypto++.so.6.0.0
> (no symbols)
> 2282388 5.8843 libcrypto.so.0.9.8 libcrypto.so.0.9.8
> (no symbols)
> 1678020 4.3261 libz.so.1.2.3.3 libz.so.1.2.3.3
> (no symbols)
> 1640397 4.2291 libc-2.6.1.so libc-2.6.1.so
> (no symbols)
>
>
> One thing that is nice to see is that zfec is not in this list.
> Here is the CPU time spent in the C module of zfec in the second
> measurement (a couple of hours long):
>
> 31768 0.0819 _fec.so _fec.so
> (no symbols)
>
> That's 0.08% of the CPU spent in _fec.so.
>
>
> Regards,
>
> Zooko
>
More information about the tahoe-dev
mailing list