Questions tagged [compression]
Decrease the size of data, typically to preserve space or reduce network bandwidth required while transmitting files. It can be applied to files, folders, disks, etc.
423 questions
Score of 1
3 answers
416 views
How to truncate a zipped file?
I have very large log files and I often truncate them with:
truncate -s 20M filename.log
However, I also have some files that have been zipped and they are smaller, but I want to shrink them further ...
Score of 1
1 answer
206 views
Why is ZFS zstd-13 compression reporting so odd when lz4 is zfs sent -c -o compression=zstd-13
Curious weirdness on an updated Proxmox 9.1 system with zfs 2.3.4 pve-1 (2.3.4 is from Aug 25, 2.3.5 is current stable but not in my distro yet).
When you have a default lz4 pool which all zfs fs's ...
Score of 0
2 answers
219 views
Disabling imap compression in Dovecot
My dovecot imap server use deflate compression for connection. How can I disable it for testing? I tried to add
plugin {
imap_compress_deflate_level = 0
}
to custom config in /etc/dovecot/conf.d/, ...
Score of 3
1 answer
1507 views
Does "btrfs filesystem defrag -c" (compress option) force compression?
BTRFS with compression enabled uses a heuristic not to compress files that are not well compressible. Does compressing existing files with "btrfs filesystem defrag -c" also use the heuristic,...
Score of 0
0 answers
1157 views
Re-compressing XZ kernel module?
I have a kernel module produced by kernel option CONFIG_MODULE_COMPRESS_XZ. When I manually decompress the file with unxz and re-compress with xz, the new .ko.xz file differs from the original .ko.xz ...
Score of 1
0 answers
94 views
zfs send to NAS with PIGZ compression slowness
The following command that I use to backup used to take 5 minutes to complete and since last week it is taking around 25 minutes. This is after restarting a switch stack the server is connected to. ...
Score of 2
1 answer
444 views
Ways to make deployment ready pre-compressed brotli files on windows server
I am dynamically generating HTML files, which I use for deployment.
This is what I use to make these HTML file:
function writeFile()
Dim objStream
Set objStream = CreateObject("ADODB....
Score of 1
2 answers
240 views
Nginx performance issues
I made a website using React and connected to Strapi. But I need to keep some background videos mainly on the home page.
The main banner has 4 videos and the background of the page is also a video.
...
Score of 1
2 answers
1002 views
Will disk compression impact the performance of a MySQL database?
I've recently setup a TrueNAS storage server and hosted on it is a MySQL database. It's about 3GB; I'm not too concerned with how much space it's utilising.
By default, TrueNAS enables LZ4 compression ...
Score of 1
1 answer
764 views
Cloudflare uncompressing, then re-compressing response bodies
I'm using Node.js/express and if I set the headers
Content-Type: application/json
Content-Encoding: gzip
and send gzipped compressed bodies of JSON data, this works as expected - when not behind ...
Score of 0
1 answer
421 views
Debian: Simple way to compress files wanted
I often need to compress archives in Linux. is there a simpler way instead of always building such complicated commands?
tar zcvf /tmp/mybackup.tar.gz /home/important
Score of 0
0 answers
5276 views
is there a faster way to extract a large file tar in lz4 format?
I have a 7 TB file that is tared with lz4 compression. It takes about 8 hours to extract. is there a faster way to do this?
This is the command I use:
lz4 -d /mnt/tmp/7TBFile.lz4 | tar -xvf -
Score of 2
0 answers
758 views
Are servers allowed to add a Content-Encoding header based on filename, if there is no compression on-the-fly?
Problem
Suppose we have a compressed archive on disk, e.g. file.tar.gz, which should be served as-is.
The file is served with Content-Type: application/gzip, but for some reason the server also adds a ...
Score of 1
1 answer
667 views
Compressing rarely queried historical data in postgres
In short: compress multiple historical DB records to bigger, compressed records and temporarily uncompress it to the original records for easier querying, and clean that up when querying is done. ...
Score of -1
1 answer
990 views
MySQL JDBC compression in transit
Good morning,
I am looking to set my application connection to MySQL to compress data in transit.
I read MySQL doc. but it's not cleat to me if I need to do something on the client side, on the server ...