From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id EBFB82F15A for ; Tue, 22 May 2001 10:12:55 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f4MEAWd21388 for axp-list@listman.redhat.com; Tue, 22 May 2001 10:10:32 -0400 Received: from zmamail04.zma.compaq.com (zmamail04.zma.compaq.com [161.114.64.104]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f4MEAVb21384 for ; Tue, 22 May 2001 10:10:32 -0400 Received: by zmamail04.zma.compaq.com (Postfix, from userid 12345) id EE30B4F79; Tue, 22 May 2001 10:12:32 -0400 (EDT) Received: from taynzmail03.nz-tay.cpqcorp.net (taynzmail03.nz-tay.cpqcorp.net [16.47.4.103]) by zmamail04.zma.compaq.com (Postfix) with ESMTP id EA22A4C91 for ; Tue, 22 May 2001 10:12:32 -0400 (EDT) Received: by taynzmail03.nz-tay.cpqcorp.net (Postfix, from userid 12345) id B721853A; Tue, 22 May 2001 10:12:32 -0400 (EDT) Received: from linux04.mro.cpqcorp.net (linux04.mro.cpqcorp.net [16.129.9.99]) by taynzmail03.nz-tay.cpqcorp.net (Postfix) with ESMTP id AABEF658 for ; Tue, 22 May 2001 10:12:32 -0400 (EDT) Received: (from jestabro@localhost) by linux04.mro.cpqcorp.net (8.9.3/8.9.3) id JAA24410 for axp-list@redhat.com; Tue, 22 May 2001 09:06:03 -0400 Date: Tue, 22 May 2001 09:06:03 -0400 From: Jay Estabrook To: axp-list@redhat.com Subject: Re: X server use all the memory Message-ID: <20010522090603.D24375@linux04.mro.cpqcorp.net> Mail-Followup-To: axp-list@redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from lello@galileo.chem.unisa.it on Tue, May 22, 2001 at 11:07:01AM +0200 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Tue, May 22, 2001 at 11:07:01AM +0200, lello wrote: > > I have installed the 4.0.2 XFree86 server on my alpha ev56, > it seems to work fine, but it uses all the memory, using > top I get the following result: > > %MEM COMMAND > 8359.6 X > > I am using a gnome-session as window manager. > This cause to me a lot of problems, how can I solve it? You can't, except by getting more memory... ;-} This (Xserver using ~20GB of address space) is required on machines that need SPARSE addressing to get at PCI bus memory and I/O space. [By "required", I really mean "as currently implemented in XFree86"; doing it this way has allowed graphics driver writers to NOT have to worry explcitly about SPARSE access on Alpha; otherwise, IMHO, there'd be far fewer servers that run on Alpha.] Some EV56 machines don't need SPARSE (MIATA, LX, SX), but some do (PC164, AS500 5/500); the server knows and does appropriately. It's not that the Xserver actually uses all that address space that takes up the memory, it's the page tables to manage that space that are the memory hog: 20GB of address space requires ~2500 pages to hold the PTEs, or ~20MB. Moving to a different (read: more economical :-) window manager instead of GNOME or KDE may help somewhat, but more memory is the real solution. --Jay++ ----------------------------------------------------------------------------- Jay A Estabrook Alpha Engineering - LINUX Project Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080 200 Forest Street, Marlboro MA 01752 Jay.Estabrook@compaq.com -----------------------------------------------------------------------------