From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7528 invoked by uid 1002); 26 Jul 2003 09:57:03 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 29102 invoked from network); 26 Jul 2003 09:57:02 -0000 Message-ID: <3F22506A.8050902@ifi.uio.no> Date: Sat, 26 Jul 2003 11:56:58 +0200 From: =?ISO-8859-1?Q?H=E5vard_Wall?= Organization: University of Oslo User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030619 X-Accept-Language: Norwegian, no, en MIME-Version: 1.0 To: gentoo-dev@gentoo.org CC: werner.van.belle@vub.ac.be References: <200307251956.27193.ripat@xs4all.nl> <1059160421.2178.5.camel@sergey.swdevelopers.net> <200307252052.09728.werner.van.belle@vub.ac.be> In-Reply-To: <200307252052.09728.werner.van.belle@vub.ac.be> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner-Information: This message has been scanned for viruses/spam. Contact postmaster@uio.no if you have questions about this scanning. X-UiO-MailScanner: No virus found Subject: Re: [gentoo-dev] compile time statistics X-Archives-Salt: ebdae35a-7304-4138-8d17-4541fc36ba09 X-Archives-Hash: 252b85c737093e547fed8918ff07f3ca Werner Van Belle wrote: > Altough it's a nice proposal that would be really usefull, I still think there > are some serious problems involved. Compilation time is non lineair. > Depending on how much cache, how much memory, how fast your hard-disk is, > what your bus-speed is and above all, what the user is doing at the same time > while upgrading his machine will seriously impact compilation time. All of > these factors are very difficult to take into account. I believe gentoo-stats is already sampling a lot of the needed information. An estimate could primarly be based on some "major" factors; perhaps cpu-type and clock frequency. Then, if enough statistics is available for the current architecture, on other settings as well, sucb as -O flags and size of main memory (MAKEOPTS?). A kind of hierarchical estimate... Could perhaps be hard to implement in practice though (?). But I believe there probably is some limited set of factors that could provide a reasonably good estimate. -- hw -- gentoo-dev@gentoo.org mailing list