From owner-freebsd-performance@FreeBSD.ORG Wed Feb 13 17:14:47 2008 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA21816A41B for ; Wed, 13 Feb 2008 17:14:47 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from mail.itu.dk (pluto.itu.dk [130.226.142.18]) by mx1.freebsd.org (Postfix) with ESMTP id AB17D13C4E8 for ; Wed, 13 Feb 2008 17:14:47 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from [192.168.1.148] (stud1-15.itu.dk [130.226.140.15]) by mail.itu.dk (Postfix) with ESMTP id 64B0832DCBD; Wed, 13 Feb 2008 17:14:47 +0000 (UTC) Message-ID: <47B32587.40700@cederstrand.dk> Date: Wed, 13 Feb 2008 18:14:47 +0100 From: Erik Cederstrand User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: Dieter References: <200802131629.QAA06470@sopwith.solgatos.com> In-Reply-To: <200802131629.QAA06470@sopwith.solgatos.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-performance@freebsd.org Subject: Re: Performance Tracker project update X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2008 17:14:47 -0000 Dieter skrev: >> As suggested in other posts, deleting .pyo and .pyc files gets me down to >> 6MB. Static libraries (.a files) in /usr/lib and /usr/local/lib still have >> mismatching MD5 sums even though no source code change warrants this. Can >> I do anything about that? > > Perhaps they have an embedded timestamp or version number? This seems to be the case: # strings DIR1/usr/lib/libfetch.a > tmp1 # strings DIR2/usr/lib/libfetch.a > tmp2 # diff tmp1 tmp2 2c2 < / 1200728973 0 0 0 954 ` --- > / 1200723259 0 0 0 954 ` 57c57 < file.o/ 1200728973 0 0 100644 2356 ` --- > file.o/ 1200723259 0 0 100644 2356 ` 86c86 < http.o/ 1200728973 0 0 100644 17180 ` --- > http.o/ 1200723258 0 0 100644 17180 ` [...] The changing number is the modification date of the .o file (I think). >> Are static libraries even needed anymore? > > Are you going to be compiling anything? I'm compiling ports, but I could delete the files afterwards. It would be nice to be able to compile stuff in the images in the future, though. I think I'll just leave the files there for the time being. It's a size reduction of less than 1 MB. Erik