Content Entry

demo of hooto-chart

  2017-08-17   Other   hooto-chart chart

the benchmark of redis and lynkdis (random write)

  • CPU i7-7700
  • CentOS 7.3
  • connections number 20, testing time in 200 seconds
  • data key length 14 bytes, value length 10 bytes
{
  "type": "line",
  "options": {
    "title": "set_random.c20.t200.q",
    "width": "100%",
    "height": "300px"
  },
  "data": {
    "labels": [
      "10",
      "20",
      "30",
      "40",
      "50",
      "60",
      "70",
      "80",
      "90",
      "100",
      "110",
      "120",
      "130",
      "140",
      "150",
      "160",
      "170",
      "180",
      "190",
      "200"
    ],
    "datasets": [
      {
        "label": "Query.redis",
        "data": [
          1833984,
          3848412,
          5806411,
          7832313,
          9699970,
          11708303,
          13723117,
          15763456,
          17670909,
          19487648,
          21533294,
          23599871,
          25667863,
          27726614,
          29779137,
          31836141,
          33841549,
          35635413,
          37435168,
          39198203
        ]
      },
      {
        "label": "Query.lynkdis",
        "data": [
          1114451,
          2203690,
          3300288,
          4410156,
          5499257,
          6608107,
          7697272,
          8787581,
          9880234,
          10961908,
          12043723,
          13088050,
          14185871,
          15270354,
          16368340,
          17432710,
          18541850,
          19609054,
          20698525,
          21770689
        ]
      }
    ]
  }
}
{
  "type": "bar",
  "options": {
    "title": "set_random.c20.t200.qps",
    "width": "100%",
    "height": "300px"
  },
  "data": {
    "labels": [
      "10",
      "20",
      "30",
      "40",
      "50",
      "60",
      "70",
      "80",
      "90",
      "100",
      "110",
      "120",
      "130",
      "140",
      "150",
      "160",
      "170",
      "180",
      "190",
      "200"
    ],
    "datasets": [
      {
        "label": "QPS.redis",
        "data": [
          183398,
          201442,
          195799,
          202590,
          186765,
          200833,
          201481,
          204033,
          190745,
          181673,
          204564,
          206657,
          206799,
          205875,
          205252,
          205700,
          200540,
          179386,
          179975,
          176303
        ]
      },
      {
        "label": "QPS.lynkdis",
        "data": [
          111445,
          108923,
          109659,
          110986,
          108910,
          110885,
          108916,
          109030,
          109265,
          108167,
          108181,
          104432,
          109782,
          108448,
          109798,
          106437,
          110914,
          106720,
          108947,
          107216
        ]
      }
    ]
  }
}
{
  "type": "bar",
  "options": {
    "title": "set_random.c20.t200.mem(MB)",
    "width": "100%",
    "height": "300px"
  },
  "data": {
    "labels": [
      "10",
      "20",
      "30",
      "40",
      "50",
      "60",
      "70",
      "80",
      "90",
      "100",
      "110",
      "120",
      "130",
      "140",
      "150",
      "160",
      "170",
      "180",
      "190",
      "200"
    ],
    "datasets": [
      {
        "label": "RSS.redis",
        "data": [
          183,
          373,
          573,
          749,
          1037,
          1147,
          1321,
          1497,
          1917,
          2075,
          2123,
          2301,
          2479,
          2657,
          2835,
          3013,
          3697,
          3853,
          4007,
          4159
        ]
      },
      {
        "label": "VMS.redis",
        "data": [
          309,
          499,
          699,
          875,
          1163,
          1273,
          1447,
          1623,
          2043,
          2201,
          2249,
          2427,
          2605,
          2783,
          2961,
          3139,
          3823,
          3979,
          4133,
          4285
        ]
      },
      {
        "label": "RSS.lynkdis",
        "data": [
          19,
          24,
          30,
          38,
          43,
          70,
          23,
          30,
          35,
          43,
          46,
          26,
          23,
          29,
          35,
          39,
          46,
          18,
          29,
          28
        ]
      },
      {
        "label": "VMS.lynkdis",
        "data": [
          116,
          156,
          195,
          236,
          273,
          381,
          369,
          406,
          445,
          482,
          521,
          577,
          616,
          652,
          691,
          728,
          767,
          822,
          860,
          898
        ]
      }
    ]
  }
}
{
  "type": "bar",
  "options": {
    "title": "set_random.c20.t200.io.count",
    "width": "100%",
    "height": "300px"
  },
  "data": {
    "labels": [
      "10",
      "20",
      "30",
      "40",
      "50",
      "60",
      "70",
      "80",
      "90",
      "100",
      "110",
      "120",
      "130",
      "140",
      "150",
      "160",
      "170",
      "180",
      "190",
      "200"
    ],
    "datasets": [
      {
        "label": "ReadCount.redis",
        "data": [
          1835420,
          3849973,
          5808063,
          7834075,
          9701828,
          11710260,
          13725169,
          15765589,
          17673158,
          19489999,
          21535747,
          23602430,
          25670517,
          27729358,
          29781987,
          31839090,
          33844602,
          35638555,
          37438412,
          39201532
        ]
      },
      {
        "label": "WriteCount.redis",
        "data": [
          1833993,
          3848436,
          5806437,
          7832342,
          9699990,
          11708332,
          13723145,
          15763465,
          17670930,
          19487674,
          21533324,
          23599896,
          25667896,
          27726636,
          29779159,
          31836169,
          33841572,
          35635434,
          37435194,
          39198217
        ]
      },
      {
        "label": "ReadCount.lynkdis",
        "data": [
          1114461,
          2203700,
          3300298,
          4410164,
          5499266,
          6608115,
          7697285,
          8787589,
          9880239,
          10961915,
          12043731,
          13088059,
          14185885,
          15270363,
          16368348,
          17432718,
          18541876,
          19609068,
          20698541,
          21770697
        ]
      },
      {
        "label": "WriteCount.lynkdis",
        "data": [
          1122971,
          2229692,
          3340143,
          4454885,
          5577317,
          6697692,
          7809965,
          8927492,
          10029611,
          11144458,
          12246536,
          13330350,
          14444810,
          15580874,
          16683721,
          17803354,
          18919202,
          20050578,
          21156469,
          22271759
        ]
      }
    ]
  }
}
{
  "type": "bar",
  "options": {
    "title": "set_random.c20.t200.io.bytes(MB)",
    "width": "100%",
    "height": "300px"
  },
  "data": {
    "labels": [
      "10",
      "20",
      "30",
      "40",
      "50",
      "60",
      "70",
      "80",
      "90",
      "100",
      "110",
      "120",
      "130",
      "140",
      "150",
      "160",
      "170",
      "180",
      "190",
      "200"
    ],
    "datasets": [
      {
        "label": "ReadBytes.redis",
        "data": [
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0
        ]
      },
      {
        "label": "WriteBytes.redis",
        "data": [
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0
        ]
      },
      {
        "label": "ReadBytes.lynkdis",
        "data": [
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0
        ]
      },
      {
        "label": "WriteBytes.lynkdis",
        "data": [
          136,
          367,
          560,
          657,
          1058,
          1226,
          1517,
          1852,
          1998,
          2396,
          2657,
          3122,
          3344,
          3940,
          4036,
          4670,
          4787,
          5517,
          5736,
          6241
        ]
      }
    ]
  }
}
{
  "type": "bar",
  "options": {
    "title": "set_random.c20.t200.cpu",
    "width": "100%",
    "height": "300px"
  },
  "data": {
    "labels": [
      "10",
      "20",
      "30",
      "40",
      "50",
      "60",
      "70",
      "80",
      "90",
      "100",
      "110",
      "120",
      "130",
      "140",
      "150",
      "160",
      "170",
      "180",
      "190",
      "200"
    ],
    "datasets": [
      {
        "label": "User.redis",
        "data": [
          2,
          4,
          6,
          8,
          11,
          13,
          15,
          18,
          20,
          23,
          25,
          28,
          30,
          32,
          34,
          36,
          38,
          41,
          44,
          48
        ]
      },
      {
        "label": "System.redis",
        "data": [
          6,
          12,
          19,
          26,
          32,
          38,
          45,
          52,
          58,
          64,
          71,
          77,
          84,
          91,
          98,
          105,
          111,
          117,
          123,
          129
        ]
      },
      {
        "label": "User.lynkdis",
        "data": [
          4,
          9,
          14,
          18,
          24,
          29,
          35,
          40,
          45,
          51,
          57,
          63,
          68,
          76,
          80,
          88,
          92,
          101,
          106,
          113
        ]
      },
      {
        "label": "System.lynkdis",
        "data": [
          5,
          11,
          17,
          22,
          28,
          34,
          40,
          46,
          51,
          57,
          63,
          69,
          75,
          81,
          87,
          93,
          98,
          104,
          110,
          116
        ]
      }
    ]
  }
}
comments loading