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 oldCPUs



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

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: joerg%britannica.bec.de@localhost
Cc: gnats-bugs%NetBSD.org@localhost, tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: bin/50638: Extreme slowness on loading gzipped kernels on oldCPUs
Date: Mon, 11 Jan 2016 10:56:51 +0900

 > >  > (3) completely disable gunzip crc32() calculation in cread() function
 > >  
 > >  My vote is on (3).
 > >  
 > >  Thanks for dealing with this!
 > 
 > Can you try the faster crc32 from libarchive? It doesn't add much code
 > and IMO having the verification is quite useful.
 
 It looks like Armchair Detective's comments.
 
 What's your comment about the following sentence in the original PR?
 
 >> * Pros. and cons:
  :
 >> (3) it looks CRC is not used in most case;
 >>     the CRC can be confirmed when the whole file contents are read,
 >>     but our libsa loadfile() finction loads only text, data, bss,
 >>     and symbol table, which could also be padded by ldscript.
 
 How can your suggestion be useful and appropriate for implementation cost?
 
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index