This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adenilson@hp:~/temp/zstd/examples$ time ./dictionary_trainer | |
### train_dictionary: start | |
### train_dictionary: start | |
### train_dictionary: start | |
### train_dictionary: start | |
### train_dictionary: start | |
### train_dictionary: start | |
##### populate_buffer_random | |
##### populate_buffer_random | |
### train_dictionary: start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
negge@canaan ~ $ htop | |
FATAL PROGRAM ERROR DETECTED | |
============================ | |
Please check at https://htop.dev/issues whether this issue has already been reported. | |
If no similar issue has been reported before, please create a new issue with the following information: | |
- Your htop version: '3.3.0' | |
- Your OS and kernel version (uname -a) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 0.000000] Linux version 5.10.4+ (remi@basile) (riscv64-linux-gnu-gcc (Debian 13.2.0-7) 13.2.0, GNU ld (GNU Binutils for Debian) 2.41.50.20231202) #1 SMP Wed Dec 6 13:08:50 EET 2023 | |
[ 0.000000] earlycon: sbi0 at I/O port 0x0 (options '') | |
[ 0.000000] printk: bootconsole [sbi0] enabled | |
[ 0.000000] efi: UEFI not found. | |
[ 0.000000] Zone ranges: | |
[ 0.000000] DMA32 [mem 0x0000000000200000-0x000000001fffffff] | |
[ 0.000000] Normal empty | |
[ 0.000000] Movable zone start for each node | |
[ 0.000000] Early memory node ranges | |
[ 0.000000] node 0: [mem 0x0000000000200000-0x000000001fffffff] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/third_party/zlib/contrib/tests/utils_unittest.cc b/third_party/zlib/contrib/tests/utils_unittest.cc | |
index 0cc10813775f3..6f01b93a7f135 100644 | |
--- a/third_party/zlib/contrib/tests/utils_unittest.cc | |
+++ b/third_party/zlib/contrib/tests/utils_unittest.cc | |
@@ -20,7 +20,8 @@ | |
#include "zlib.h" | |
-void TestPayloads(size_t input_size, zlib_internal::WrapperType type) { | |
+void TestPayloads(size_t input_size, zlib_internal::WrapperType type, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/third_party/zlib/contrib/tests/utils_unittest.cc b/third_party/zlib/contrib/tests/utils_unittest.cc | |
index 0cc10813775f3..6f01b93a7f135 100644 | |
--- a/third_party/zlib/contrib/tests/utils_unittest.cc | |
+++ b/third_party/zlib/contrib/tests/utils_unittest.cc | |
@@ -20,7 +20,8 @@ | |
#include "zlib.h" | |
-void TestPayloads(size_t input_size, zlib_internal::WrapperType type) { | |
+void TestPayloads(size_t input_size, zlib_internal::WrapperType type, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index b44b4e6..2e99983 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -86,7 +86,7 @@ if (ENABLE_SIMD_OPTIMIZATIONS) | |
#TODO(cavalcantii): add remaining flags as we port optimizations to RVV. | |
# Required by CPU features detection code. | |
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --target=riscv64-unknown-linux-gnu -march=rv64gcv -munaligned-access") | |
+ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --target=riscv64-unknown-linux-gnu -march=rv64gcv -mno-strict-align") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adenilson@canaan ~/chunky/tot $ ./zlib_bench gzip ~/corpus/chunky_bad/* | |
/home/adenilson/corpus/chunky_bad/asyoulik.txt : | |
GZIP: [b 1M] bytes 125179 -> 48593 38.82% comp 3.5 ( 3.5) MB/s uncomp 72.9 ( 73.1) MB/s | |
/home/adenilson/corpus/chunky_bad/baddata1.snappy : | |
GZIP: [b 1M] bytes 27512 -> 23255 84.53% comp 6.5 ( 6.5) MB/s uncomp 63.0 ( 63.0) MB/s | |
/home/adenilson/corpus/chunky_bad/fireworks.jpeg : | |
GZIP: [b 1M] bytes 123093 -> 122930 99.87% comp 5.9 ( 5.9) MB/s uncomp 160.1 (160.1) MB/s | |
/home/adenilson/corpus/chunky_bad/paper-100k.pdf : | |
GZIP: [b 1M] bytes 102400 -> 81570 79.66% comp 6.1 ( 6.1) MB/s uncomp 76.4 ( 76.4) MB/s | |
/home/adenilson/corpus/chunky_bad/plrabn12.txt : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@hp:/home/adenilson/Desktop/intel/risc/image# cu -l ttyACM0 | |
Connected. | |
boot failed with exit code 19 | |
U-Boot SPL 2022.10-00027-g761ca9d596 (Dec 06 2023 - 13:08:49 +0200) | |
00000000: PMU Major Msg: End of CA training | |
00000000: PMU Major Msg: End of initialization | |
00000000: PMU Major Msg: End of read enable training | |
00000000: PMU Major Msg: End of fine write leveling | |
00000000: PMU Major Msg: End of read dq deskew training |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/zlib-1.2.11-x86-64-SIMD-crc32.patch b/zlib-1.2.11-x86-64-SIMD-crc32.patch | |
new file mode 100644 | |
index 0000000..f2d7935 | |
--- /dev/null | |
+++ b/zlib-1.2.11-x86-64-SIMD-crc32.patch | |
@@ -0,0 +1,827 @@ | |
+From 0a1a7bf6c7ba29f7096447fd5bb4e36407e760d8 Mon Sep 17 00:00:00 2001 | |
+From: Adenilson Cavalcanti <cavalcantii@chromium.org> | |
+Date: Thu, 29 Feb 2024 17:52:35 -0800 | |
+Subject: [PATCH] Add a SIMD optimized CRC-32, should help considerable for |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adenilson@Adenilsons-Air lit_mem % ./zlib_unittests --gtest_filter="ZlibTest.DeflateZFixedCorruption" | |
Note: Google Test filter = ZlibTest.DeflateZFixedCorruption | |
[==========] Running 1 test from 1 test suite. | |
[----------] Global test environment set-up. | |
[----------] 1 test from ZlibTest | |
[ RUN ] ZlibTest.DeflateZFixedCorruption | |
[ OK ] ZlibTest.DeflateZFixedCorruption (2 ms) | |
[----------] 1 test from ZlibTest (2 ms total) | |
[----------] Global test environment tear-down |
NewerOlder