Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Better memory usage

4 views
Skip to first unread message

John Klos

unread,
Jan 3, 2011, 10:58:03 PM1/3/11
to
Hi,

Just an update: I tried Michael Hitch's recommended USRSTACK and MAXDSIZ
changes (finally!), and while it didn't compile directly, it compiled when
I built sqlite3.lo with -O instead of -O2. (Before it wouldn't compile
with -O0!)

Interestingly, top didn't show cc1 going past 64 megs:

Memory: 85M Act, 11M Inact, 976K Wired, 10M Exec, 19M File, 6568K Free
Swap: 378M Total, 19M Used, 359M Free
...
1702 root 27 0 60M 59M RUN 12:46 97.22% 97.22% cc1
0 root 126 0 0K 27M pgdaemon 2:36 0.00% 0.00% [system]
...

Now I'm building the rest of php53...

Thanks,
John

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-...@muc.de

Frank Wille

unread,
Jan 8, 2011, 10:45:59 AM1/8/11
to
John Klos wrote:

> Just an update: I tried Michael Hitch's recommended USRSTACK and
> MAXDSIZ changes (finally!), and while it didn't compile directly, it
> compiled when I built sqlite3.lo with -O instead of -O2. (Before it
> wouldn't compile with -O0!)
>
> Interestingly, top didn't show cc1 going past 64 megs:
>
> Memory: 85M Act, 11M Inact, 976K Wired, 10M Exec, 19M File, 6568K Free
> Swap: 378M Total, 19M Used, 359M Free
> ...
> 1702 root 27 0 60M 59M RUN 12:46 97.22% 97.22% cc1
> 0 root 126 0 0K 27M pgdaemon 2:36 0.00% 0.00%
> [system] ...
>
> Now I'm building the rest of php53...

Did it work?

When your system runs better than before I would clearly vote to commit
those changes.

--
Frank Wille

Michael L. Hitch

unread,
Jan 11, 2011, 5:06:42 PM1/11/11
to

On Sat, 8 Jan 2011, Frank Wille wrote:

> John Klos wrote:
>
> > Just an update: I tried Michael Hitch's recommended USRSTACK and
> > MAXDSIZ changes (finally!), and while it didn't compile directly, it
> > compiled when I built sqlite3.lo with -O instead of -O2. (Before it
> > wouldn't compile with -O0!)

...


> When your system runs better than before I would clearly vote to commit
> those changes.

The change to USRSTACK has already been done, and a pullup request to
netbsd-5 and netbsd-4 have been submitted.

Mike

0 new messages