From owner-freebsd-stable Tue Jul 25 6:19: 8 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mailgate.abacus.co.uk (mailgate.abacus.co.uk [194.130.48.21]) by hub.freebsd.org (Postfix) with ESMTP id E184237B848 for ; Tue, 25 Jul 2000 06:19:02 -0700 (PDT) (envelope-from antony@abacus.co.uk) Received: from abacus.co.uk (IDENT:antony@pcantony.bl.abacus.co.uk [194.130.48.111]) by mailgate.abacus.co.uk (8.9.3/8.9.3) with ESMTP id OAA10958; Tue, 25 Jul 2000 14:41:25 +0100 Message-ID: <397D8513.412C8690@abacus.co.uk> Date: Tue, 25 Jul 2000 13:16:19 +0100 From: Antony T Curtis Organization: Abacus Polar PLC (UK) X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.4.0-test4 i686) X-Accept-Language: en MIME-Version: 1.0 To: Dag-Erling Smorgrav Cc: stable@FreeBSD.ORG Subject: Re: Has anybody built MySQL lately? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dag-Erling Smorgrav wrote: > > When I try to build MySQL on 4.1-RC2 (running on a -CURRENT kernel, > but that shouldn't make any difference), I get the following when it > reaches sql_yacc.cc: > > last pid: 83002; load averages: 1.34, 1.41, 1.50 up 6+23:58:13 13:46:42 > 101 processes: 1 running, 100 sleeping > CPU states: 3.3% user, 0.0% nice, 6.9% system, 0.0% interrupt, 89.8% idle > Mem: 129M Active, 7080K Inact, 44M Wired, 5240K Cache, 29M Buf, 576K Free > Swap: 512M Total, 232M Used, 280M Free, 45% Inuse, 1788K In, 780K Out > > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND > 82846 root -22 0 215M 119M swread 20:24 31.10% 31.10% cc1plus > > At about that point I have to kill it to stop the machine from > swapping itself to oblivion... sql_yacc.cc does take a lot of memory to build with optimisation. Since it was generated with bison, it doesn't benefit much from optimisation - compile with just -O and it will use much less memory. -- ANTONY T CURTIS Tel: +44 (1635) 36222 Abacus Polar Holdings Ltd Fax: +44 (1635) 38670 Your fortune : I know th'MAMBO!! I have a TWO-TONE CHEMISTRY SET!! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message