[ 
https://issues.apache.org/jira/browse/TS-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13054274#comment-13054274
 ] 

Zhao Yongming commented on TS-822:
----------------------------------

yeah, code commit as r1139153. will need to update DOCs later.

> make cluster thread number configable
> -------------------------------------
>
>                 Key: TS-822
>                 URL: https://issues.apache.org/jira/browse/TS-822
>             Project: Traffic Server
>          Issue Type: Task
>          Components: Clustering
>    Affects Versions: 3.1.0
>         Environment: heavy clustering env
>            Reporter: Zhao Yongming
>            Assignee: Zhao Yongming
>            Priority: Minor
>              Labels: cluster, threading
>             Fix For: 3.1.0
>
>         Attachments: TS-822.patch
>
>
> when my cluster working at a heavy load, the thread seems need more cpu time, 
> as the cluster thread number is hard coded to be just one. we should release 
> it or find out other solutions.
> {code}
> Tasks: 149 total,   1 running, 148 sleeping,   0 stopped,   0 zombie
> Cpu0  : 13.2%us, 11.6%sy,  0.0%ni, 24.5%id, 34.1%wa,  0.0%hi, 16.6%si,  0.0%st
> Cpu1  : 14.3%us,  9.6%sy,  0.0%ni, 55.5%id,  3.0%wa,  1.0%hi, 16.6%si,  0.0%st
> Cpu2  : 15.4%us,  9.7%sy,  0.0%ni, 39.8%id, 19.1%wa,  1.3%hi, 14.7%si,  0.0%st
> Cpu3  : 12.3%us,  9.0%sy,  0.0%ni, 57.0%id,  5.0%wa,  2.3%hi, 14.3%si,  0.0%st
> Mem:  16427532k total, 13547884k used,  2879648k free,   289068k buffers
> Swap:  2096472k total,        0k used,  2096472k free,   451684k cached
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> 28210 nobody    15   0 12.7g  12g 4508 S 55.9 77.0 731:00.78 [ET_CLUSTER 0]
> 28145 nobody    15   0 12.7g  12g 4508 S  8.0 77.0 104:39.41 [ET_NET 1]
> 28149 nobody    15   0 12.7g  12g 4508 S  7.7 77.0 108:31.92 [ET_NET 5]
> 28143 nobody    15   0 12.7g  12g 4508 S  7.3 77.0 110:25.50 [ET_NET 0]
> 28146 nobody    15   0 12.7g  12g 4508 S  7.3 77.0 107:19.08 [ET_NET 2]
> 28147 nobody    15   0 12.7g  12g 4508 S  7.3 77.0 107:04.85 [ET_NET 3]
> 28148 nobody    15   0 12.7g  12g 4508 S  7.0 77.0 105:01.84 [ET_NET 4]
> 28164 nobody    16   0 12.7g  12g 4508 S  4.7 77.0   0:26.85 [ET_AIO 3]
> 28188 nobody    15   0 12.7g  12g 4508 S  3.7 77.0  49:19.35 [ACCEPT]
> 28135 nobody    16   0  363m  15m 2068 S  1.0  0.1   6:49.62 traffic_manager
> 28132 nobody    15   0  363m  15m 2068 S  0.7  0.1  14:08.49 traffic_manager
> 28178 nobody    16   0 12.7g  12g 4508 S  0.7 77.0   4:42.76 [ET_AIO 1]
> 28156 nobody    16   0 12.7g  12g 4508 S  0.3 77.0   0:29.01 [ET_AIO 3]
> 28166 nobody    16   0 12.7g  12g 4508 S  0.3 77.0   0:26.50 [ET_AIO 5]
> 28173 nobody    16   0 12.7g  12g 4508 S  0.3 77.0   0:34.62 [ET_AIO 4]
> 28177 nobody    16   0 12.7g  12g 4508 S  0.3 77.0   4:42.74 [ET_AIO 0]
> 28180 nobody    16   0 12.7g  12g 4508 S  0.3 77.0   4:42.75 [ET_AIO 3]
> 28181 nobody    16   0 12.7g  12g 4508 S  0.3 77.0   4:40.95 [ET_AIO 4]
> 28183 nobody    16   0 12.7g  12g 4508 S  0.3 77.0   4:42.44 [ET_AIO 6]
>     1 root      15   0 10348  632  540 S  0.0  0.0   0:00.69 init
>     2 root      RT  -5     0    0    0 S  0.0  0.0   0:00.11 migration/0
>     3 root      34  19     0    0    0 S  0.0  0.0   0:04.68 ksoftirqd/0
>     4 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/0
>     5 root      RT  -5     0    0    0 S  0.0  0.0   0:00.09 migration/1
>     6 root      34  19     0    0    0 S  0.0  0.0   0:06.99 ksoftirqd/1
>     7 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/1
>     8 root      RT  -5     0    0    0 S  0.0  0.0   0:00.09 migration/2      
>                             
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to