[3716] in Release_7.7_team

home help back first fref pref prev next nref lref last post

mozilla/gtk performance tweak on sun

daemon@ATHENA.MIT.EDU (Robert A Basch)
Tue Jan 21 17:46:02 2003

Message-Id: <200301212245.RAA09369@abulia.mit.edu>
To: release-team@MIT.EDU
Date: Tue, 21 Jan 2003 17:45:56 -0500
From: Robert A Basch <rbasch@MIT.EDU>

In Sun's release notes for Netscape 7, they suggest adding the following
shared memory settings to /etc/system to improve gtk performance:

    set shmsys:shminfo_shmmax = 0x2000000
    set shmsys:shminfo_shmmni = 0x1000
    set shmsys:shminfo_shmseg = 0x100

(see http://docs.sun.com/source/817-0807/index.html).

Note that we are already setting shmmax and shmseg in /etc/system
as follows:

    set shmsys:shminfo_shmmax=16777216
    set shmsys:shminfo_shmseg=8

These settings were apparently added long ago for MAE, which I imagine
we no longer care about.  (The Sun shmmax value doubles our current
setting; the default value for shmmni (shared memory identifiers) is
100 (decimal)).

I tried running with the settings recommended by Sun, and there might
have been a slight improvement; certainly there were no bad effects.
It would be nice if someone who uses a Sun more intensively could try
out these settings, but if no one knows of a reason why they would be
harmful, perhaps we should just make this change in the release.

Bob

home help back first fref pref prev next nref lref last post