# RTT/Duration Increasing for Heartbeat agent on Windows 10

**URL:** <https://discuss.elastic.co/t/rtt-duration-increasing-for-heartbeat-agent-on-windows-10/75780>\
**Category:** Beats\
**Tags:** heartbeat\
**Created:** [February 20, 2017, 5:32pm UTC](https://discuss.elastic.co/t/rtt-duration-increasing-for-heartbeat-agent-on-windows-10/75780 "2017-02-20T17:32:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![misabel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/misabel/32/15642_2.png) [@misabel](https://discuss.elastic.co/u/misabel)\
**Post date:** [February 20, 2017, 5:32pm UTC](https://discuss.elastic.co/t/rtt-duration-increasing-for-heartbeat-agent-on-windows-10/75780/1 "2017-02-20T17:32:54Z")

</div>

I've noticed an add behavior for the Heartbeat agent running on Windows 10. I haven't tested with other OS yet but I figured I would ask if anyone hit that problem. Basically it seems the duration for the checks is increasing over time when I'm not actively using my computer. i.e. While I was gone over the weekend. As soon as I logged back in/started to use my PC again, the duration/RTT went back to normal. Here's what it looks like in Kibana when I'm charting the average [duration.us](http://duration.us) field:

 ![](https://us1.discourse-cdn.com/elastic/original/2X/9/901ec34940ed9e07d28305664f8c8ab12695d7a1.png)

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [February 20, 2017, 6:11pm UTC](https://discuss.elastic.co/t/rtt-duration-increasing-for-heartbeat-agent-on-windows-10/75780/2 "2017-02-20T18:11:08Z")

</div>

What power mode is your machine configured to use in the control panel? Maybe it's on the power saver mode?

Do you have metricbeat installed? It would be interesting to correlate those peaks to other system CPU/memory/process metrics.

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [February 20, 2017, 6:15pm UTC](https://discuss.elastic.co/t/rtt-duration-increasing-for-heartbeat-agent-on-windows-10/75780/3 "2017-02-20T18:15:00Z")

</div>

Do the `rtt` metric values have a similar looking graph?

---

<div class="post-metadata">

**Author:** ![misabel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/misabel/32/15642_2.png) [@misabel](https://discuss.elastic.co/u/misabel)\
**Post date:** [February 20, 2017, 6:16pm UTC](https://discuss.elastic.co/t/rtt-duration-increasing-for-heartbeat-agent-on-windows-10/75780/4 "2017-02-20T18:16:35Z")

</div>

Hi Andrew!

FYI Here's what the [rtt.us](http://rtt.us) graph looks like:

 ![](https://us1.discourse-cdn.com/elastic/original/2X/a/ab8b231e54bae3e1e1cb6feaf8e1b79cdd54e293.png)

Mathieu

---

<div class="post-metadata">

**Author:** ![misabel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/misabel/32/15642_2.png) [@misabel](https://discuss.elastic.co/u/misabel)\
**Post date:** [February 20, 2017, 6:19pm UTC](https://discuss.elastic.co/t/rtt-duration-increasing-for-heartbeat-agent-on-windows-10/75780/5 "2017-02-20T18:19:17Z")

</div>

Funny thing, I had metricbeat running on that particular machine up until last week so I don't have any other perf data captured for that time frame.

Right now the machine is using the balanced power plan, so there is CPU throttling happening. I just find strange that it would ramp up that slowly over time. Throttling happens pretty fast on those CPUs typically. It might be the NIC that goes into low power mode but then again, that should happen relatively quickly.

Mathieu

---

<div class="post-metadata">

**Author:** ![misabel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/misabel/32/15642_2.png) [@misabel](https://discuss.elastic.co/u/misabel)\
**Post date:** [February 20, 2017, 7:06pm UTC](https://discuss.elastic.co/t/rtt-duration-increasing-for-heartbeat-agent-on-windows-10/75780/6 "2017-02-20T19:06:55Z")

</div>

@andrewkroh I just ran some quick tests and it looks like it might be power management related. In the first test, I switched to the Power saver plan and locked the computer for a few minutes. I then saw the tcp\_connect\_rtt.us maximum go up. When I repeated the test using the High performance plan, I didn't see the same behavior:

 ![](https://us1.discourse-cdn.com/elastic/original/2X/7/7e8154850a90e757b9bc903b9ec73778a1031646.png)

I don't know if there's anything from the agent standpoint that could be done to prevent the computer running the agent to enter a low power state and therefore potentially skew the metrics captured.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 20, 2017, 7:07pm UTC](https://discuss.elastic.co/t/rtt-duration-increasing-for-heartbeat-agent-on-windows-10/75780/7 "2017-03-20T19:07:34Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
