NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/50638: Extreme slowness on loading gzipped kernels on old CPUs



The following reply was made to PR bin/50638; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: bin/50638: Extreme slowness on loading gzipped kernels on old
 CPUs
Date: Sun, 10 Jan 2016 19:06:39 +0100

 On Sun, Jan 10, 2016 at 05:40:00PM +0000, Izumi Tsutsui wrote:
 > (1) leave as is and use the dumb crc32() function (for small binary)
 > (2) pull "DYNAMIC_CRC_TABLE" implementation from zlib into libkern/crc32.c
 > (3) completely disable gunzip crc32() calculation in cread() function
 
 Another option would be to use a version of what libarchive is using in
 src/external/bsd/libarchive/dist/libarchive/archive_crc32.h. That
 version is still pretty small.
 
 Joerg
 


Home | Main Index | Thread Index | Old Index