[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: HEAD profile
> -----Original Message-----
> From: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]
> Does the time spent in yield() include the time spent yielding
> to other threads(), like join()?
Yes. But the number of calls to yield() varies wildly, depending on I/O
latency.
Also the time used is difficult to interpret since the "local seconds" adds
up to
e.g. ~2.5 seconds, while "total sec" is only ~.48 sec. Obviously the time
spent
yielding is being used productively in another thread. I don't think yield()
needs
fixing...
>
> >| local | total | | |
> >| sec. | % | sec. | % | calls |t. sec/call| name
> >|-----------|-----|-----------|-----|----------|-----------|--------
> >| 0.000576| 0.0| 37.836470| 49.0| 1| 37.836470| main
> >| 0.000024| 0.0| 37.413953| 48.5| 1| 37.413953| slapd_daemon
> >| 37.412573| 48.5| 37.412584| 48.5| 1| 37.412584|
> ldap_pvt_thread_join
> >| 23.280411| 30.2| 37.412462| 48.5| 1| 37.412462|
> slapd_daemon_task
> >| 0.077310| 0.1| 31.390502| 40.7| 32| 0.980953|
> ldap_int_thread_pool_wrapper
> >| 0.097402| 0.1| 13.922148| 18.0| 7538| 0.001847|
> connection_read
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support