<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in power_manager.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>b49c677a - examples/vm_power: respect core mask</title>
        <link>http://172.16.0.5:8080/history/dpdk/examples/vm_power_manager/power_manager.c#b49c677a</link>
        <description>examples/vm_power: respect core maskWhen vm_power_manager is started, it takes over power management onall cores. This should be limited to cores defined in the core mask.When initialising, if a core is not on the coremask, skip it.Applies to both initialisation and exit.Signed-off-by: David Hunt &lt;david.hunt@intel.com&gt;

            List of files:
            /dpdk/examples/vm_power_manager/power_manager.c</description>
        <pubDate>Fri, 15 Jan 2021 12:52:50 +0000</pubDate>
        <dc:creator>David Hunt &lt;david.hunt@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>95f648ff - examples/vm_power: make branch ratio threshold per core</title>
        <link>http://172.16.0.5:8080/history/dpdk/examples/vm_power_manager/power_manager.c#95f648ff</link>
        <description>examples/vm_power: make branch ratio threshold per coreThis modification allows for the branch ratio threshold to be setper core rather than system wide. This gives greater flexibility tothe branch ratio monitoring allowing it to manage differentworkloads with different characteristics on the same system.Signed-off-by: Rory Sexton &lt;rory.sexton@intel.com&gt;Reviewed-by: David Hunt &lt;david.hunt@intel.com&gt;Acked-by: Reshma Pattan &lt;reshma.pattan@intel.com&gt;

            List of files:
            /dpdk/examples/vm_power_manager/power_manager.c</description>
        <pubDate>Tue, 14 Jul 2020 16:01:58 +0000</pubDate>
        <dc:creator>Rory Sexton &lt;rory.sexton@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>666272d2 - examples/vm_power: drop Unix path limit redefinition</title>
        <link>http://172.16.0.5:8080/history/dpdk/examples/vm_power_manager/power_manager.c#666272d2</link>
        <description>examples/vm_power: drop Unix path limit redefinitionThe Unix socket path may be as long as UNIX_PATH_MAX.This constant is supposed to be defined in sys/un.h.On Linux, it appears to be in linux/un.h.This constant was re-defined locally, based on a variable declaration.It is breaking compilation with -fno-common (default in GCC 10)We could avoid the variable declaration by using NULL struct,but it looks simpler not redefining this system constant.As the power library and its examples are restricted to Linux only,the Linux header file is directly included.Fixes: 0d74597c1b4f (&quot;examples/vm_power: fix max length of unix socket path&quot;)Cc: stable@dpdk.orgSigned-off-by: Thomas Monjalon &lt;thomas@monjalon.net&gt;Acked-by: David Marchand &lt;david.marchand@redhat.com&gt;Acked-by: Kevin Traynor &lt;ktraynor@redhat.com&gt;

            List of files:
            /dpdk/examples/vm_power_manager/power_manager.c</description>
        <pubDate>Wed, 20 May 2020 08:10:50 +0000</pubDate>
        <dc:creator>Thomas Monjalon &lt;thomas@monjalon.net&gt;</dc:creator>
    </item>
<item>
        <title>31c9a664 - examples/vm_power: fix OOB frequency oscillations</title>
        <link>http://172.16.0.5:8080/history/dpdk/examples/vm_power_manager/power_manager.c#31c9a664</link>
        <description>examples/vm_power: fix OOB frequency oscillationsThe branch ratio algorithm in the vm_power_manager sample applicationcan be very sensitive at patricular loads in a workload, causingoscillations between min and max frequency. For example, if aworkload is at 50%, scaling up may change the ratioenough that it immediately thinks it needs to scale down again.This patch introduces a sliding window recording the scale up/downdirection for the last 32 samples, and scales up if any samples indicatewe should scale up, otherwise scale down. Each core has it&apos;s own window.Fixes: 4b1a631b8a8a (&quot;examples/vm_power: add oob monitoring functions&quot;)Cc: stable@dpdk.orgSigned-off-by: David Hunt &lt;david.hunt@intel.com&gt;Acked-by: Anatoly Burakov &lt;anatoly.burakov@intel.com&gt;

            List of files:
            /dpdk/examples/vm_power_manager/power_manager.c</description>
        <pubDate>Wed, 24 Jul 2019 13:18:03 +0000</pubDate>
        <dc:creator>David Hunt &lt;david.hunt@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>3f1fc5f2 - examples/power: fix buffer overrun</title>
        <link>http://172.16.0.5:8080/history/dpdk/examples/vm_power_manager/power_manager.c#3f1fc5f2</link>
        <description>examples/power: fix buffer overrunThe freqs array in freq_info struct has RTE_MAX_LCORE_FREQS elements,yet the code can attempt to look at the index at  RTE_MAX_LCORE,which may be greater than RTE_MAX_LCORE_FREQS. Fix to limit index toRTE_MAX_LCORE_FREQS.Coverity issue: 337660Fixes: d26c18c93260 (&quot;examples/vm_power: cpu frequency in host&quot;)Cc: stable@dpdk.orgSigned-off-by: David Hunt &lt;david.hunt@intel.com&gt;Acked-by: Reshma Pattan &lt;reshma.pattan@intel.com&gt;

            List of files:
            /dpdk/examples/vm_power_manager/power_manager.c</description>
        <pubDate>Fri, 26 Apr 2019 08:42:09 +0000</pubDate>
        <dc:creator>David Hunt &lt;david.hunt@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>751227a0 - power: fix buffer overruns</title>
        <link>http://172.16.0.5:8080/history/dpdk/examples/vm_power_manager/power_manager.c#751227a0</link>
        <description>power: fix buffer overrunsA previous change removed the limit of 64 cores bymoving away from 64-bit masks to char arrays. Howeverthis left a buffer overrun issue, where the max channelswas defined as 64, and max cores was defined as 256. Theseshould all be consistently set to RTE_MAX_LCORE.The #defines being removed are CHANNEL_CMDS_MAX_CPUS,CHANNEL_CMDS_MAX_CHANNELS, POWER_MGR_MAX_CPUS, andCHANNEL_CMDS_MAX_VM_CHANNELS, and are being replacedwith RTE_MAX_LCORE for consistency and simplicity.Coverity issue: 337672, 337673, 337678Fixes: fd73630e95c1 (&quot;examples/power: change 64-bit masks to arrays&quot;)Cc: stable@dpdk.orgSigned-off-by: David Hunt &lt;david.hunt@intel.com&gt;Acked-by: Anatoly Burakov &lt;anatoly.burakov@intel.com&gt;

            List of files:
            /dpdk/examples/vm_power_manager/power_manager.c</description>
        <pubDate>Tue, 09 Apr 2019 09:22:01 +0000</pubDate>
        <dc:creator>David Hunt &lt;david.hunt@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>6ff7b996 - examples/power: fix for p-state</title>
        <link>http://172.16.0.5:8080/history/dpdk/examples/vm_power_manager/power_manager.c#6ff7b996</link>
        <description>examples/power: fix for p-stateThe vm_power_manager starts by setting the environment to acpiusing rte_power_set_env(PM_ENV_ACPI_CPUFREQ). This causes a problemstarting vm_power_manager when the system is using the intel_pstatedriver. The env should be set to none, or not called at all, becausethe library now auto-detects the environment to be either acpi orintel_pstate. This patch sets the environment to none so that thelibrary can successfully auto-detect.Fixes: e6c6dc0f96c8 (&quot;power: add p-state driver compatibility&quot;)Signed-off-by: David Hunt &lt;david.hunt@intel.com&gt;

            List of files:
            /dpdk/examples/vm_power_manager/power_manager.c</description>
        <pubDate>Tue, 08 Jan 2019 15:25:23 +0000</pubDate>
        <dc:creator>David Hunt &lt;david.hunt@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>b6b22982 - examples/power: remove mask functions</title>
        <link>http://172.16.0.5:8080/history/dpdk/examples/vm_power_manager/power_manager.c#b6b22982</link>
        <description>examples/power: remove mask functionsSince we&apos;re moving to allowing greater than 64 cores, the mask functionsthat use uint64_t to perform functions on a masked set of cores are nolonger needed, so removing them.Signed-off-by: David Hunt &lt;david.hunt@intel.com&gt;Reviewed-by: Anatoly Burakov &lt;anatoly.burakov@intel.com&gt;

            List of files:
            /dpdk/examples/vm_power_manager/power_manager.c</description>
        <pubDate>Fri, 14 Dec 2018 13:31:35 +0000</pubDate>
        <dc:creator>David Hunt &lt;david.hunt@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>c12ade20 - examples/vm_power: respect maximum CPUs</title>
        <link>http://172.16.0.5:8080/history/dpdk/examples/vm_power_manager/power_manager.c#c12ade20</link>
        <description>examples/vm_power: respect maximum CPUsThe vm_power_manager app was not respecting the POWER_MGR_MAX_CPUSduring initialisation, so if there were more CPUs than this value (64),it would lead to buffer overruns of there were more then 64 cores inthe system.Added in a check during init and un-init to only initialise up tolcore_id 63.This raises the question as to why not simply increase the value ofPOWER_MGR_MAX_CPUS. Well, it&apos;s not that simple, as many of the APIs takea uint64_t as a parameter for the core mask, and this will not work forcores greater than 63. So some work needs to be done in the future toremove this limitation. For now we&apos;ll fix the memory corruption.Also, the patch that this fixes says &quot;allow greater than 64 cores&quot; butthat&apos;s not across the entire application, it&apos;s only for the out-of-bandmonitoring. I&apos;ll add a notice for an API change in the next release toclean this up, i.e. depricate any API calls that use masks.Fixes: 6453b9284b64 (&quot;examples/vm_power: allow greater than 64 cores&quot;)Cc: stable@dpdk.orgSigned-off-by: David Hunt &lt;david.hunt@intel.com&gt;

            List of files:
            /dpdk/examples/vm_power_manager/power_manager.c</description>
        <pubDate>Wed, 31 Oct 2018 11:50:32 +0000</pubDate>
        <dc:creator>David Hunt &lt;david.hunt@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>711f43ba - examples/vm_power: make branch ratio configurable</title>
        <link>http://172.16.0.5:8080/history/dpdk/examples/vm_power_manager/power_manager.c#711f43ba</link>
        <description>examples/vm_power: make branch ratio configurableFor different workloads and poll loops, the thesholdmay be different for when you want to scale up and down.This patch allows changing of the default branch ratioby using the -b command line argument (or --branch-ratio=)Signed-off-by: David Hunt &lt;david.hunt@intel.com&gt;Acked-by: Radu Nicolau &lt;radu.nicolau@intel.com&gt;

            List of files:
            /dpdk/examples/vm_power_manager/power_manager.c</description>
        <pubDate>Fri, 13 Jul 2018 14:23:02 +0000</pubDate>
        <dc:creator>David Hunt &lt;david.hunt@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>6453b928 - examples/vm_power: allow greater than 64 cores</title>
        <link>http://172.16.0.5:8080/history/dpdk/examples/vm_power_manager/power_manager.c#6453b928</link>
        <description>examples/vm_power: allow greater than 64 coresTo facilitate more info per core, change the global_cpu_maskfrom a uint64_t to an array. This also removes the limit on64 cores, allocing the aray at run-time based on the number ofcores found in the system.Signed-off-by: David Hunt &lt;david.hunt@intel.com&gt;Acked-by: Radu Nicolau &lt;radu.nicolau@intel.com&gt;

            List of files:
            /dpdk/examples/vm_power_manager/power_manager.c</description>
        <pubDate>Fri, 13 Jul 2018 14:22:57 +0000</pubDate>
        <dc:creator>David Hunt &lt;david.hunt@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>99a968fa - examples/vm_power: add core list parameter</title>
        <link>http://172.16.0.5:8080/history/dpdk/examples/vm_power_manager/power_manager.c#99a968fa</link>
        <description>examples/vm_power: add core list parameterAdd in the &apos;-l&apos; command line parameter (also --core-list)So the user can now pass --corelist=4,6,8-10 and it willexpand out to 4,6,8,9,10 using the parse function providedin parse.c (parse_set).This list of cores is then used to enable out-of-band monitoringto scale up and down these cores based on the ratio of branchhits versus branch misses. The ratio will be low when a pollloop is spinning with no packets being received, so the frequencywill be scaled down.Also , as part of this change, we introduce a core_info structwhich keeps information on each core in the system, and whetherwe&apos;re doing out of band monitoring on them.Signed-off-by: David Hunt &lt;david.hunt@intel.com&gt;Acked-by: Radu Nicolau &lt;radu.nicolau@intel.com&gt;

            List of files:
            /dpdk/examples/vm_power_manager/power_manager.c</description>
        <pubDate>Fri, 13 Jul 2018 14:22:55 +0000</pubDate>
        <dc:creator>David Hunt &lt;david.hunt@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>3998e2a0 - examples: use SPDX tag for Intel copyright files</title>
        <link>http://172.16.0.5:8080/history/dpdk/examples/vm_power_manager/power_manager.c#3998e2a0</link>
        <description>examples: use SPDX tag for Intel copyright filesReplace the BSD license header with the SPDX tag for fileswith only an Intel copyright on them.Signed-off-by: Bruce Richardson &lt;bruce.richardson@intel.com&gt;

            List of files:
            /dpdk/examples/vm_power_manager/power_manager.c</description>
        <pubDate>Tue, 19 Dec 2017 15:49:02 +0000</pubDate>
        <dc:creator>Bruce Richardson &lt;bruce.richardson@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>7f472f74 - examples/vm_power_mgr: add scale to medium freq fn</title>
        <link>http://172.16.0.5:8080/history/dpdk/examples/vm_power_manager/power_manager.c#7f472f74</link>
        <description>examples/vm_power_mgr: add scale to medium freq fnSigned-off-by: Nemanja Marjanovic &lt;nemanja.marjanovic@intel.com&gt;Signed-off-by: Rory Sexton &lt;rory.sexton@intel.com&gt;Signed-off-by: David Hunt &lt;david.hunt@intel.com&gt;Reviewed-by: Santosh Shukla &lt;santosh.shukla@caviumnetworks.com&gt;Acked-by: Konstantin Ananyev &lt;konstantin.ananyev@intel.com&gt;

            List of files:
            /dpdk/examples/vm_power_manager/power_manager.c</description>
        <pubDate>Wed, 11 Oct 2017 16:18:50 +0000</pubDate>
        <dc:creator>David Hunt &lt;david.hunt@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>567997b9 - examples/vm_power_manager: add per-core turbo</title>
        <link>http://172.16.0.5:8080/history/dpdk/examples/vm_power_manager/power_manager.c#567997b9</link>
        <description>examples/vm_power_manager: add per-core turboAdd extra commands to command line to allow enable/disable ofper-core turbo.When a core has turbo enabled, calling for max frequency will allow it togo to a turbo frequency (P0n).When a core has turbo disabled, calling for max frequency will allow it togo to the maximum non-turbo frequency (P1), but not beyond.Signed-off-by: David Hunt &lt;david.hunt@intel.com&gt;

            List of files:
            /dpdk/examples/vm_power_manager/power_manager.c</description>
        <pubDate>Wed, 13 Sep 2017 10:44:17 +0000</pubDate>
        <dc:creator>David Hunt &lt;david.hunt@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>50810f09 - config: remove useless explicit includes of generated header</title>
        <link>http://172.16.0.5:8080/history/dpdk/examples/vm_power_manager/power_manager.c#50810f09</link>
        <description>config: remove useless explicit includes of generated headerThe file rte_config.h is automatically generated and included.No need to #include it.The example performance-thread needs a makefile fix to avoidoverwriting the default cflags.Signed-off-by: Thomas Monjalon &lt;thomas.monjalon@6wind.com&gt;

            List of files:
            /dpdk/examples/vm_power_manager/power_manager.c</description>
        <pubDate>Mon, 08 Feb 2016 14:18:22 +0000</pubDate>
        <dc:creator>Thomas Monjalon &lt;thomas.monjalon@6wind.com&gt;</dc:creator>
    </item>
<item>
        <title>d26c18c9 - examples/vm_power: cpu frequency in host</title>
        <link>http://172.16.0.5:8080/history/dpdk/examples/vm_power_manager/power_manager.c#d26c18c9</link>
        <description>examples/vm_power: cpu frequency in hostA wrapper around librte_power(using ACPI cpufreq), providing locking around thenon-threadsafe library, allowing for frequency changes based on core masks andcore numbers from both the CLI thread and epoll monitor thread.Signed-off-by: Alan Carew &lt;alan.carew@intel.com&gt;Signed-off-by: Pablo de Lara &lt;pablo.de.lara.guarch@intel.com&gt;

            List of files:
            /dpdk/examples/vm_power_manager/power_manager.c</description>
        <pubDate>Tue, 25 Nov 2014 16:18:04 +0000</pubDate>
        <dc:creator>Alan Carew &lt;alan.carew@intel.com&gt;</dc:creator>
    </item>
</channel>
</rss>
