Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.89 KB | None | 0 0
  1. $ git checkout tags/v1.1.3
  2. $ make install [tags/v1.1.3]
  3. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o common/entropy_common.o common/entropy_common.c
  4. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o common/error_private.o common/error_private.c
  5. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o common/fse_decompress.o common/fse_decompress.c
  6. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o common/pool.o common/pool.c
  7. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o common/threading.o common/threading.c
  8. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o common/xxhash.o common/xxhash.c
  9. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o common/zstd_common.o common/zstd_common.c
  10. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o compress/fse_compress.o compress/fse_compress.c
  11. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o compress/huf_compress.o compress/huf_compress.c
  12. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o compress/zstd_compress.o compress/zstd_compress.c
  13. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o compress/zstdmt_compress.o compress/zstdmt_compress.c
  14. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o decompress/huf_decompress.o decompress/huf_decompress.c
  15. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o decompress/zstd_decompress.o decompress/zstd_decompress.c
  16. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o dictBuilder/cover.o dictBuilder/cover.c
  17. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o dictBuilder/divsufsort.o dictBuilder/divsufsort.c
  18. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o dictBuilder/zdict.o dictBuilder/zdict.c
  19. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o deprecated/zbuff_common.o deprecated/zbuff_common.c
  20. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o deprecated/zbuff_compress.o deprecated/zbuff_compress.c
  21. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o deprecated/zbuff_decompress.o deprecated/zbuff_decompress.c
  22. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o legacy/zstd_v01.o legacy/zstd_v01.c
  23. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o legacy/zstd_v02.o legacy/zstd_v02.c
  24. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o legacy/zstd_v03.o legacy/zstd_v03.c
  25. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o legacy/zstd_v04.o legacy/zstd_v04.c
  26. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o legacy/zstd_v05.o legacy/zstd_v05.c
  27. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o legacy/zstd_v06.o legacy/zstd_v06.c
  28. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I. -I./common -DXXH_NAMESPACE=ZSTD_ -I./legacy -DZSTD_LEGACY_SUPPORT=1 -c -o legacy/zstd_v07.o legacy/zstd_v07.c
  29. compiling static library
  30. /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libzstd.a(threading.o) has no symbols
  31. compiling dynamic library 1.1.3
  32. ld: warning: directory not found for option '-L/usr/local/cudnn/lib:/usr/local/cuda/lib'
  33. creating versioned links
  34. creating pkgconfig
  35. Installing libraries
  36. Installing includes
  37. zstd static and shared library installed
  38. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I../lib -I../lib/common -I../lib/compress -I../lib/dictBuilder -I../lib/legacy -DZSTD_GZDECOMPRESS -DZSTD_LEGACY_SUPPORT=1 -c -o zstdcli.o zstdcli.c
  39. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I../lib -I../lib/common -I../lib/compress -I../lib/dictBuilder -I../lib/legacy -DZSTD_GZDECOMPRESS -DZSTD_LEGACY_SUPPORT=1 -c -o fileio.o fileio.c
  40. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I../lib -I../lib/common -I../lib/compress -I../lib/dictBuilder -I../lib/legacy -DZSTD_GZDECOMPRESS -DZSTD_LEGACY_SUPPORT=1 -c -o bench.o bench.c
  41. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I../lib -I../lib/common -I../lib/compress -I../lib/dictBuilder -I../lib/legacy -DZSTD_GZDECOMPRESS -DZSTD_LEGACY_SUPPORT=1 -c -o datagen.o datagen.c
  42. cc -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -I../lib -I../lib/common -I../lib/compress -I../lib/dictBuilder -I../lib/legacy -DZSTD_GZDECOMPRESS -DZSTD_LEGACY_SUPPORT=1 -c -o dibio.o dibio.c
  43. ==> building zstd with .gz decompression support
  44. cc -I../lib -I../lib/common -I../lib/compress -I../lib/dictBuilder -I../lib/legacy -DZSTD_GZDECOMPRESS -DZSTD_LEGACY_SUPPORT=1 -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -L/usr/local/cudnn/lib:/usr/local/cuda/lib -lz ../lib/decompress/huf_decompress.o ../lib/decompress/zstd_decompress.o ../lib/common/entropy_common.o ../lib/common/error_private.o ../lib/common/fse_decompress.o ../lib/common/pool.o ../lib/common/threading.o ../lib/common/xxhash.o ../lib/common/zstd_common.o ../lib/compress/fse_compress.o ../lib/compress/huf_compress.o ../lib/compress/zstd_compress.o ../lib/compress/zstdmt_compress.o ../lib/legacy/zstd_v01.o ../lib/legacy/zstd_v02.o ../lib/legacy/zstd_v03.o ../lib/legacy/zstd_v04.o ../lib/legacy/zstd_v05.o ../lib/legacy/zstd_v06.o ../lib/legacy/zstd_v07.o ../lib/dictBuilder/cover.o ../lib/dictBuilder/divsufsort.o ../lib/dictBuilder/zdict.o zstdcli.o fileio.o bench.o datagen.o dibio.o -o zstd -L/usr/local/cudnn/lib:/usr/local/cuda/lib -lz
  45. ld: warning: directory not found for option '-L/usr/local/cudnn/lib:/usr/local/cuda/lib'
  46. ld: warning: directory not found for option '-L/usr/local/cudnn/lib:/usr/local/cuda/lib'
  47. Installing binaries
  48. Installing man pages
  49. zstd installation completed
  50. $ make test
  51. /Library/Developer/CommandLineTools/usr/bin/make -C tests test
  52. /Library/Developer/CommandLineTools/usr/bin/make -C ../programs zstd
  53. ==> building zstd with .gz decompression support
  54. cc -I../lib -I../lib/common -I../lib/compress -I../lib/dictBuilder -I../lib/legacy -DZSTD_GZDECOMPRESS -DZSTD_LEGACY_SUPPORT=1 -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -L/usr/local/cudnn/lib:/usr/local/cuda/lib -lz ../lib/decompress/huf_decompress.o ../lib/decompress/zstd_decompress.o ../lib/common/entropy_common.o ../lib/common/error_private.o ../lib/common/fse_decompress.o ../lib/common/pool.o ../lib/common/threading.o ../lib/common/xxhash.o ../lib/common/zstd_common.o ../lib/compress/fse_compress.o ../lib/compress/huf_compress.o ../lib/compress/zstd_compress.o ../lib/compress/zstdmt_compress.o ../lib/legacy/zstd_v01.o ../lib/legacy/zstd_v02.o ../lib/legacy/zstd_v03.o ../lib/legacy/zstd_v04.o ../lib/legacy/zstd_v05.o ../lib/legacy/zstd_v06.o ../lib/legacy/zstd_v07.o ../lib/dictBuilder/cover.o ../lib/dictBuilder/divsufsort.o ../lib/dictBuilder/zdict.o zstdcli.o fileio.o bench.o datagen.o dibio.o -o zstd -L/usr/local/cudnn/lib:/usr/local/cuda/lib -lz
  55. ld: warning: directory not found for option '-L/usr/local/cudnn/lib:/usr/local/cuda/lib'
  56. ld: warning: directory not found for option '-L/usr/local/cudnn/lib:/usr/local/cuda/lib'
  57. cc -I../lib -I../lib/common -I../lib/compress -I../lib/dictBuilder -I../lib/deprecated -I../programs -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -L/usr/local/cudnn/lib:/usr/local/cuda/lib ../programs/datagen.c datagencli.c -o datagen
  58. ld: warning: directory not found for option '-L/usr/local/cudnn/lib:/usr/local/cuda/lib'
  59. file ../programs/zstd
  60. ../programs/zstd: Mach-O 64-bit executable x86_64
  61. ZSTD=" ../programs/zstd" ./playTests.sh --test-large-data
  62.  
  63. Starting playTests.sh isWindows=false ZSTD=' ../programs/zstd'
  64.  
  65. **** simple tests ****
  66.  
  67. test : basic compression
  68. tmp : 32.44% ( 65537 => 21262 bytes, tmp.zst)
  69. test : basic decompression
  70. tmp.zst : 65537 bytes
  71. test : too large compression level (must fail)
  72. Warning : compression level higher than max, reduced to 19
  73. tmp : 31.08% ( 65537 => 20372 bytes, tmp.zst)
  74. test : compress to stdout
  75. tmp : 32.44% ( 65537 => 21262 bytes, /*stdout*\)
  76. test : compress to named file
  77. tmp : 32.44% ( 65537 => 21262 bytes, tmpCompressed)
  78. tmpCompressed
  79. test : -o must be followed by filename (must fail)
  80. error : command must be followed by argument
  81. test : force write, correct order
  82. tmp : 32.44% ( 65537 => 21262 bytes, tmpCompressed)
  83. test : forgotten argument
  84. error : command must be followed by argument
  85. test : implied stdout when input is stdin
  86. bob
  87. test : null-length file roundtrip
  88. -n
  89. test : decompress file with wrong suffix (must fail)
  90. zstd: tmpCompressed: unknown suffix (.zst/.gz expected) -- ignored
  91. zstd: tmp: unknown suffix (.zst/.gz expected) -- ignored
  92. test : decompress into stdout
  93. tmpCompressed : 65537 bytes
  94. tmpCompressed : 65537 bytes
  95. test : decompress from stdin into stdout
  96. test : impose memory limitation (must fail)
  97. Error 36 : Decoding error : Frame requires too much memory for decoding
  98. Error 36 : Decoding error : Frame requires too much memory for decoding
  99. Error 36 : Decoding error : Frame requires too much memory for decoding
  100. Error 36 : Decoding error : Frame requires too much memory for decoding
  101. test : overwrite protection
  102. zstd: tmp.zst already exists; not overwritten
  103. test : force overwrite
  104. test : file removal
  105. tmp : 32.44% ( 65537 => 21262 bytes, tmp.zst)
  106. ls: tmp: No such file or directory
  107. tmp.zst : 65537 bytes
  108. ls: tmp.zst: No such file or directory
  109. zstd: tmp is not a regular file -- ignored
  110. ls: tmp.zst: No such file or directory
  111.  
  112. **** Advanced compression parameters ****
  113. Incorrect parameters
  114. Usage :
  115. zstd [args] [FILE(s)] [-o file]
  116.  
  117. FILE : a filename
  118. with no FILE, or when FILE is - , read standard input
  119. Arguments :
  120. -# : # compression level (1-19, default:3)
  121. -d : decompression
  122. -D file: use `file` as Dictionary
  123. -o file: result stored into `file` (only if 1 input file)
  124. -f : overwrite output without prompting
  125. --rm : remove source file(s) after successful de/compression
  126. -k : preserve source file(s) (default)
  127. -h/-H : display help/long help and exit
  128. Incorrect parameters
  129. Usage :
  130. zstd [args] [FILE(s)] [-o file]
  131.  
  132. FILE : a filename
  133. with no FILE, or when FILE is - , read standard input
  134. Arguments :
  135. -# : # compression level (1-19, default:3)
  136. -d : decompression
  137. -D file: use `file` as Dictionary
  138. -o file: result stored into `file` (only if 1 input file)
  139. -f : overwrite output without prompting
  140. --rm : remove source file(s) after successful de/compression
  141. -k : preserve source file(s) (default)
  142. -h/-H : display help/long help and exit
  143. Incorrect parameters
  144. Usage :
  145. zstd [args] [FILE(s)] [-o file]
  146.  
  147. FILE : a filename
  148. with no FILE, or when FILE is - , read standard input
  149. Arguments :
  150. -# : # compression level (1-19, default:3)
  151. -d : decompression
  152. -D file: use `file` as Dictionary
  153. -o file: result stored into `file` (only if 1 input file)
  154. -f : overwrite output without prompting
  155. --rm : remove source file(s) after successful de/compression
  156. -k : preserve source file(s) (default)
  157. -h/-H : display help/long help and exit
  158. ls: tmp.zst: No such file or directory
  159. roundTripTest: ./datagen -g512K | ../programs/zstd -v | ../programs/zstd -d
  160.  
  161. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  162.  
  163. /*stdin*\ : 32.54% (524288 => 170609 bytes, /*stdout*\)
  164. roundTripTest: ./datagen -g512K | ../programs/zstd -v --zstd=slen=3,tlen=48,strat=6 | ../programs/zstd -d
  165.  
  166. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  167. Read : 0 MB ==> 30.83%
  168. /*stdin*\ : 31.13% (524288 => 163185 bytes, /*stdout*\)
  169. roundTripTest: ./datagen -g512K | ../programs/zstd -v --zstd=strat=6,wlog=23,clog=23,hlog=22,slog=6 | ../programs/zstd -d
  170.  
  171. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  172. Read : 0 MB ==> 30.65%
  173. /*stdin*\ : 30.98% (524288 => 162423 bytes, /*stdout*\)
  174. roundTripTest: ./datagen -g512K | ../programs/zstd -v --zstd=windowLog=23,chainLog=23,hashLog=22,searchLog=6,searchLength=3,targetLength=48,strategy=6 | ../programs/zstd -d
  175.  
  176. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  177. Read : 0 MB ==> 31.27%
  178. /*stdin*\ : 30.97% (524288 => 162386 bytes, /*stdout*\)
  179. roundTripTest: ./datagen -g512K | ../programs/zstd -v19 | ../programs/zstd -d
  180.  
  181. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  182. Read : 0 MB ==> 31.27%
  183. /*stdin*\ : 30.97% (524288 => 162386 bytes, /*stdout*\)
  184.  
  185. **** Pass-Through mode ****
  186. Hello world 1!
  187. Hello world 2!
  188. Hello world 3!
  189.  
  190. **** frame concatenation ****
  191. hello.tmp :285.71% ( 7 => 20 bytes, /*stdout*\)
  192. world.tmp :285.71% ( 7 => 20 bytes, /*stdout*\)
  193. helloworld.zstd : 14 bytes
  194. hello
  195. world!
  196. frame concatenation without checksum
  197. hello.tmp :228.57% ( 7 => 16 bytes, /*stdout*\)
  198. world.tmp :228.57% ( 7 => 16 bytes, /*stdout*\)
  199. helloworld.zstd : 14 bytes
  200. hello
  201. world!
  202. frame concatenation tests completed
  203.  
  204. **** flush write error test ****
  205. echo foo | ../programs/zstd > /dev/full
  206. ./playTests.sh: line 154: /dev/full: Operation not permitted
  207. echo foo | ../programs/zstd | ../programs/zstd -d > /dev/full
  208. ./playTests.sh: line 156: /dev/full: Operation not permitted
  209.  
  210. **** test sparse file support ****
  211.  
  212. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  213. tmpSparse : 0.01% (5242880 => 548 bytes, /*stdout*\)
  214. /*stdin*\ : 5242880 bytes
  215. Files tmpSparse and tmpSparseRegen are identical
  216. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  217. tmpSparse : 0.01% (5242880 => 548 bytes, /*stdout*\)
  218. /*stdin*\ : 5242880 bytes
  219. Files tmpSparse and tmpOutSparse are identical
  220. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  221. tmpSparse : 0.01% (5242880 => 548 bytes, /*stdout*\)
  222. /*stdin*\ : 5242880 bytes
  223. Files tmpSparse and tmpOutNoSparse are identical
  224. 10240 -rw-r--r-- 1 dela staff 5242880 Jun 26 22:13 tmpSparse
  225. 10240 -rw-r--r-- 1 dela staff 5242880 Jun 26 22:13 tmpSparseRegen
  226. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  227.  
  228. /*stdin*\ : 1200007 bytes
  229.  
  230. Files - and tmpSparseOdd are identical
  231. 2344 -rw-r--r-- 1 dela staff 1200007 Jun 26 22:13 tmpSparseOdd
  232.  
  233. Sparse Compatibility with Console :
  234. Hello World 1 !
  235. Hello World 2 !
  236.  
  237. Sparse Compatibility with Append :
  238.  
  239. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  240. tmpSparse1M : 0.01% (1048576 => 118 bytes, tmpSparseCompressed)
  241. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  242. tmpSparseCompressed : 1048576 bytes
  243. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  244. tmpSparseCompressed : 1048576 bytes
  245. 10240 -rw-r--r-- 1 dela staff 5242880 Jun 26 22:13 tmpSparse
  246. 2048 -rw-r--r-- 1 dela staff 1048576 Jun 26 22:13 tmpSparse1M
  247. 4096 -rw-r--r-- 1 dela staff 2097152 Jun 26 22:13 tmpSparse2M
  248. 8 -rw-r--r-- 1 dela staff 118 Jun 26 22:13 tmpSparseCompressed
  249. 2344 -rw-r--r-- 1 dela staff 1200007 Jun 26 22:13 tmpSparseOdd
  250. 10240 -rw-r--r-- 1 dela staff 5242880 Jun 26 22:13 tmpSparseRegen
  251. 4096 -rw-r--r-- 1 dela staff 2097152 Jun 26 22:13 tmpSparseRegenerated
  252.  
  253. **** multiple files tests ****
  254. compress tmp* :
  255. 136 -rw-r--r-- 1 dela staff 65537 Jun 26 22:13 tmp1
  256. 48 -rw-r--r-- 1 dela staff 21665 Jun 26 22:13 tmp1.zst
  257. 200 -rw-r--r-- 1 dela staff 102400 Jun 26 22:13 tmp2
  258. 72 -rw-r--r-- 1 dela staff 32782 Jun 26 22:13 tmp2.zst
  259. 2048 -rw-r--r-- 1 dela staff 1048576 Jun 26 22:13 tmp3
  260. 672 -rw-r--r-- 1 dela staff 342528 Jun 26 22:13 tmp3.zst
  261. 48 -rw-r--r-- 1 dela staff 21262 Jun 26 22:12 tmpCompressed
  262. 48 -rw-r--r-- 1 dela staff 21276 Jun 26 22:12 tmpCompressed.zst
  263. 10240 -rw-r--r-- 1 dela staff 5242880 Jun 26 22:13 tmpOutNoSparse
  264. 8 -rw-r--r-- 1 dela staff 548 Jun 26 22:13 tmpOutNoSparse.zst
  265. 10240 -rw-r--r-- 1 dela staff 5242880 Jun 26 22:13 tmpOutSparse
  266. 8 -rw-r--r-- 1 dela staff 548 Jun 26 22:13 tmpOutSparse.zst
  267. 136 -rw-r--r-- 1 dela staff 65537 Jun 26 22:12 tmpResult
  268. 48 -rw-r--r-- 1 dela staff 21254 Jun 26 22:12 tmpResult.zst
  269. decompress tmp* :
  270. 136 -rw-r--r-- 1 dela staff 65537 Jun 26 22:13 tmp1
  271. 48 -rw-r--r-- 1 dela staff 21665 Jun 26 22:13 tmp1.zst
  272. 200 -rw-r--r-- 1 dela staff 102400 Jun 26 22:13 tmp2
  273. 72 -rw-r--r-- 1 dela staff 32782 Jun 26 22:13 tmp2.zst
  274. 2048 -rw-r--r-- 1 dela staff 1048576 Jun 26 22:13 tmp3
  275. 672 -rw-r--r-- 1 dela staff 342528 Jun 26 22:13 tmp3.zst
  276. 48 -rw-r--r-- 1 dela staff 21262 Jun 26 22:12 tmpCompressed
  277. 48 -rw-r--r-- 1 dela staff 21276 Jun 26 22:12 tmpCompressed.zst
  278. 10240 -rw-r--r-- 1 dela staff 5242880 Jun 26 22:13 tmpOutNoSparse
  279. 8 -rw-r--r-- 1 dela staff 548 Jun 26 22:13 tmpOutNoSparse.zst
  280. 10240 -rw-r--r-- 1 dela staff 5242880 Jun 26 22:13 tmpOutSparse
  281. 8 -rw-r--r-- 1 dela staff 548 Jun 26 22:13 tmpOutSparse.zst
  282. 136 -rw-r--r-- 1 dela staff 65537 Jun 26 22:12 tmpResult
  283. 48 -rw-r--r-- 1 dela staff 21254 Jun 26 22:12 tmpResult.zst
  284. compress tmp* into stdout > tmpall :
  285. 136 -rw-r--r-- 1 dela staff 65537 Jun 26 22:13 tmp1
  286. 48 -rw-r--r-- 1 dela staff 21665 Jun 26 22:13 tmp1.zst
  287. 200 -rw-r--r-- 1 dela staff 102400 Jun 26 22:13 tmp2
  288. 72 -rw-r--r-- 1 dela staff 32782 Jun 26 22:13 tmp2.zst
  289. 2048 -rw-r--r-- 1 dela staff 1048576 Jun 26 22:13 tmp3
  290. 672 -rw-r--r-- 1 dela staff 342528 Jun 26 22:13 tmp3.zst
  291. 48 -rw-r--r-- 1 dela staff 21262 Jun 26 22:12 tmpCompressed
  292. 48 -rw-r--r-- 1 dela staff 21276 Jun 26 22:12 tmpCompressed.zst
  293. 10240 -rw-r--r-- 1 dela staff 5242880 Jun 26 22:13 tmpOutNoSparse
  294. 8 -rw-r--r-- 1 dela staff 548 Jun 26 22:13 tmpOutNoSparse.zst
  295. 10240 -rw-r--r-- 1 dela staff 5242880 Jun 26 22:13 tmpOutSparse
  296. 8 -rw-r--r-- 1 dela staff 548 Jun 26 22:13 tmpOutSparse.zst
  297. 136 -rw-r--r-- 1 dela staff 65537 Jun 26 22:12 tmpResult
  298. 48 -rw-r--r-- 1 dela staff 21254 Jun 26 22:12 tmpResult.zst
  299. 776 -rw-r--r-- 1 dela staff 396975 Jun 26 22:13 tmpall
  300. decompress tmpall* into stdout > tmpdec :
  301. 136 -rw-r--r-- 1 dela staff 65537 Jun 26 22:13 tmp1
  302. 48 -rw-r--r-- 1 dela staff 21665 Jun 26 22:13 tmp1.zst
  303. 200 -rw-r--r-- 1 dela staff 102400 Jun 26 22:13 tmp2
  304. 72 -rw-r--r-- 1 dela staff 32782 Jun 26 22:13 tmp2.zst
  305. 2048 -rw-r--r-- 1 dela staff 1048576 Jun 26 22:13 tmp3
  306. 672 -rw-r--r-- 1 dela staff 342528 Jun 26 22:13 tmp3.zst
  307. 48 -rw-r--r-- 1 dela staff 21262 Jun 26 22:12 tmpCompressed
  308. 48 -rw-r--r-- 1 dela staff 21276 Jun 26 22:12 tmpCompressed.zst
  309. 10240 -rw-r--r-- 1 dela staff 5242880 Jun 26 22:13 tmpOutNoSparse
  310. 8 -rw-r--r-- 1 dela staff 548 Jun 26 22:13 tmpOutNoSparse.zst
  311. 10240 -rw-r--r-- 1 dela staff 5242880 Jun 26 22:13 tmpOutSparse
  312. 8 -rw-r--r-- 1 dela staff 548 Jun 26 22:13 tmpOutSparse.zst
  313. 136 -rw-r--r-- 1 dela staff 65537 Jun 26 22:12 tmpResult
  314. 48 -rw-r--r-- 1 dela staff 21254 Jun 26 22:12 tmpResult.zst
  315. 776 -rw-r--r-- 1 dela staff 396975 Jun 26 22:13 tmpall
  316. 776 -rw-r--r-- 1 dela staff 396975 Jun 26 22:13 tmpall2
  317. 4760 -rw-r--r-- 1 dela staff 2433026 Jun 26 22:13 tmpdec
  318. compress multiple files including a missing one (notHere) :
  319. zstd: notHere is not a regular file -- ignored
  320.  
  321. **** dictionary tests ****
  322.  
  323.  
  324.  
  325. - Create first dictionary
  326. ! Warning : nb of samples too low for proper processing !
  327. ! Please provide _one file per sample_.
  328. ! Do not concatenate samples together into a single file,
  329. ! as dictBuilder will be unable to find the beginning of each sample,
  330. ! resulting in poor dictionary quality.
  331. sorting 17 files of total size 0 MB ...
  332. finding patterns ...
  333. ! warning : selected content significantly smaller than requested (23335 < 112640)
  334. ! consider increasing the number of samples (total size : 0 MB)
  335. statistics ...
  336. Save dictionary of size 23490 into file tmpDict
  337. tmp : 22.52% ( 29872 => 6727 bytes, tmp.zst)
  338. tmp.zst : 29872 bytes
  339. - Create second (different) dictionary
  340. ! Warning : nb of samples too low for proper processing !
  341. ! Please provide _one file per sample_.
  342. ! Do not concatenate samples together into a single file,
  343. ! as dictBuilder will be unable to find the beginning of each sample,
  344. ! resulting in poor dictionary quality.
  345. sorting 23 files of total size 0 MB ...
  346. finding patterns ...
  347. ! warning : selected content significantly smaller than requested (25568 < 112640)
  348. ! consider increasing the number of samples (total size : 0 MB)
  349. statistics ...
  350. Save dictionary of size 25723 into file tmpDictC
  351. Error 36 : Decoding error : Dictionary mismatch
  352. - Create dictionary with short dictID
  353. ! Warning : nb of samples too low for proper processing !
  354. ! Please provide _one file per sample_.
  355. ! Do not concatenate samples together into a single file,
  356. ! as dictBuilder will be unable to find the beginning of each sample,
  357. ! resulting in poor dictionary quality.
  358. sorting 17 files of total size 0 MB ...
  359. finding patterns ...
  360. ! warning : selected content significantly smaller than requested (23335 < 112640)
  361. ! consider increasing the number of samples (total size : 0 MB)
  362. statistics ...
  363. Save dictionary of size 23490 into file tmpDict1
  364. tmpDict tmpDict1 differ: char 5, line 1
  365. - Create dictionary with wrong dictID parameter order (must fail)
  366. error : command must be followed by argument
  367. - Create dictionary with size limit
  368. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  369. Shuffling input files
  370. sorting 17 files of total size 0 MB ...
  371. finding patterns ...
  372. minimum ratio : 4
  373.  
  374. 1452 segments found, of total size 23335
  375. list 24 best segments
  376. 1: 31 bytes at pos 223426, savings 5147 bytes |) */. case '|
  377. 2:137 bytes at pos 147772, savings 5004 bytes |CSrcSize = FUZ_randomLength(&lseed, maxS|
  378. 3:108 bytes at pos 29284, savings 4422 bytes | += *argument - '0';. |
  379. 4: 35 bytes at pos 131970, savings 4359 bytes | decompression test */. if (|
  380. 5: 25 bytes at pos 99683, savings 3221 bytes | const char* dictFileName|
  381. 6:370 bytes at pos 6338, savings 3126 bytes |;.}./**. * Copyright (c) 2016-present, Y|
  382. 7: 79 bytes at pos 57880, savings 3048 bytes | cNoiseBuffer[0] = (BYTE*)malloc (srcB|
  383. 8: 58 bytes at pos 217108, savings 2676 bytes |; continue; }. if (!s|
  384. 9: 27 bytes at pos 215996, savings 2525 bytes | if (!strcmp(argument, "-|
  385. 10: 55 bytes at pos 305089, savings 2417 bytes | }. break;.. |
  386. 11: 69 bytes at pos 57880, savings 2345 bytes | cNoiseBuffer[0] = (BYTE*)malloc (srcB|
  387. 12: 42 bytes at pos 308081, savings 2034 bytes | continue;. case|
  388. 13: 56 bytes at pos 38790, savings 1807 bytes |) goto _output_error; }. DISPLAYLEVEL|
  389. 14: 28 bytes at pos 1554, savings 1670 bytes |T);. DISPLAY( " -P# : |
  390. 15: 31 bytes at pos 241025, savings 1604 bytes |const char* dictFileName, int c|
  391. 16: 30 bytes at pos 26102, savings 1587 bytes |\n");. DISPLAY( " -i# : |
  392. 17: 70 bytes at pos 150729, savings 1542 bytes |case 'v':. argument++|
  393. 18: 30 bytes at pos 19990, savings 1438 bytes |Flag = FUZ_rand(&lseed) & 1;. |
  394. 19: 25 bytes at pos 194142, savings 1429 bytes | g_cSize = ZSTD_compress(|
  395. 20:109 bytes at pos 211330, savings 1403 bytes |); if (stringPtr[0]==',') { stringPtr++;|
  396. 21: 30 bytes at pos 109458, savings 1369 bytes |/* Basic compression test */. |
  397. 22: 25 bytes at pos 178329, savings 1354 bytes | = ZSTD_compressBound(src|
  398. 23: 55 bytes at pos 41594, savings 1309 bytes |LEVEL(4, "OK \n");.. DISPLAYLEVEL|
  399. 24: 59 bytes at pos 50862, savings 1277 bytes |(dctx, decodedBuffer, CNBuffSize, compre|
  400. ! note : calculated dictionary significantly larger than requested (23335 > 4096)
  401. ! consider increasing dictionary size, or produce denser dictionary (-s1)
  402. ! always test dictionary efficiency on samples
  403. statistics ...
  404. Save dictionary of size 4096 into file tmpDict2
  405. - Create dictionary with wrong parameter order (must fail)
  406. error : command must be followed by argument
  407. - Compress without dictID
  408. tmp : 22.51% ( 29872 => 6723 bytes, tmp.zst)
  409. tmp.zst : 29872 bytes
  410. - Compress with wrong argument order (must fail)
  411. error : command must be followed by argument
  412. - Compress multiple files with dictionary
  413. md5sum -c not supported on OS-X : test skipped
  414.  
  415. **** cover dictionary tests ****
  416.  
  417. - Create first dictionary
  418. ! Warning : nb of samples too low for proper processing !
  419. ! Please provide _one file per sample_.
  420. ! Do not concatenate samples together into a single file,
  421. ! as dictBuilder will be unable to find the beginning of each sample,
  422. ! resulting in poor dictionary quality.
  423. Training on 17 samples of total size 310319
  424. Constructing partial suffix array
  425. Computing frequencies
  426. Building dictionary
  427. Breaking content into 2448 epochs of size 126
  428. Constructed dictionary of size 112640
  429. Save dictionary of size 112640 into file tmpDict
  430. tmp : 18.41% ( 29872 => 5500 bytes, tmp.zst)
  431. tmp.zst : 29872 bytes
  432. - Create second (different) dictionary
  433. ! Warning : nb of samples too low for proper processing !
  434. ! Please provide _one file per sample_.
  435. ! Do not concatenate samples together into a single file,
  436. ! as dictBuilder will be unable to find the beginning of each sample,
  437. ! resulting in poor dictionary quality.
  438. Training on 23 samples of total size 338749
  439. Constructing partial suffix array
  440. Computing frequencies
  441. Building dictionary
  442. Breaking content into 2011 epochs of size 168
  443. Constructed dictionary of size 112640
  444. Save dictionary of size 112640 into file tmpDictC
  445. Error 36 : Decoding error : Dictionary mismatch
  446. - Create dictionary with short dictID
  447. ! Warning : nb of samples too low for proper processing !
  448. ! Please provide _one file per sample_.
  449. ! Do not concatenate samples together into a single file,
  450. ! as dictBuilder will be unable to find the beginning of each sample,
  451. ! resulting in poor dictionary quality.
  452. Training on 17 samples of total size 310319
  453. Constructing partial suffix array
  454. Computing frequencies
  455. Building dictionary
  456. Breaking content into 2448 epochs of size 126
  457. Constructed dictionary of size 112640
  458. Save dictionary of size 112640 into file tmpDict1
  459. tmpDict tmpDict1 differ: char 5, line 1
  460. - Create dictionary with size limit
  461. Trying 54 different sets of parameters
  462. k=778
  463. d=6
  464. steps=8
  465. Save dictionary of size 4096 into file tmpDict2
  466.  
  467. **** integrity tests ****
  468. test one file (tmp1.zst)
  469.  
  470. tmp1 : 32.44% ( 65537 => 21262 bytes, tmp1.zst)
  471. tmp1.zst : 65537 bytes
  472. tmp1.zst : 65537 bytes
  473. test multiple files (*.zst)
  474. tmp1.zst : 65537 bytes
  475. test bad files (*)
  476. zstd: Makefile: not in zstd format
  477. zstd: README.md: not in zstd format
  478. zstd: datagen: not in zstd format
  479. zstd: datagen.dSYM is a directory -- ignored
  480. zstd: datagencli.c: not in zstd format
  481. zstd: fullbench.c: not in zstd format
  482. zstd: fuzzer.c: not in zstd format
  483. zstd: invalidDictionaries.c: not in zstd format
  484. zstd: longmatch.c: not in zstd format
  485. zstd: namespaceTest.c: not in zstd format
  486. zstd: paramgrill.c: not in zstd format
  487. zstd: playTests.sh: not in zstd format
  488. zstd: pool.c: not in zstd format
  489. zstd: result: unexpected end of file
  490. zstd: roundTripCrash.c: not in zstd format
  491. zstd: symbols.c: not in zstd format
  492. zstd: test-zstd-speed.py: not in zstd format
  493. zstd: test-zstd-versions.py: not in zstd format
  494. zstd: tmp1: not in zstd format
  495. zstd: zbufftest.c: not in zstd format
  496. zstd: zstreamtest.c: not in zstd format
  497. zstd: tmp1: not in zstd format
  498. zstd: tmp2.zst: not in zstd format
  499.  
  500. zstd: tmp3: unexpected end of file
  501. test --rm and --test combined
  502. tmp1.zst : 65537 bytes
  503. 48 -rw-r--r-- 1 dela staff 21262 Jun 26 22:13 tmp1.zst
  504.  
  505. **** benchmark mode tests ****
  506. bench one file
  507.  
  508. 3#tmp1 : 65537 -> 21249 (3.084), 20.8 MB/s , 89.7 MB/s
  509. bench multiple levels
  510. Benchmarking levels from 1 to 3
  511. 1#tmp1 : 65537 -> 21190 (3.093), 32.8 MB/s , 92.7 MB/s
  512. 2#tmp1 : 65537 -> 21073 (3.110), 34.0 MB/s , 87.6 MB/s
  513. 3#tmp1 : 65537 -> 21249 (3.084), 22.0 MB/s , 90.0 MB/s
  514. with recursive and quiet modes
  515. bench 1.1.3 : input 65537 bytes, 1 seconds, 0 KB blocks
  516. -1 21190 (3.093) 34.03 MB/s 97.1 MB/s tmp1
  517. -2 21073 (3.110) 34.75 MB/s 96.4 MB/s tmp1
  518. -3 21249 (3.084) 22.48 MB/s 92.7 MB/s tmp1
  519.  
  520. **** zstd round-trip tests ****
  521. roundTripTest: ./datagen | ../programs/zstd -v | ../programs/zstd -d
  522.  
  523. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  524.  
  525. /*stdin*\ : 32.43% ( 65537 => 21253 bytes, /*stdout*\)
  526. roundTripTest: ./datagen -g15K | ../programs/zstd -v | ../programs/zstd -d
  527.  
  528. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  529.  
  530. /*stdin*\ : 25.95% ( 15360 => 3986 bytes, /*stdout*\)
  531. roundTripTest: ./datagen -g127K | ../programs/zstd -v | ../programs/zstd -d
  532.  
  533. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  534.  
  535. /*stdin*\ : 31.99% (130048 => 41598 bytes, /*stdout*\)
  536. roundTripTest: ./datagen -g255K | ../programs/zstd -v | ../programs/zstd -d
  537.  
  538. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  539.  
  540. /*stdin*\ : 32.79% (261120 => 85629 bytes, /*stdout*\)
  541. roundTripTest: ./datagen -g513K | ../programs/zstd -v | ../programs/zstd -d
  542.  
  543. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  544.  
  545. /*stdin*\ : 32.60% (525312 => 171253 bytes, /*stdout*\)
  546. roundTripTest: ./datagen -g512K | ../programs/zstd -v6 | ../programs/zstd -d
  547.  
  548. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  549.  
  550. /*stdin*\ : 32.39% (524288 => 169819 bytes, /*stdout*\)
  551. roundTripTest: ./datagen -g512K | ../programs/zstd -v16 | ../programs/zstd -d
  552.  
  553. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  554.  
  555. /*stdin*\ : 32.32% (524288 => 169465 bytes, /*stdout*\)
  556. roundTripTest: ./datagen -g512K | ../programs/zstd -v19 | ../programs/zstd -d
  557.  
  558. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  559. Read : 0 MB ==> 31.27%
  560. /*stdin*\ : 30.97% (524288 => 162386 bytes, /*stdout*\)
  561. roundTripTest: ./datagen -g270000000 | ../programs/zstd -v1 | ../programs/zstd -d
  562.  
  563. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  564. Read : 256 MB ==> 31.66%
  565. /*stdin*\ : 31.65% (270000000 => 85467880 bytes, /*stdout*\)
  566. roundTripTest: ./datagen -g270000000 | ../programs/zstd -v2 | ../programs/zstd -d
  567.  
  568. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  569. Read : 257 MB ==> 31.42%
  570. /*stdin*\ : 31.42% (270000000 => 84843795 bytes, /*stdout*\)
  571. roundTripTest: ./datagen -g270000000 | ../programs/zstd -v3 | ../programs/zstd -d
  572.  
  573. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  574. Read : 256 MB ==> 32.52%
  575. /*stdin*\ : 32.52% (270000000 => 87799314 bytes, /*stdout*\)
  576. roundTripTest: ./datagen -g140000000 -P60 | ../programs/zstd -v4 | ../programs/zstd -d
  577.  
  578. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  579. Read : 133 MB ==> 27.76%
  580. /*stdin*\ : 27.76% (140000000 => 38868717 bytes, /*stdout*\)
  581. roundTripTest: ./datagen -g140000000 -P60 | ../programs/zstd -v5 | ../programs/zstd -d
  582.  
  583. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  584. Read : 132 MB ==> 26.96%
  585. /*stdin*\ : 26.95% (140000000 => 37727993 bytes, /*stdout*\)
  586. roundTripTest: ./datagen -g140000000 -P60 | ../programs/zstd -v6 | ../programs/zstd -d
  587.  
  588. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  589. Read : 132 MB ==> 27.26%
  590. /*stdin*\ : 27.26% (140000000 => 38157879 bytes, /*stdout*\)
  591. roundTripTest: ./datagen -g70000000 -P70 | ../programs/zstd -v7 | ../programs/zstd -d
  592.  
  593. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  594. Read : 66 MB ==> 21.48%
  595. /*stdin*\ : 21.48% (70000000 => 15036687 bytes, /*stdout*\)
  596. roundTripTest: ./datagen -g70000000 -P70 | ../programs/zstd -v8 | ../programs/zstd -d
  597.  
  598. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  599. Read : 66 MB ==> 21.35%
  600. /*stdin*\ : 21.35% (70000000 => 14943173 bytes, /*stdout*\)
  601. roundTripTest: ./datagen -g70000000 -P70 | ../programs/zstd -v9 | ../programs/zstd -d
  602.  
  603. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  604. Read : 66 MB ==> 21.34%
  605. /*stdin*\ : 21.34% (70000000 => 14937302 bytes, /*stdout*\)
  606. roundTripTest: ./datagen -g35000000 -P75 | ../programs/zstd -v10 | ../programs/zstd -d
  607.  
  608. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  609. Read : 32 MB ==> 18.46%
  610. /*stdin*\ : 18.46% (35000000 => 6462034 bytes, /*stdout*\)
  611. roundTripTest: ./datagen -g35000000 -P75 | ../programs/zstd -v11 | ../programs/zstd -d
  612.  
  613. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  614. Read : 32 MB ==> 18.63%
  615. /*stdin*\ : 18.62% (35000000 => 6516940 bytes, /*stdout*\)
  616. roundTripTest: ./datagen -g35000000 -P75 | ../programs/zstd -v12 | ../programs/zstd -d
  617.  
  618. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  619. Read : 33 MB ==> 18.62%
  620. /*stdin*\ : 18.62% (35000000 => 6518718 bytes, /*stdout*\)
  621. roundTripTest: ./datagen -g18000000 -P80 | ../programs/zstd -v13 | ../programs/zstd -d
  622.  
  623. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  624. Read : 16 MB ==> 15.93%
  625. /*stdin*\ : 15.92% (18000000 => 2865108 bytes, /*stdout*\)
  626. roundTripTest: ./datagen -g18000000 -P80 | ../programs/zstd -v14 | ../programs/zstd -d
  627.  
  628. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  629. Read : 17 MB ==> 15.92%
  630. /*stdin*\ : 15.92% (18000000 => 2866148 bytes, /*stdout*\)
  631. roundTripTest: ./datagen -g18000000 -P80 | ../programs/zstd -v15 | ../programs/zstd -d
  632.  
  633. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  634. Read : 16 MB ==> 15.90%
  635. /*stdin*\ : 15.88% (18000000 => 2859273 bytes, /*stdout*\)
  636. roundTripTest: ./datagen -g18000000 -P80 | ../programs/zstd -v16 | ../programs/zstd -d
  637.  
  638. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  639. Read : 16 MB ==> 15.96%
  640. /*stdin*\ : 15.94% (18000000 => 2869777 bytes, /*stdout*\)
  641. roundTripTest: ./datagen -g18000000 -P80 | ../programs/zstd -v17 | ../programs/zstd -d
  642.  
  643. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  644. Read : 17 MB ==> 13.88%
  645. /*stdin*\ : 13.88% (18000000 => 2498686 bytes, /*stdout*\)
  646. roundTripTest: ./datagen -g50000000 -P94 | ../programs/zstd -v18 | ../programs/zstd -d
  647.  
  648. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  649. Read : 47 MB ==> 7.75%
  650. /*stdin*\ : 7.75% (50000000 => 3876169 bytes, /*stdout*\)
  651. roundTripTest: ./datagen -g50000000 -P94 | ../programs/zstd -v19 | ../programs/zstd -d
  652.  
  653. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  654. Read : 47 MB ==> 7.77%
  655. /*stdin*\ : 7.77% (50000000 => 3884557 bytes, /*stdout*\)
  656. roundTripTest: ./datagen -g99000000 -P99 | ../programs/zstd -v20 | ../programs/zstd -d
  657.  
  658. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  659. Read : 94 MB ==> 5.90%
  660. /*stdin*\ : 5.90% (99000000 => 5843012 bytes, /*stdout*\)
  661. roundTripTest: ./datagen -g6000000000 -P99 | ../programs/zstd -v1 | ../programs/zstd -d
  662.  
  663. *** zstd command line interface 64-bits v1.1.3, by Yann Collet ***
  664. Read : 5715 MB ==> 9.42%
  665. /*stdin*\ : 9.42% (6000000000 => 565192847 bytes, /*stdout*\)
  666. cc -I../lib -I../lib/common -I../lib/compress -I../lib/dictBuilder -I../lib/deprecated -I../programs -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -L/usr/local/cudnn/lib:/usr/local/cuda/lib ../lib/decompress/huf_decompress.c ../lib/decompress/zstd_decompress.c ../lib/common/entropy_common.c ../lib/common/error_private.c ../lib/common/fse_decompress.c ../lib/common/pool.c ../lib/common/threading.c ../lib/common/xxhash.c ../lib/common/zstd_common.c ../lib/compress/fse_compress.c ../lib/compress/huf_compress.c ../lib/compress/zstd_compress.c ../lib/compress/zstdmt_compress.c ../programs/datagen.c fullbench.c -o fullbench
  667. ld: warning: directory not found for option '-L/usr/local/cudnn/lib:/usr/local/cuda/lib'
  668. ./fullbench -i1
  669. *** Zstandard speed analyzer 1.1.3 64-bits, by Yann Collet (Jun 26 2017) ***
  670. - 1 iterations -
  671. Sample 10MiB :
  672. 1- ZSTD_compress : 31.0 MB/s ( 3141931)
  673. 2- ZSTD_decompress : 96.2 MB/s ( 10000000)
  674. 11- ZSTD_compressContinue : 31.8 MB/s ( 3141927)
  675. 12- ZSTD_compressContinue_extDict : 33.7 MB/s ( 3141946)
  676. 13- ZSTD_decompressContinue : 97.0 MB/s ( 10000000)
  677. 31- ZSTD_decodeLiteralsBlock : 141.5 MB/s ( 36739)
  678. 32- ZSTD_decodeSeqHeaders : 7656.9 MB/s ( 74)
  679. 41- ZSTD_compressStream : 28.1 MB/s ( 3141927)
  680. 42- ZSTD_decompressStream : 81.4 MB/s ( 10000000)
  681. ./fullbench -i1 -P0
  682. *** Zstandard speed analyzer 1.1.3 64-bits, by Yann Collet (Jun 26 2017) ***
  683. - 1 iterations -
  684. Sample 10MiB :
  685. 1- ZSTD_compress : 265.2 MB/s ( 10000241)
  686. 2- ZSTD_decompress : 5547.5 MB/s ( 10000000)
  687. 11- ZSTD_compressContinue : 270.8 MB/s ( 10000237)
  688. 12- ZSTD_compressContinue_extDict : 229.6 MB/s ( 10000223)
  689. 13- ZSTD_decompressContinue : 5245.1 MB/s ( 10000000)
  690. ZSTD_decodeLiteralsBlock : impossible to test on this sample (not compressible)
  691. ZSTD_decodeSeqHeaders : impossible to test on this sample (not compressible)
  692. 41- ZSTD_compressStream : 247.6 MB/s ( 10000237)
  693. 42- ZSTD_decompressStream : 3790.4 MB/s ( 10000000)
  694. cc -I../lib -I../lib/common -I../lib/compress -I../lib/dictBuilder -I../lib/deprecated -I../programs -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -L/usr/local/cudnn/lib:/usr/local/cuda/lib ../lib/decompress/huf_decompress.c ../lib/decompress/zstd_decompress.c ../lib/common/entropy_common.c ../lib/common/error_private.c ../lib/common/fse_decompress.c ../lib/common/pool.c ../lib/common/threading.c ../lib/common/xxhash.c ../lib/common/zstd_common.c ../lib/compress/fse_compress.c ../lib/compress/huf_compress.c ../lib/compress/zstd_compress.c ../lib/compress/zstdmt_compress.c ../lib/dictBuilder/cover.c ../lib/dictBuilder/divsufsort.c ../lib/dictBuilder/zdict.c ../programs/datagen.c fuzzer.c -o fuzzer
  695. ld: warning: directory not found for option '-L/usr/local/cudnn/lib:/usr/local/cuda/lib'
  696. ./fuzzer -T5mn
  697. Starting zstd tester (64-bits, 1.1.3)
  698. Seed = 4915
  699. 1745 fuzzer tests completed
  700. cc -I../lib -I../lib/common -I../lib/compress -I../lib/dictBuilder -I../lib/deprecated -I../programs -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -L/usr/local/cudnn/lib:/usr/local/cuda/lib -pthread -DZSTD_MULTITHREAD ../lib/decompress/huf_decompress.c ../lib/decompress/zstd_decompress.c ../lib/common/entropy_common.c ../lib/common/error_private.c ../lib/common/fse_decompress.c ../lib/common/pool.c ../lib/common/threading.c ../lib/common/xxhash.c ../lib/common/zstd_common.c ../lib/compress/fse_compress.c ../lib/compress/huf_compress.c ../lib/compress/zstd_compress.c ../lib/compress/zstdmt_compress.c ../lib/dictBuilder/cover.c ../lib/dictBuilder/divsufsort.c ../lib/dictBuilder/zdict.c ../programs/datagen.c zstreamtest.c -o zstreamtest
  701. ld: warning: directory not found for option '-L/usr/local/cudnn/lib:/usr/local/cuda/lib'
  702. ./zstreamtest -T2mn
  703. Starting zstream tester (64-bits, 1.1.3)
  704. Seed = 9592
  705. 993 fuzzer tests completed
  706. 733 fuzzer tests completed
  707. cc -I../lib -I../lib/common -I../lib/compress -I../lib/dictBuilder -I../lib/deprecated -I../programs -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -L/usr/local/cudnn/lib:/usr/local/cuda/lib ../lib/decompress/huf_decompress.c ../lib/decompress/zstd_decompress.c ../lib/common/entropy_common.c ../lib/common/error_private.c ../lib/common/fse_decompress.c ../lib/common/pool.c ../lib/common/threading.c ../lib/common/xxhash.c ../lib/common/zstd_common.c ../lib/compress/fse_compress.c ../lib/compress/huf_compress.c ../lib/compress/zstd_compress.c ../lib/compress/zstdmt_compress.c longmatch.c -o longmatch
  708. ld: warning: directory not found for option '-L/usr/local/cudnn/lib:/usr/local/cuda/lib'
  709. ./longmatch
  710.  
  711. === Long Match Test ===
  712. Creating random data to produce long matches
  713. Compressing, trying to generate a segfault
  714. Compression completed successfully (no error triggered)
  715. cc -I../lib -I../lib/common -I../lib/compress -I../lib/dictBuilder -I../lib/deprecated -I../programs -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -L/usr/local/cudnn/lib:/usr/local/cuda/lib ../lib/decompress/huf_decompress.c ../lib/decompress/zstd_decompress.c ../lib/common/entropy_common.c ../lib/common/error_private.c ../lib/common/fse_decompress.c ../lib/common/pool.c ../lib/common/threading.c ../lib/common/xxhash.c ../lib/common/zstd_common.c ../lib/compress/fse_compress.c ../lib/compress/huf_compress.c ../lib/compress/zstd_compress.c ../lib/compress/zstdmt_compress.c invalidDictionaries.c -o invalidDictionaries
  716. ld: warning: directory not found for option '-L/usr/local/cudnn/lib:/usr/local/cuda/lib'
  717. ./invalidDictionaries
  718. cc -I../lib -I../lib/common -I../lib/compress -I../lib/dictBuilder -I../lib/deprecated -I../programs -I/usr/local/cudnn/include -g -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -L/usr/local/cudnn/lib:/usr/local/cuda/lib -pthread -DZSTD_MULTITHREAD pool.c ../lib/common/pool.c ../lib/common/threading.c -o pool
  719. ld: warning: directory not found for option '-L/usr/local/cudnn/lib:/usr/local/cuda/lib'
  720. ./pool
  721. PASS: testOrder
  722. PASS: testInvalid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement