Comments (3)
ISA-L added a new configuration field (isal_zstream->hist_bits) between versions 2.21 and 2.30 which wasn't initialized to default value by isal_deflate_stateless_init call. This was fixed by a recent commit in ISA-L (intel/isa-l@9f2b68f).
When there were multiple simultaneous allocations of memory using malloc the OS kernel could provide a previously used memory page which contained a value different than default in place corresponding to hist_bits field. Values of hist_bits between 1 and 14 (especially lower ones) could reduce compression efficiency for this particular compression session. Other values (including 0) are replaced by ISA-l with 15 which is the default, most efficient setting.
Using calloc instead of malloc to allocate and fill with zeroes the isal_zstream struct also fixes this issue and prevents similar issues happening in the future.
from gkl.
Thank you for reaching out. I noticed between GKL 0.8.6 to 0.8.8, ISAL has been upgraded from 2.21 to 2.30 but since it is happening intermittently we will first try to reproduce it on our end using a small bam file(~9gb) like mentioned in the original issue. We will use a 7gb file from our old long reads list (PAE09121_dae79b.bam.raw) and iterate it for ~100 times to check any anomalies in output sizes.
from gkl.
@mateuszsnowak Yay!
from gkl.
Related Issues (20)
- Smith Waterman Native crashes HOT 7
- SmithWaterman returns incorrect alignments. HOT 4
- Systematically test the GKL deflater/inflater with long reads data HOT 7
- Zlib performance comparison for genomic data
- Run valgrind on the GKL codebase HOT 2
- How to make the system use these libraries? HOT 1
- GATK4 HaplotypeCaller native SmithWaterman: core dumps and JVM errors HOT 2
- Intermittent core dump in native pair hmm HOT 5
- Does GKL have plans to support ARM architecture optimization? HOT 2
- Help2man is also needed when building. HOT 2
- PairHMM stripe initialization of `M_t_1_y` is wrong HOT 1
- GKL uses exploitable Log4J 2 version HOT 1
- GKL should ideally use commons-logging or similar instead of log4j HOT 2
- `smithWatermanBackTrack` is being shared between AVX2 and AVX-512 HOT 2
- Release 0.8.9 is not on maven HOT 3
- Potential memory leak observed in unusual HaplotypeCaller behavior HOT 1
- Help, where is the function impl of 'compute_fp_avx512s' ?
- Does GKL support arm architecture? HOT 2
- Confusing warning message in IntelInflater HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gkl.