I am analyzing memory usage for the past three months on a Softlayer Virtual Guests using getMemoryMetricDataByDate. Specs on an example guest are maxCpu = 2, and maxMemory = 8192 MB.
Memory usage is reported to be at 89% to 100% of maxMemory. This does not seem correct for this server. An example datapoint is:
[counter] => 8127187622.8697
[dateTime] => 2016-05-04T18:00:00-06:00
[type] => memory_usage
In the set of 183 datapoints, the min counter value is 7652222531.7333 (bytes) the max is 8589934592 (bytes).
To cross check, I pulled the graphic image for the same date range using getMemoryMetricImageByDate. See below. The chart shows two lines. The first with memory average of 1.6 GB and max of 11.1 GB. The second line shows memory average of 5.3 GB and max of 220.1 GB.
My questions are:
Why are there two lines on the chart?
Why is the data significantly different between getMemoryMetricDataByDate and getMemoryMetricImageByDate, given that the exact same virtual guest and date range were specified for each call?