<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Makefile</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>d0b2dbfa - Remove $FreeBSD$: one-line sh pattern</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/mkuzip/Makefile#d0b2dbfa</link>
        <description>Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/

            List of files:
            /freebsd-14.2/usr.bin/mkuzip/Makefile</description>
        <pubDate>Wed, 16 Aug 2023 17:55:03 +0000</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>eefd8f96 - geom_uzip(4), mkuzip(8): Add Zstd image mode</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/mkuzip/Makefile#eefd8f96</link>
        <description>geom_uzip(4), mkuzip(8): Add Zstd image modeThe Zstd format bumps the CLOOP major number to 4 to avoid incompatibilitywith older systems.  Support in geom_uzip(4) is conditional on the ZSTDIOkernel option, which is enabled in amd64 GENERIC, but not all in-treeconfigurations.mkuzip(8) was modified slightly to always initialize the nblocks + 1&apos;thoffset in the CLOOP file format.  Previously, it was only initialized in thecase where the final compressed block happened to be unaligned w.r.t.DEV_BSIZE.  The &quot;Fake&quot; last+1 block change in r298619 means that the finalcompressed block&apos;s &apos;blen&apos; was never correct unless the compressed uzip imagehappened to be BSIZE-aligned.  This happened in about 1 out of every 512cases.  The zlib and lzma decompressors are probably tolerant of extra trashfollowing the frame they were told to decode, but Zstd complains that theinput size is incorrect.Correspondingly, geom_uzip(4) was modified slightly to avoid trashing thenblocks + 1&apos;th offset when it is known to be initialized to a good value.This corrects the calculated final real cluster compressed length to matchthat printed by mkuzip(8).mkuzip(8) was refactored somewhat to reduce code duplication and increaseease of adding other compression formats.  * Input block size validation was pulled out of individual compression    init routines into main().  * Init routines now validate a user-provided compression level or select    an algorithm-specific default, if none was provided.  * A new interface for calculating the maximal compressed size of an    incompressible input block was added for each driver.  The generic code    uses it to validate against MAXPHYS as well as to allocate compression    result buffers in the generic code.  * Algorithm selection is now driven by a table lookup, to increase ease of    adding other formats in the future.mkuzip(8) gained the ability to explicitly specify a compression level with&apos;-C&apos;.  The prior defaults -- 9 for zlib and 6 for lzma -- are maintained.The new zstd default is 9, to match zlib.Rather than select lzma or zlib with &apos;-L&apos; or its absense, respectively, anew argument &apos;-A &lt;algorithm&gt;&apos; is provided to select &apos;zlib&apos;, &apos;lzma&apos;, or&apos;zstd&apos;.  &apos;-L&apos; is considered deprecated, but will probably never be removed.All of the new features were documented in mkuzip.8; the page was alsocleaned up slightly.Relnotes:	yes

            List of files:
            /freebsd-14.2/usr.bin/mkuzip/Makefile</description>
        <pubDate>Tue, 13 Aug 2019 23:32:56 +0000</pubDate>
        <dc:creator>Conrad Meyer &lt;cem@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>bc3b2c55 - o Move logic that determines size of the input image into its own</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/mkuzip/Makefile#bc3b2c55</link>
        <description>o Move logic that determines size of the input image into its own  file. That logic has grown quite significantly now;o add a special handling for the snapshot images. Those have some  extra headers at the end of the image and we don&apos;t need those  in the output image really.MFC after:	6 weeks

            List of files:
            /freebsd-14.2/usr.bin/mkuzip/Makefile</description>
        <pubDate>Sat, 17 Jun 2017 02:58:31 +0000</pubDate>
        <dc:creator>Maxim Sobolev &lt;sobomax@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>4fc55e3e - Improve performance in a few key areas:</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/mkuzip/Makefile#4fc55e3e</link>
        <description>Improve performance in a few key areas: o Split the compression across several worker threads. By default, &quot;several&quot;   matches number of CPUs, capped at 24 for sanity when running on a very big   hardwares. Provide option to set that number manually; o Fix bug inherited from the mkulzma (R.I.P) which degraded already slow LZMA   compression even further by calling function to release compression state   after processing each block.   It is neither documented as required nor actually required by the LZMA   library. This caused spree of system calls to release memory and then map   it again for every block. LZMA compression is more than 2x faster after this   change alone; o Record time it takes to do compression and report throughput achieved. o Add simple first-level 256 entry hash table for de-dup code, so it&apos;s not   becoming a bottleneck at big files.

            List of files:
            /freebsd-14.2/usr.bin/mkuzip/Makefile</description>
        <pubDate>Sat, 23 Apr 2016 07:23:43 +0000</pubDate>
        <dc:creator>Maxim Sobolev &lt;sobomax@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>8f8cb840 - Improve mkuzip(8) and geom_uzip(4), merge in LZMA support from mkulzma(8)</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/mkuzip/Makefile#8f8cb840</link>
        <description>Improve mkuzip(8) and geom_uzip(4), merge in LZMA support from mkulzma(8)and geom_uncompress(4):1. mkuzip(8): - Proper support for eliminating all-zero blocks when compressing an   image. This feature is already supported by the geom_uzip(4) module   and CLOOP format in general, so it&apos;s just a matter of making mkuzip(8)   match. It should be noted, however that this feature while it sounds   great, results in very slight improvement in the overall compression   ratio, since compressing default 16k all-zero block produces only 39   bytes compressed output block, which is 99.8% compression ratio. With   typical average compression ratio of amd64 binaries and data being   around 60-70% the difference between 99.8% and 100.0% is not that   great further diluted by the ratio of number of zero blocks in the   uncompressed image to the overall number of blocks being less than   0.5 (typically). However, this may be important from performance   standpoint, so that kernel are not spinning its wheels decompressing   those empty blocks every time this zero region is read. It could also   be important when you create huge image mostly filled with zero   blocks for testing purposes. - New feature allowing to de-duplicate output image. It turns out that   if you twist CLOOP format a bit you can do that as well. And unlike   zero-blocks elimination, this gives a noticeable improvement in the   overall compression ratio, reducing output image by something like   3-4% on my test UFS2 3GB image consisting of full FreeBSD base system   plus some of the packages (openjdk, apache etc), about 2.3GB worth of   file data (800+MB compressed). The only caveat is that images created   with this feature &quot;on&quot; would not work on older versions of FeeBSDxi   kernel, hence it&apos;s turned off by default. - provide options to control both features and document them in manual   page. - merge in all relevant LZMA compression support from the mkulzma(8),   add new option to select between both. - switch license from ad-hoc beerware into standard 2-clause BSD.2. geom_uzip(4): - implement support for de-duplicated images; - optimize some code paths to handle &quot;all-zero&quot; blocks without reading   any compressed data; - beef up manual page to explain that geom_uzip(4) is not limited only   to md(4) images. The compressed data can be written to the block   device and accessed directly via magic of GEOM(4) and devfs(4),   including to mount root fs from a compressed drive. - convert debug log code from being compiled in conditionally into   being present all the time and provide two sysctls to turn it on or   off. Due to intended use of the module, it can be used in   environments where there may not be a luxury to put new kernel with   debug code enabled. Having those options handy allows debug issues   without as much problem by just having access to serial console or   network shell access to a box/appliance. The resulting additional   CPU cycles are just few int comparisons and branches, and those are   minuscule when compared to data decompression which is the main   feature of the module. - hopefully improve robustness and resiliency of the geom_uzip(4) by   performing some of the data validation / range checking on the TOC   entries and rejecting to attach to an image if those checks fail. - merge in all relevant LZMA decompression support from the   geom_uncompress(4), enable automatically when appropriate format is   indicated in the header. - move compilation work into its own worker thread so that it does not   clog g_up. This allows multiple instances work in parallel utilizing   smp cores. - document new knobs in the manual page.Reviewed by:		adrianMFC after:		1 monthDifferential Revision:	https://reviews.freebsd.org/D5333

            List of files:
            /freebsd-14.2/usr.bin/mkuzip/Makefile</description>
        <pubDate>Tue, 23 Feb 2016 23:59:08 +0000</pubDate>
        <dc:creator>Maxim Sobolev &lt;sobomax@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>3e11bd9e - Convert to usr.bin/ to LIBADD</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/mkuzip/Makefile#3e11bd9e</link>
        <description>Convert to usr.bin/ to LIBADDReduce overlinking

            List of files:
            /freebsd-14.2/usr.bin/mkuzip/Makefile</description>
        <pubDate>Tue, 25 Nov 2014 14:29:10 +0000</pubDate>
        <dc:creator>Baptiste Daroussin &lt;bapt@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>b7946da9 - Build usr.bin/ with WARNS=6 by default.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/mkuzip/Makefile#b7946da9</link>
        <description>Build usr.bin/ with WARNS=6 by default.Also add some missing $FreeBSD$ to keep svn happy.

            List of files:
            /freebsd-14.2/usr.bin/mkuzip/Makefile</description>
        <pubDate>Sat, 02 Jan 2010 10:27:05 +0000</pubDate>
        <dc:creator>Ed Schouten &lt;ed@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>ed9302fd - Make WARNS=6 clean, which should make it compiling on amd64.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/mkuzip/Makefile#ed9302fd</link>
        <description>Make WARNS=6 clean, which should make it compiling on amd64.Submitted by:	Matteo Riondato &lt;rionda@gufi.org&gt;

            List of files:
            /freebsd-14.2/usr.bin/mkuzip/Makefile</description>
        <pubDate>Mon, 02 May 2005 17:38:49 +0000</pubDate>
        <dc:creator>Maxim Sobolev &lt;sobomax@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>27f28ead - Fix build: s/mkunzip.8/mkuzip.8/</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/mkuzip/Makefile#27f28ead</link>
        <description>Fix build: s/mkunzip.8/mkuzip.8/

            List of files:
            /freebsd-14.2/usr.bin/mkuzip/Makefile</description>
        <pubDate>Sun, 12 Sep 2004 00:32:35 +0000</pubDate>
        <dc:creator>Marcel Moolenaar &lt;marcel@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>33293ab0 - Normalize the makefile.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/mkuzip/Makefile#33293ab0</link>
        <description>Normalize the makefile.Reviewed by:	sobomax

            List of files:
            /freebsd-14.2/usr.bin/mkuzip/Makefile</description>
        <pubDate>Sat, 11 Sep 2004 18:38:26 +0000</pubDate>
        <dc:creator>Ruslan Ermilov &lt;ru@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>7f4caa8c - Add mkuzip(8), non-GPL utility to compress filesystem images for use with</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/usr.bin/mkuzip/Makefile#7f4caa8c</link>
        <description>Add mkuzip(8), non-GPL utility to compress filesystem images for use withgeom_uzip module. This is based on utility I wrote some 3 years ago for ahack for md(4), which functionally was close to what geom_uzip does today.Since I don&apos;t have a time to test that it compiles/works on other arches,stick it to i386 only. Will do it later.Unlike original cloop util, this one embedds FreeBSD-compatible shell codeinto the generated image, not Linux one. Unfortunately severe spacerestriction imposed by the CLOOP format doesn&apos;t allow to put conditionalcode which will work both on Linux and FreeBSD. In fact it was quite achallenge to fit necessary FreeBSD code into 127 bytes. ;-)

            List of files:
            /freebsd-14.2/usr.bin/mkuzip/Makefile</description>
        <pubDate>Fri, 10 Sep 2004 20:17:31 +0000</pubDate>
        <dc:creator>Maxim Sobolev &lt;sobomax@FreeBSD.org&gt;</dc:creator>
    </item>
</channel>
</rss>
