[
https://issues.apache.org/jira/browse/TS-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13631983#comment-13631983
]
Leif Hedstrom commented on TS-1405:
-----------------------------------
The script I run to measure this during a run is available at
https://github.com/zwoop/scripts/blob/master/procdelta.py . For running
http_load, I use a very simple wrapper around, like
{code}
#!/bin/sh
PAR=${1:-100}
TIME=${2:-10}
KA=${3:-100}
URL=${4:-URL.small}
echo "http_load -parallel $PAR -seconds $TIME -keep_alive $KA $URL"
rm -f /tmp/ONE /tmp/TWO /tmp/THREE
http_load -parallel $PAR -seconds $TIME -keep_alive $KA $URL > /tmp/ONE &
http_load -parallel $PAR -seconds $TIME -keep_alive $KA $URL > /tmp/TWO &
http_load -parallel $PAR -seconds $TIME -keep_alive $KA $URL > /tmp/THREE
sleep 3
merge_stats.pl /tmp/ONE /tmp/TWO /tmp/THREE
{code}
I run it like
{code}
$ benchit.sh 100 300 100 /tmp/URL
{code}
The URL is a 100 byte body, I have to do it that small to not become NIC bound.
> apply time-wheel scheduler about event system
> ----------------------------------------------
>
> Key: TS-1405
> URL: https://issues.apache.org/jira/browse/TS-1405
> Project: Traffic Server
> Issue Type: Improvement
> Components: Core
> Affects Versions: 3.2.0
> Reporter: Bin Chen
> Assignee: Bin Chen
> Fix For: 3.3.2
>
> Attachments: linux_time_wheel.patch, linux_time_wheel_v10jp.patch,
> linux_time_wheel_v11jp.patch, linux_time_wheel_v2.patch,
> linux_time_wheel_v3.patch, linux_time_wheel_v4.patch,
> linux_time_wheel_v5.patch, linux_time_wheel_v6.patch,
> linux_time_wheel_v7.patch, linux_time_wheel_v8.patch,
> linux_time_wheel_v9jp.patch
>
>
> when have more and more event in event system scheduler, it's worse. This is
> the reason why we use inactivecop to handler keepalive. the new scheduler is
> time-wheel. It's have better time complexity(O(1))
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira