You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2010/08/11 03:23:16 UTC

[jira] Created: (TS-411) Eliminate unecessary stats thread

Eliminate unecessary stats thread
---------------------------------

                 Key: TS-411
                 URL: https://issues.apache.org/jira/browse/TS-411
             Project: Traffic Server
          Issue Type: Bug
            Reporter: Leif Hedstrom
             Fix For: 2.1.2


There's an entire thread (that loops through every stat in the system) for this one single stat (from Cache.cc):

IOCORE_RegisterStatUpdateFunc("proxy.process.cache.bytes_used");


I believe we can eliminate this entirely, and use the "cb" field instead, i.e. change the define for the above macro to use RecRegisterRawStatUpdateFunc() instead. This feature, "UpdateFunc", is only used by this one single stat, and I'm fairly sure it's a legacy / remnant that should have been eliminated. Doing this, will allow us to eliminate this thread completely.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (TS-411) Eliminate unecessary stats thread

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on TS-411 started by Leif Hedstrom.

> Eliminate unecessary stats thread
> ---------------------------------
>
>                 Key: TS-411
>                 URL: https://issues.apache.org/jira/browse/TS-411
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 2.1.2
>
>
> There's an entire thread (that loops through every stat in the system) for this one single stat (from Cache.cc):
> IOCORE_RegisterStatUpdateFunc("proxy.process.cache.bytes_used");
> I believe we can eliminate this entirely, and use the "cb" field instead, i.e. change the define for the above macro to use RecRegisterRawStatUpdateFunc() instead. This feature, "UpdateFunc", is only used by this one single stat, and I'm fairly sure it's a legacy / remnant that should have been eliminated. Doing this, will allow us to eliminate this thread completely.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (TS-411) Eliminate unecessary stats thread

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom reassigned TS-411:
--------------------------------

    Assignee: Leif Hedstrom

> Eliminate unecessary stats thread
> ---------------------------------
>
>                 Key: TS-411
>                 URL: https://issues.apache.org/jira/browse/TS-411
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 2.1.2
>
>
> There's an entire thread (that loops through every stat in the system) for this one single stat (from Cache.cc):
> IOCORE_RegisterStatUpdateFunc("proxy.process.cache.bytes_used");
> I believe we can eliminate this entirely, and use the "cb" field instead, i.e. change the define for the above macro to use RecRegisterRawStatUpdateFunc() instead. This feature, "UpdateFunc", is only used by this one single stat, and I'm fairly sure it's a legacy / remnant that should have been eliminated. Doing this, will allow us to eliminate this thread completely.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TS-411) Eliminate unecessary stats thread

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom resolved TS-411.
------------------------------

    Resolution: Fixed

> Eliminate unecessary stats thread
> ---------------------------------
>
>                 Key: TS-411
>                 URL: https://issues.apache.org/jira/browse/TS-411
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 2.1.2
>
>
> There's an entire thread (that loops through every stat in the system) for this one single stat (from Cache.cc):
> IOCORE_RegisterStatUpdateFunc("proxy.process.cache.bytes_used");
> I believe we can eliminate this entirely, and use the "cb" field instead, i.e. change the define for the above macro to use RecRegisterRawStatUpdateFunc() instead. This feature, "UpdateFunc", is only used by this one single stat, and I'm fairly sure it's a legacy / remnant that should have been eliminated. Doing this, will allow us to eliminate this thread completely.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.