Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Heatshrink compressed drives? - Tamp ISO compression test (Announce)

posted by jadoxa Homepage E-mail, Queensland, Australia, 01.02.2025, 15:33

> 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:

Back to the forum
Board view  Mix view
22826 Postings in 2129 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum