Heatshrink compressed drives? - Tamp ISO compression test (Announce)
> However, you could force all lengths and offsets to be multiples of 8 or 16,
> to be able to encode the compressed length of a 2k or 4k sector in a single
> byte.
Hmm, so we pad compressed data to a multiple of eight, presumably that means adding an average of four bytes, then we have a byte length, for an average of five bytes per sector. Great! Well, if we make each sector 2048 bytes, then we can remove the index altogether!
> > As Linux has file systems that support deduplication: how about testing
> > this on BTRFS or ZFS?
Considering this is for a DOS driver what a Linux FS does is irrelevant. At least, what I'm doing is for a DOS driver (SHSUCDHD).
> So you might be right that the compressor state did not get reset between
> sectors, as there are unrealistically many sectors compressing to a size of
> zero?
The compressor is reset before compressing each sector; trailing zeros are removed before compression (hence all-zero sectors being zero-length).
Complete thread:
- lDebug release 9 - ecm, 21.12.2024, 13:49 (Announce)
- lDebug release 9 - Heatshrink compressed drives? - mceric, 21.12.2024, 16:00
- lDebug release 9 - Heatshrink compressed drives? - ecm, 21.12.2024, 18:41
- lDebug release 9 - Heatshrink compressed drives? - mceric, 21.12.2024, 22:55
- lDebug release 9 - Heatshrink compressed drives? - DosWorld, 02.01.2025, 18:24
- lDebug release 9 - Heatshrink compressed drives? - jadoxa, 29.01.2025, 08:46
- Heatshrink compressed drives? - Tamp ISO compression test - mceric, 30.01.2025, 02:21
- Heatshrink compressed drives? - Tamp ISO compression test - tom, 30.01.2025, 17:36
- Heatshrink compressed drives? - Tamp ISO compression test - jadoxa, 31.01.2025, 09:24
- Heatshrink compressed drives? - Tamp ISO compression test - mceric, 31.01.2025, 15:15
- Heatshrink compressed drives? - Tamp ISO compression test - mceric, 31.01.2025, 23:33
- Heatshrink compressed drives? - Tamp ISO compression test - tom, 01.02.2025, 11:19
- Heatshrink compressed drives? - Tamp ISO compression test - mceric, 01.02.2025, 13:54
- Heatshrink compressed drives? - Tamp ISO compression test - jadoxa, 01.02.2025, 15:33
- Heatshrink compressed drives? - Tamp ISO compression test - mceric, 01.02.2025, 13:54
- Heatshrink compressed drives? - Tamp ISO compression test - mceric, 06.02.2025, 02:42
- Snappy compression - ecm, 06.02.2025, 04:26
- Snappy compression - mceric, 08.02.2025, 01:04
- Snappy compression - script to build a compressed executable - ecm, 08.02.2025, 18:02
- Snappy compression - script to build a compressed executable - ecm, 09.02.2025, 21:38
- Snappy compression - script to build a compressed executable - ecm, 08.02.2025, 18:02
- Snappy compression - mceric, 08.02.2025, 01:04
- Snappy compression - ecm, 06.02.2025, 04:26
- Heatshrink compressed drives? - Tamp ISO compression test - tom, 01.02.2025, 11:19
- Heatshrink compressed drives? - Tamp ISO compression test - mceric, 31.01.2025, 23:33
- Heatshrink compressed drives? - Tamp ISO compression test - tom, 31.01.2025, 17:42
- Heatshrink compressed drives? - Tamp ISO compression test - mceric, 31.01.2025, 15:15
- lDebug release 9 - Heatshrink compressed drives? - Oso2k, 30.01.2025, 05:12
- Heatshrink compressed drives? - Tamp ISO compression test - mceric, 30.01.2025, 02:21
- lDebug release 9 - Heatshrink compressed drives? - ecm, 21.12.2024, 18:41
- lDebug release 9 - Heatshrink compressed drives? - mceric, 21.12.2024, 16:00