You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/12/17 07:51:13 UTC

[jira] [Commented] (TS-3178) ProxyAllocator improvements

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

ASF subversion and git services commented on TS-3178:
-----------------------------------------------------

Commit 8993142d44253ded76b132535b6886f971483b9f in trafficserver's branch refs/heads/master from [~briang]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=8993142 ]

TS-3178: Fixing build error related to reclaimable freelist


> ProxyAllocator improvements
> ---------------------------
>
>                 Key: TS-3178
>                 URL: https://issues.apache.org/jira/browse/TS-3178
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Brian Geffon
>            Assignee: Brian Geffon
>             Fix For: 5.2.0
>
>         Attachments: patch.diff, patch.diff
>
>
> Currently when a ProxyAllocator (Thread Local) has more than a
> configurable number of elements it will return them one-by-one to a
> ClassAllocator (Global Freelist). Returning every item in this fashion is
> inefficient as we'll likely need more items in the future. Therefore we
> should maintain a low watermark (a minimum number) of items that should be in a ProxyAllocator at any one time. When the number of elements reaches high watermark, the free up is triggers to keep it below the low
> watermark. Additionally, the free should be a block free instead of
> one-by-one as we can reduce several hundred compare-and-swap operations to a single CAS



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)