HBase
  1. HBase
  2. HBASE-9780

Total row num to write in PerformanceEvaluation vary on thread number

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Total row num to write in PerformanceEvaluation vary on thread number

          // Set total number of rows to write.
          this.R = this.R * N;
      

      Different row num may result in different random read perf. More threads, More rows, may less block cache hit raito.

      Should we make the total row num be immutable for different thread numer?

        Activity

        Hide
        Nick Dimiduk added a comment -

        I agree with your observation and with JM's assent.

        As an alternative, it might be useful to support a --dataSize, allowing the user to specify the total amount of data to be written/read. The harness could then calculate how to split that across clients.

        Show
        Nick Dimiduk added a comment - I agree with your observation and with JM's assent. As an alternative, it might be useful to support a --dataSize , allowing the user to specify the total amount of data to be written/read. The harness could then calculate how to split that across clients.
        Hide
        Jean-Marc Spaggiari added a comment -

        Hi Liu,
        I figured that some time ago, but changing it will break the behavior compatibility between new versions and older versions. So I think we should "simply" document that and keep it like that.

        JM

        Show
        Jean-Marc Spaggiari added a comment - Hi Liu, I figured that some time ago, but changing it will break the behavior compatibility between new versions and older versions. So I think we should "simply" document that and keep it like that. JM

          People

          • Assignee:
            Liu Shaohui
            Reporter:
            Liu Shaohui
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development