acelyc111 commented on PR #1610:
URL: 
https://github.com/apache/incubator-pegasus/pull/1610#issuecomment-1722980512

   This is the difference between without and with this patch on my develop 
enviroment by command:
   ```
   ./run.sh bench --num 1000000 --thread_num 10
   ```
   There is a little performance jitter and the difference is very small.
   
   ```diff --git a/without_the_patch b/with_the_patch
   diff --git a/without_the_patch b/with_the_patch
   index e4c4b1e..a8241f5 100644
   --- a/without_the_patch
   +++ b/with_the_patch
   @@ -6,61 +6,64 @@ Values:         100 bytes each
    Entries:        1000000
    FileSize:       125 MB (estimated)
    ------------------------------------------------
   -... finished 600000 ops
    Statistics for write:  s
   -108.9833871 micros/op; 9175 ops/sec; 1.1543043701199116 MB/s
   -Count: 10000000 Average: 1089.5418  StdDev: 392.73
   -Min: 251  Median: 1041.3644  Max: 32637
   -Percentiles: P50: 1041.36 P75: 1274.21 P99: 2715.24 P99.9: 3598.94 P99.99: 
4340.74
   +107.17954869999998 micros/op; 9330 ops/sec; 1.1737313837000698 MB/s
   +Count: 10000000 Average: 1071.2726  StdDev: 428.70
   +Min: 188  Median: 1022.1566  Max: 63136
   +Percentiles: P50: 1022.16 P75: 1264.04 P99: 2734.62 P99.9: 4172.06 P99.99: 
8402.93
    ------------------------------------------------------
   -(     250,     380 ]     2149   0.021%   0.021%
   -(     380,     580 ]   255741   2.557%   2.579% #
   -(     580,     870 ]  2902205  29.022%  31.601% ######
   -(     870,    1300 ]  4616823  46.168%  77.769% #########
   -(    1300,    1900 ]  1763391  17.634%  95.403% ####
   -(    1900,    2900 ]   441211   4.412%  99.815% #
   -(    2900,    4400 ]    18199   0.182%  99.997%
   -(    4400,    6600 ]      132   0.001%  99.999%
   -(    6600,    9900 ]       99   0.001% 100.000%
   -(    9900,   14000 ]       40   0.000% 100.000%
   -(   22000,   33000 ]       10   0.000% 100.000%
   +(     170,     250 ]      715   0.007%   0.007%
   +(     250,     380 ]    59628   0.596%   0.603%
   +(     380,     580 ]   425450   4.255%   4.858% #
   +(     580,     870 ]  2941615  29.416%  34.274% ######
   +(     870,    1300 ]  4444200  44.442%  78.716% #########
   +(    1300,    1900 ]  1683032  16.830%  95.546% ###
   +(    1900,    2900 ]   413791   4.138%  99.684% #
   +(    2900,    4400 ]    25434   0.254%  99.939%
   +(    4400,    6600 ]     4239   0.042%  99.981%
   +(    6600,    9900 ]     1640   0.016%  99.997%
   +(    9900,   14000 ]      223   0.002% 100.000%
   +(   14000,   22000 ]       22   0.000% 100.000%
   +(   22000,   33000 ]        1   0.000% 100.000%
   +(   50000,   75000 ]       10   0.000% 100.000%
   
    Statistics for read:  ps
   -32.24271819999999 micros/op; 31014 ops/sec; 3.90165615751342 MB/s (1000000 
of 1000000 found) (1000000 of 1000000 found) (1000000 of 1000000 found) 
(1000000 of 1000000 found) (1000000 of 1000000 found) (1000000 of 1000000 
found) (1000000 of 1000000 found) (1000000 of 1000000 found) (1000000 of 
1000000 found) (1000000 of 1000000 found)
   -Count: 10000000 Average: 322.2425  StdDev: 67.90
   -Min: 112  Median: 319.7637  Max: 8046
   -Percentiles: P50: 319.76 P75: 366.80 P99: 570.87 P99.9: 721.83 P99.99: 
867.51
   +31.3435503 micros/op; 31904 ops/sec; 4.01358489373171 MB/s (1000000 of 
1000000 found) (1000000 of 1000000 found) (1000000 of 1000000 found) (1000000 
of 1000000 found) (1000000 of 1000000 found) (1000000 of 1000000 found) 
(1000000 of 1000000 found) (1000000 of 1000000 found) (1000000 of 1000000 
found) (1000000 of 1000000 found)
   +Count: 10000000 Average: 313.2271  StdDev: 88.74
   +Min: 54  Median: 315.0624  Max: 18272
   +Percentiles: P50: 315.06 P75: 363.26 P99: 570.11 P99.9: 769.63 P99.99: 
2541.81
    ------------------------------------------------------
   -(     110,     170 ]     7719   0.077%   0.077%
   -(     170,     250 ]  1284654  12.847%  12.924% ###
   -(     250,     380 ]  6908917  69.089%  82.013% ##############
   -(     380,     580 ]  1779948  17.799%  99.812% ####
   -(     580,     870 ]    17916   0.179%  99.992%
   -(     870,    1300 ]      580   0.006%  99.997%
   -(    1300,    1900 ]      201   0.002%  99.999%
   -(    1900,    2900 ]       27   0.000% 100.000%
   -(    2900,    4400 ]       24   0.000% 100.000%
   -(    4400,    6600 ]        7   0.000% 100.000%
   -(    6600,    9900 ]        7   0.000% 100.000%
   +(      51,      76 ]     1762   0.018%   0.018%
   +(      76,     110 ]    93866   0.939%   0.956%
   +(     110,     170 ]   354520   3.545%   4.501% #
   +(     170,     250 ]  1175298  11.753%  16.254% ##
   +(     250,     380 ]  6742634  67.426%  83.681% #############
   +(     380,     580 ]  1611617  16.116%  99.797% ###
   +(     580,     870 ]    15756   0.158%  99.955%
   +(     870,    1300 ]     2006   0.020%  99.975%
   +(    1300,    1900 ]     1059   0.011%  99.985%
   +(    1900,    2900 ]      751   0.008%  99.993%
   +(    2900,    4400 ]      521   0.005%  99.998%
   +(    4400,    6600 ]      141   0.001%  99.999%
   +(    6600,    9900 ]       39   0.000% 100.000%
   +(    9900,   14000 ]       20   0.000% 100.000%
   +(   14000,   22000 ]       10   0.000% 100.000%
   
    Statistics for delete:
   -106.3613042 micros/op; 9401 ops/sec;
   -Count: 10000000 Average: 1063.1975  StdDev: 386.62
   -Min: 249  Median: 1014.1278  Max: 41105
   -Percentiles: P50: 1014.13 P75: 1255.56 P99: 2685.36 P99.9: 3430.81 P99.99: 
4327.29
   +106.3612982 micros/op; 9401 ops/sec;
   +Count: 10000000 Average: 1062.9884  StdDev: 378.81
   +Min: 269  Median: 1017.5398  Max: 13558
   +Percentiles: P50: 1017.54 P75: 1255.64 P99: 2671.50 P99.9: 3304.20 P99.99: 
4310.24
    ------------------------------------------------------
   -(     170,     250 ]        1   0.000%   0.000%
   -(     250,     380 ]     1987   0.020%   0.020%
   -(     380,     580 ]   295886   2.959%   2.979% #
   -(     580,     870 ]  3209727  32.097%  35.076% ######
   -(     870,    1300 ]  4452518  44.525%  79.601% #########
   -(    1300,    1900 ]  1630076  16.301%  95.902% ###
   -(    1900,    2900 ]   394476   3.945%  99.847% #
   -(    2900,    4400 ]    15059   0.151%  99.997%
   -(    4400,    6600 ]      122   0.001%  99.999%
   -(    6600,    9900 ]       77   0.001%  99.999%
   -(    9900,   14000 ]       41   0.000% 100.000%
   -(   14000,   22000 ]       20   0.000% 100.000%
   -(   33000,   50000 ]       10   0.000% 100.000%
   +(     250,     380 ]     1938   0.019%   0.019%
   +(     380,     580 ]   302185   3.022%   3.041% #
   +(     580,     870 ]  3146732  31.467%  34.509% ######
   +(     870,    1300 ]  4514932  45.149%  79.658% #########
   +(    1300,    1900 ]  1642549  16.425%  96.083% ###
   +(    1900,    2900 ]   378048   3.780%  99.864% #
   +(    2900,    4400 ]    13419   0.134%  99.998%
   +(    4400,    6600 ]       96   0.001%  99.999%
   +(    6600,    9900 ]       70   0.001% 100.000%
   +(    9900,   14000 ]       31   0.000% 100.000%
   
    dsn exit with code 0
   ```


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to