]>
git.ipfire.org Git - thirdparty/zstd.git/log
Yann Collet [Thu, 13 Jul 2017 22:34:44 +0000 (15:34 -0700)]
updated NEWS regarding #760
Stella Lau [Thu, 13 Jul 2017 22:29:41 +0000 (15:29 -0700)]
Add min/max offset to stats
Paul Cruz [Thu, 13 Jul 2017 21:57:24 +0000 (14:57 -0700)]
added tests for forced compression level
Paul Cruz [Thu, 13 Jul 2017 21:46:54 +0000 (14:46 -0700)]
added additional tests for performance, allowed force compression level for testing purposes
Stella Lau [Thu, 13 Jul 2017 21:39:35 +0000 (14:39 -0700)]
[ldm] Make some functions shared
Paul Cruz [Thu, 13 Jul 2017 20:50:23 +0000 (13:50 -0700)]
added some tests for correctness, time, and compression ratio
Stella Lau [Thu, 13 Jul 2017 20:44:48 +0000 (13:44 -0700)]
[ldm] Switch to using lib/common/mem.h and move typedefs to ldm.h
Summary:
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags:
Blame Revision:
Nick Terrell [Thu, 13 Jul 2017 19:45:39 +0000 (12:45 -0700)]
[libzstd] Increase granularity of FSECTable repeat mode
Stella Lau [Thu, 13 Jul 2017 18:45:00 +0000 (11:45 -0700)]
[ldm] Remove old main files
Stella Lau [Thu, 13 Jul 2017 17:38:19 +0000 (10:38 -0700)]
[ldm] Add TODO and comment for segfaulting in compress function
Yann Collet [Thu, 13 Jul 2017 17:24:19 +0000 (10:24 -0700)]
Merge pull request #759 from terrelln/real-block-split
[libzstd] Pull CTables into sub-structure
Yann Collet [Thu, 13 Jul 2017 17:10:13 +0000 (10:10 -0700)]
policy change : ZSTDMT automatically caps nbThreads to ZSTDMT_NBTHREADS_MAX (#760)
Previously, ZSTDMT would refuse to create the compressor.
Also : increased ZSTDMT_NBTHREADS_MAX to 256,
updated doc,
and added relevant test
Paul Cruz [Thu, 13 Jul 2017 17:15:27 +0000 (10:15 -0700)]
added altering dictionary size depending on compression level
Yann Collet [Thu, 13 Jul 2017 09:22:58 +0000 (02:22 -0700)]
switched ZSTDMT_compress_advanced() last argument to overlapLog
overlapRLog (== 9 - overlapLog) was a bit "strange"
as all other public entry points use overlapLog
Yann Collet [Thu, 13 Jul 2017 09:09:07 +0000 (02:09 -0700)]
clarified comment on ZSTD_p_contentSizeFlag
Nick Terrell [Thu, 13 Jul 2017 02:08:24 +0000 (19:08 -0700)]
[libzstd] Pull CTables into sub-structure
Stella Lau [Thu, 13 Jul 2017 01:47:26 +0000 (18:47 -0700)]
[ldm] Add CHAR_OFFSET in hash function and extend header size
Yann Collet [Thu, 13 Jul 2017 01:32:37 +0000 (18:32 -0700)]
Merge pull request #756 from facebook/memOpt
Memory optimisations for ZSTDMT
Paul Cruz [Thu, 13 Jul 2017 00:28:53 +0000 (17:28 -0700)]
changed to stderr
Paul Cruz [Thu, 13 Jul 2017 00:10:58 +0000 (17:10 -0700)]
changed to malloc, added comment about adaptive compression level, and changed ternary operators
Paul Cruz [Wed, 12 Jul 2017 23:50:43 +0000 (16:50 -0700)]
fixed up freeCCtx() removed BYTE since it wasn't being used
Paul Cruz [Wed, 12 Jul 2017 23:40:24 +0000 (16:40 -0700)]
added copyright header, removed clean from makefile
Stella Lau [Wed, 12 Jul 2017 23:31:31 +0000 (16:31 -0700)]
[ldm] Clean up versions
Paul Cruz [Wed, 12 Jul 2017 23:18:41 +0000 (16:18 -0700)]
passes tests with adaptive compression level
Paul Cruz [Wed, 12 Jul 2017 23:02:20 +0000 (16:02 -0700)]
working with fixed compression level and fixed dictionary size
Stella Lau [Wed, 12 Jul 2017 22:11:06 +0000 (15:11 -0700)]
[ldm] Clean up code
Yann Collet [Wed, 12 Jul 2017 21:38:36 +0000 (14:38 -0700)]
Merge branch 'dev' of github.com:facebook/zstd into dev
Yann Collet [Wed, 12 Jul 2017 21:23:34 +0000 (14:23 -0700)]
slightly increased buffer pool, to cover normal "full load" scenarios
2 buffers per active worker
+ 1 buffer for input loading
+ 1 buffer for "next input" when submitting current one
+ 1 buffer stuck in queue
Paul Cruz [Wed, 12 Jul 2017 19:21:21 +0000 (12:21 -0700)]
working with flush job->src.size and fixed cLevel
Stella Lau [Wed, 12 Jul 2017 17:53:19 +0000 (10:53 -0700)]
Fix sumToHash to use hash space more efficiently
Stella Lau [Wed, 12 Jul 2017 16:50:24 +0000 (09:50 -0700)]
Minor fix for non-rolling hash
Stella Lau [Wed, 12 Jul 2017 16:47:00 +0000 (09:47 -0700)]
Switch to using rolling hash only
Stella Lau [Wed, 12 Jul 2017 01:13:26 +0000 (18:13 -0700)]
Update rolling hash
Yann Collet [Wed, 12 Jul 2017 00:18:26 +0000 (17:18 -0700)]
fix : ZSTDMT_compress_advanced() correctly generates checksum
when params.fParams.checksumFlag==1.
This use case used to be impossible when only ZSTD_compress() was available
Paul Cruz [Tue, 11 Jul 2017 23:50:50 +0000 (16:50 -0700)]
added debug statement
Yann Collet [Tue, 11 Jul 2017 22:56:40 +0000 (15:56 -0700)]
release input buffers from inside worker thread
buffers are released sooner, which makes them available faster for next job.
=> decreases total nb of buffers necessary
Paul Cruz [Tue, 11 Jul 2017 22:49:52 +0000 (15:49 -0700)]
changed dictionary size, added debugging statements
Yann Collet [Tue, 11 Jul 2017 22:17:25 +0000 (15:17 -0700)]
buffer pool : all buffers have same size
to reduce memory fragmentation.
They can be used for in or out, interchangeably.
Paul Cruz [Tue, 11 Jul 2017 22:15:41 +0000 (15:15 -0700)]
updated DEBUG statements
Paul Cruz [Tue, 11 Jul 2017 22:00:52 +0000 (15:00 -0700)]
added error message, updated copying dictionary into the input buffer
Yann Collet [Tue, 11 Jul 2017 21:59:10 +0000 (14:59 -0700)]
zstdmt : intermediate outBuffer allocated from within worker
reduces total amount of memory needed,
since jobs in queue do not have an outBuffer pre-reserved now
Yann Collet [Tue, 11 Jul 2017 21:14:07 +0000 (14:14 -0700)]
buffer pool can be invoked from multiple threads
Yann Collet [Tue, 11 Jul 2017 19:11:44 +0000 (12:11 -0700)]
Merge pull request #755 from jacquesg/solaris
Solaris fix
Paul Cruz [Tue, 11 Jul 2017 18:50:00 +0000 (11:50 -0700)]
changed to using ZSTD_compressBegin_usingDict() and fixed strange issue with ZSTD_compressContinue()
Jacques Germishuys [Tue, 11 Jul 2017 17:25:14 +0000 (19:25 +0200)]
fix missing symbol 'nanosleep' for Solaris
Paul Cruz [Tue, 11 Jul 2017 17:23:25 +0000 (10:23 -0700)]
fixed an error where -c argument wasn't working for single files
Stella Lau [Tue, 11 Jul 2017 16:23:44 +0000 (09:23 -0700)]
Save v3
Yann Collet [Tue, 11 Jul 2017 15:54:29 +0000 (08:54 -0700)]
zstdmt: removed margin for improved memory usage
Stella Lau [Tue, 11 Jul 2017 05:27:43 +0000 (22:27 -0700)]
Add rolling hash
Paul Cruz [Tue, 11 Jul 2017 01:16:42 +0000 (18:16 -0700)]
made some progress on improving compression ratio, but problems exist with speed limits, and for some reason higher compression levels are really slow
Yann Collet [Tue, 11 Jul 2017 00:16:41 +0000 (17:16 -0700)]
improved ZSTDMT_compress() memory usage
does not need the input buffer for streaming operations
also : reduced a few tests time length
Yann Collet [Mon, 10 Jul 2017 23:30:55 +0000 (16:30 -0700)]
optimized memory usage for ZSTDMT_compress()
Previously, each job would reserve a CCtx right before being posted.
The CCtx would be "part of the job description",
and only released when the job is completed (aka flushed).
For ZSTDMT_compress(), which creates all jobs first and only join at the end,
that meant one CCtx per job.
The nb of jobs used to be == nb of threads,
but since latest modification,
which reduces the size of jobs in order to spread the load of difficult areas,
it also increases the nb of jobs for large sources / small compression level.
This resulted in many more CCtx being created.
In this new version, CCtx are reserved within the worker thread.
It guaranteea there cannot be more CCtx reserved than workers (<= nb threads).
To do that, it required to make the CCtx Pool multi-threading-safe :
it can now be called from multiple threads in parallel.
Paul Cruz [Mon, 10 Jul 2017 23:27:58 +0000 (16:27 -0700)]
changed how the detection of the last job works
Paul Cruz [Mon, 10 Jul 2017 23:10:19 +0000 (16:10 -0700)]
dst buffer should use ZSTD_compressBound to determine how much space it needs
Paul Cruz [Mon, 10 Jul 2017 23:03:09 +0000 (16:03 -0700)]
fixed memory leak that was happening when creating jobs
Stella Lau [Mon, 10 Jul 2017 22:48:47 +0000 (15:48 -0700)]
Clean up and refactor compress function
Paul Cruz [Mon, 10 Jul 2017 22:37:14 +0000 (15:37 -0700)]
made input buffer an internal part of the compression context
Yann Collet [Mon, 10 Jul 2017 21:21:40 +0000 (14:21 -0700)]
fix : custom allocator correctly propagated to child contexts
Yann Collet [Mon, 10 Jul 2017 21:09:16 +0000 (14:09 -0700)]
extended fuzzer MT memory tests
Yann Collet [Mon, 10 Jul 2017 21:02:33 +0000 (14:02 -0700)]
fix : propagate custom allocator to ZSTDMT though ZSTD_CCtx_setParameter()
also : compile fuzzer with MT enabled
Yann Collet [Mon, 10 Jul 2017 20:48:41 +0000 (13:48 -0700)]
added --memtest to fuzzer
Stella Lau [Mon, 10 Jul 2017 20:08:19 +0000 (13:08 -0700)]
Add warning flags to makefile and clean up code to remove warnings
Stella Lau [Mon, 10 Jul 2017 19:38:27 +0000 (12:38 -0700)]
Add compression context
Yann Collet [Mon, 10 Jul 2017 19:29:57 +0000 (12:29 -0700)]
added ZSTD_sizeof_CCtx() test
Paul Cruz [Mon, 10 Jul 2017 18:32:30 +0000 (11:32 -0700)]
renamed pool.c to poolTests.c
Paul Cruz [Mon, 10 Jul 2017 18:10:11 +0000 (11:10 -0700)]
small changes
Paul Cruz [Mon, 10 Jul 2017 18:05:37 +0000 (11:05 -0700)]
changed name
Paul Cruz [Mon, 10 Jul 2017 17:58:03 +0000 (10:58 -0700)]
removed single from Makefile
Paul Cruz [Mon, 10 Jul 2017 17:53:02 +0000 (10:53 -0700)]
removed scripts
Paul Cruz [Mon, 10 Jul 2017 17:51:50 +0000 (10:51 -0700)]
removed single.c
Paul Cruz [Mon, 10 Jul 2017 16:36:22 +0000 (09:36 -0700)]
updated error checking in each thread
Stella Lau [Mon, 10 Jul 2017 14:38:09 +0000 (07:38 -0700)]
Add LDM_DCtx
Stella Lau [Mon, 10 Jul 2017 13:50:49 +0000 (06:50 -0700)]
Minor refactoring
Stella Lau [Mon, 10 Jul 2017 13:32:46 +0000 (06:32 -0700)]
Merge branch 'ldm' of https://github.com/stellamplau/zstd into ldm
Stella Lau [Mon, 10 Jul 2017 13:32:29 +0000 (06:32 -0700)]
Minor refactoring
Stella Lau [Mon, 10 Jul 2017 13:32:05 +0000 (06:32 -0700)]
Add folder for old versions
Stella Lau [Mon, 10 Jul 2017 05:45:54 +0000 (22:45 -0700)]
Update mainfile
Yann Collet [Sat, 8 Jul 2017 11:55:09 +0000 (04:55 -0700)]
bumped version nb to v1.3.1
Yann Collet [Sat, 8 Jul 2017 00:13:12 +0000 (17:13 -0700)]
fixed several conversion warnings
Stella Lau [Sat, 8 Jul 2017 00:09:28 +0000 (17:09 -0700)]
Add compression statistics
Paul Cruz [Sat, 8 Jul 2017 00:07:05 +0000 (17:07 -0700)]
added ability to compress without specifying out filename
Yann Collet [Fri, 7 Jul 2017 23:16:14 +0000 (16:16 -0700)]
removed zbufftest from list of `all` tests
Yann Collet [Fri, 7 Jul 2017 23:14:17 +0000 (16:14 -0700)]
fixed minor Visual compilation limitation
Yann Collet [Fri, 7 Jul 2017 23:09:47 +0000 (16:09 -0700)]
fixed minor cast warning
Paul Cruz [Fri, 7 Jul 2017 22:56:00 +0000 (15:56 -0700)]
playing around with adapt param
Yann Collet [Fri, 7 Jul 2017 22:55:41 +0000 (15:55 -0700)]
target gpptest uses CXX environment variable
Yann Collet [Fri, 7 Jul 2017 22:53:20 +0000 (15:53 -0700)]
Merge branch 'dev' of github.com:facebook/zstd into dev
Yann Collet [Fri, 7 Jul 2017 22:51:24 +0000 (15:51 -0700)]
new field frameHeader.headerSize
Paul Cruz [Fri, 7 Jul 2017 22:42:20 +0000 (15:42 -0700)]
rewrote time elapsed with UTIL
Yann Collet [Fri, 7 Jul 2017 22:32:12 +0000 (15:32 -0700)]
ZSTD_getFrameHeader : control of windowSize limits is delegated to caller
Extracting frame header is a separate operation.
It's now possible to get frame header, whatever the window size set in it.
Yann Collet [Fri, 7 Jul 2017 22:21:35 +0000 (15:21 -0700)]
new field : ZSTD_frameHeader.frameType
Makes frame type (zstd,skippable) detection more straighforward.
ZSTD_getFrameHeader set frameContentSize=ZSTD_CONTENTSIZE_UNKNOWN to mean "field not present"
Paul Cruz [Fri, 7 Jul 2017 22:13:40 +0000 (15:13 -0700)]
changed to using compressCCtx
Stella Lau [Fri, 7 Jul 2017 21:52:40 +0000 (14:52 -0700)]
[ldm] Update to hash every position
Yann Collet [Fri, 7 Jul 2017 21:19:01 +0000 (14:19 -0700)]
extended frameHeader.windowSize to unsigned long long
Stella Lau [Fri, 7 Jul 2017 21:14:01 +0000 (14:14 -0700)]
Fix offset overflow bug
Paul Cruz [Fri, 7 Jul 2017 20:55:38 +0000 (13:55 -0700)]
changed completed -> compressed
Paul Cruz [Fri, 7 Jul 2017 20:18:55 +0000 (13:18 -0700)]
changed completed variables to compressed for clarity
Stella Lau [Fri, 7 Jul 2017 19:44:29 +0000 (12:44 -0700)]
Add header with compress and decompress size
Paul Cruz [Fri, 7 Jul 2017 18:47:16 +0000 (11:47 -0700)]
removed unnecessary comments, uncommented DEBUGLOG for later use
Paul Cruz [Fri, 7 Jul 2017 18:32:14 +0000 (11:32 -0700)]
added ability to force output to stdout, wrote an additional test for this functionality