bryancall edited a comment on pull request #7576:
URL: https://github.com/apache/trafficserver/pull/7576#issuecomment-808606616
With this patch LogObject::_checkout_write doesn't use much CPU anymore.
```
**http2load**
finished in 33.10s, 181277.48 req/s, 2.77GB/s
requests: 6000000 total, 6000000 started, 6000000 done, 6000000 succeeded, 0
failed, 0 errored, 0 timeout
status codes: 6000000 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 91.75GB (98514111221) total, 45.88MB (48105141) headers (space
savings 96.66%), 91.55GB (98304000000) data
min max mean sd +/- sd
time for request: 83us 54.32ms 1.04ms 690us 93.72%
time for connect: 10.70ms 307.99ms 94.83ms 79.36ms 75.00%
time to 1st byte: 40.72ms 310.73ms 114.99ms 71.51ms 76.00%
req/s : 864.28 1073.49 934.15 70.05 70.00%
**dstat**
You did not select any stats, using -cdngy by default.
ESC[7l----total-cpu-usage---- -dsk/total- ---net/lo-- -net/total-
---paging-- ---system--
usr sys idl wai hiq siq| read writ| recv send: recv send| in out | int
csw
1 0 99 0 0 0|2813B 243k| 0 0 : 0 0 | 0 0 |
21k 60k
16 20 62 0 0 1| 296k 18M|2777M 2777M:1542B 817B| 0 0 |
745k 1163k
16 22 61 0 0 1| 410B 48M|2977M 2977M:2846B 1507B| 0 0 |
769k 1162k
15 21 62 0 0 1| 0 63k|2965M 2965M:4500B 12k| 0 0 |
763k 1194k
**perf report**
# Total Lost Samples: 0
#
# Samples: 9M of event 'cycles'
# Event count (approx.): 5588002519667
#
# Overhead Shared Object Symbol
# .......... ....................
..................................................
#
31.33% [kernel.vmlinux] [k] native_queued_spin_lock_slowpath
3.22% [kernel.vmlinux] [k] copy_user_generic_string
2.08% [kernel.vmlinux] [k] acpi_processor_ffh_cstate_enter
1.88% libc-2.17.so [.] __memcpy_ssse3
1.88% libcrypto.so.1.1 [.] _aesni_ctr32_ghash_6x
1.61% libtscore.so.9.0.1 [.] malloc_new
1.12% libtscore.so.9.0.1 [.] malloc_free
0.89% libtscore.so.9.0.1 [.] ink_freelist_new
0.87% libpthread-2.17.so [.] pthread_mutex_lock
0.86% traffic_server [.] LogObject::_checkout_write
0.86% libc-2.17.so [.] _int_malloc
0.72% [kernel.vmlinux] [k] futex_wait_setup
0.70% [kernel.vmlinux] [k] __switch_to
0.66% [kernel.vmlinux] [k] try_to_wake_up
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]