cyningsun commented on issue #3169:
URL: https://github.com/apache/kvrocks/issues/3169#issuecomment-3334626844

   ## 2st Round(Memory/Disk Ratio, 6:3.7)
   
   ### Client Side
   - Single Key EXISTS (0% hit, 50% hit, 100% hit)
   - 2 Keys EXISTS (0% hit, 50% hit, 100% hit)
   - 3 Keys EXISTS (0% hit, 50% hit, 100% hit)
   - 5 Keys EXISTS (0% hit, 50% hit, 100% hit)
   - 10 Keys EXISTS (0% hit, 50% hit, 100% hit)
   
   > more scenarios with different keys are added to confirm the impact of the 
number of keys 
   
   ### Server side
   **Kvrocks core configurations**
   
   ```sh
   rocksdb.block_cache_size 2024
   ```
   
   ```sh
   systemd-run --scope --property=CPUQuota=600% --property=MemoryMax=6G 
./kvrocks-baseline -c ../kvrocks.conf
   ```
   
   > memory& block cache is increased to verify full memory hit scenarios
   
   ## Performance results
   
   | KEY Number | Test  Scenario | Optimized | Baseline | QPS | Samples |
   |---------|------|-----------|----------|----------|--------|
   | **1-Key** | 0% Hit | 108,471±10,094 | 115,225±9,159 | **-5.86%** | 9/9 |
   | | Random | 99,408±5,312 | 102,604±7,129 | **-3.12%** | 9/9 |
   | | 100% Hit | 85,996±10,000 | 98,568±6,305 | **-12.75%** | 9/8 |
   | **2-Key** | 0% Hit | 102,198±8,977 | 109,244±4,600 | **-6.45%** | 9/9 |
   | | Random | 83,008±9,668 | 92,535±6,864 | **-10.30%** | 9/9 |
   | | 100% Hit | 61,147±6,925 | 77,361±7,678 | **-20.96%** | 9/9 |
   | **3-Key** | 0% Hit | 104,107±7,213 | 103,640±8,009 | **+0.45%** | 9/9 |
   | | Random | 64,250±5,672 | 80,313±7,174 | **-20.00%** | 7/8 |
   | | 100% Hit | 53,666±4,641 | 52,662±5,887 | **+1.91%** | 8/6 |
   | **5-Key** | 0% Hit | 98,686±5,088 | 96,161±5,003 | **+2.63%** | 9/8 |
   | | Random | 51,699±4,220 | 67,390±7,113 | **-23.28%** | 8/7 |
   | | 100% Hit | 32,736±2,989 | 37,946±4,992 | **-13.73%** | 6/5 |
   | **10-Key** | 0% Hit | 75,275±8,696 | 74,361±7,120 | **+1.23%** | 9/9 |
   | | Random | 31,080±1,732 | 36,520±4,033 | **-14.90%** | 7/8 |
   | | 100% Hit | 17,570±1,947 | 27,273±3,436 | **-35.58%** | 7/7 |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to