mapleFU commented on issue #40845: URL: https://github.com/apache/arrow/issues/40845#issuecomment-2041489932
``` # --- demo128 # compressing 128 integers # format: bit width, pack in cycles per int, unpack in cycles per int 1 rdtsc_overhead set to 42 1.14 1.55 2 1.12 1.50 3 1.19 1.55 4 0.88 1.92 5 1.11 1.70 6 1.20 1.67 7 1.34 1.70 8 1.03 1.91 9 1.53 1.70 10 1.58 1.73 11 1.67 1.73 12 1.62 1.97 13 1.73 1.83 14 1.75 1.89 15 1.62 1.91 16 0.41 1.95 17 1.86 1.94 18 1.83 2.02 19 1.91 1.97 20 1.75 2.19 21 1.94 2.14 22 1.69 2.14 23 1.78 2.19 24 1.34 2.20 25 1.70 2.36 26 1.73 2.36 27 1.75 2.34 28 1.58 2.62 29 1.78 2.20 30 1.86 2.31 31 1.97 2.31 32 0.36 0.34 # --- turbodemo128 # compressing 128 integers # format: bit width, pack in cycles per int, unpack in cycles per int 1 1.00 1.92 2 1.00 1.56 3 1.00 1.55 4 1.36 1.53 5 1.00 1.59 6 1.00 1.38 7 1.08 1.70 8 1.14 1.91 9 1.28 1.92 10 1.23 1.72 11 1.33 1.94 12 1.30 1.67 13 1.33 1.95 14 1.33 1.73 15 1.38 1.95 16 1.14 1.91 17 1.42 1.91 18 1.31 1.70 19 1.42 1.91 20 1.33 1.72 21 1.50 1.92 22 1.56 1.75 23 1.69 1.95 24 1.39 1.95 25 1.83 1.95 26 1.81 1.83 27 1.78 1.95 28 1.62 1.88 29 1.92 1.97 30 1.94 1.92 31 1.97 2.02 32 0.36 1.77 # --- bmidemo128 # compressing 128 integers # format: bit width, pack in cycles per int, unpack in cycles per int 1 1.00 0.47 2 1.00 0.45 3 1.00 0.50 4 1.36 0.45 5 1.00 0.53 6 1.00 1.36 7 1.08 1.70 8 1.14 1.91 9 1.28 1.94 10 1.23 1.72 11 1.33 1.94 12 1.30 1.67 13 1.33 1.95 14 1.33 1.73 15 1.38 1.95 16 1.14 1.91 17 1.42 1.92 18 1.31 1.69 19 1.42 1.91 20 1.33 1.70 21 1.50 1.94 22 1.56 1.75 23 1.69 1.95 24 1.39 1.94 25 1.83 1.94 26 1.81 1.83 27 1.78 1.95 28 1.62 1.88 29 1.92 1.97 30 1.94 1.92 31 1.97 2.03 32 0.36 1.75 # --- horizontaldemo128 # compressing 128 integers # format: bit width, pack in cycles per int, unpack in cycles per int 1 1.16 0.66 2 1.12 0.66 3 1.19 0.66 4 0.88 0.69 5 1.11 0.72 6 1.20 0.70 7 1.34 0.67 8 1.03 0.34 9 1.52 0.69 10 1.56 0.67 11 1.67 0.67 12 1.62 0.69 13 1.73 0.70 14 1.75 0.69 15 1.62 0.67 16 0.41 0.34 17 1.86 0.69 18 1.83 0.69 19 1.91 0.70 20 1.75 0.69 21 1.94 0.70 22 1.67 0.70 23 1.78 0.69 24 1.34 0.34 25 1.72 0.69 26 1.73 0.69 27 1.75 0.89 28 1.58 0.69 29 1.78 1.03 30 1.86 1.09 31 1.97 1.05 32 0.36 0.33 # --- scdemo128 # compressing 128 integers # format: bit width, pack in cycles per int, unpack in cycles per int 1 1.00 1.14 2 1.00 0.83 3 1.00 1.11 4 1.34 0.84 5 1.00 1.19 6 1.00 1.20 7 1.08 1.23 8 1.14 1.14 9 1.28 1.27 10 1.23 1.28 11 1.33 1.31 12 1.30 1.28 13 1.33 1.34 14 1.33 1.34 15 1.38 1.38 16 1.12 1.12 17 1.42 1.39 18 1.31 1.41 19 1.42 1.44 20 1.33 1.42 21 1.50 1.50 22 1.55 1.50 23 1.69 1.55 24 1.39 1.44 25 1.81 1.58 26 1.83 1.58 27 1.78 1.61 28 1.62 1.59 29 1.91 1.47 30 1.92 1.67 31 1.97 1.70 32 0.36 0.36 ``` This benchmark runs benchmarks in Intel Xeon runs `LittleIntPacker`, seems bmi2 is faster ( author only implement 1-5 bitwidths for bmi2) -- 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]
