Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-4860

Estimated Row Cache Entry size incorrect (always 24?)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.2.0 beta 3
    • None
    • Normal

    Description

      After running for several hours the RowCacheSize was suspicious low (ie 70 something MB) I used CASSANDRA-4859 to measure the size and number of entries on a node:

      In [3]: 1560504./65021
      Out[3]: 24.0

      In [4]: 2149464./89561
      Out[4]: 24.0

      In [6]: 7216096./300785
      Out[6]: 23.990877204647838

      That's RowCacheSize/RowCacheNumEntires . Just to prove I don't have crazy small rows the mean size of the row keys in the saved cache is 67 and Compacted row mean size: 355. No jamm errors in the log

      Config notes:
      row_cache_provider: ConcurrentLinkedHashCacheProvider
      row_cache_size_in_mb: 2048

      Version info:

      • C*: 1.1.6
      • centos 2.6.32-220.13.1.el6.x86_64
      • java 6u31 Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)

      Attachments

        1. 0001-4860-v2.patch
          16 kB
          Vijay
        2. 0001-4860-v3.patch
          22 kB
          Vijay
        3. 0001-CASSANDRA-4860.patch
          1 kB
          Vijay
        4. 0001-CASSANDRA-4860-for-11.patch
          1 kB
          Vijay
        5. 4860-fix-row-index-entry.patch
          0.7 kB
          Carl Yeksigian
        6. 4860-perf-test.zip
          7 kB
          Vijay
        7. 4860-tests.patch
          1 kB
          Carl Yeksigian
        8. trunk-4860-revert.patch
          1 kB
          Ryan McGuire

        Activity

          People

            vijay2win@yahoo.com Vijay
            cburroughs Chris Burroughs
            Vijay
            Jonathan Ellis
            Ryan McGuire Ryan McGuire
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: