* X server use all the memory @ 2001-05-22 9:07 lello 2001-05-22 13:06 ` Jay Estabrook 0 siblings, 1 reply; 7+ messages in thread From: lello @ 2001-05-22 9:07 UTC (permalink / raw) To: axp-list Hi, 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? Thanks in advances, Lello. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: X server use all the memory 2001-05-22 9:07 X server use all the memory lello @ 2001-05-22 13:06 ` Jay Estabrook 2001-05-22 14:53 ` lello 0 siblings, 1 reply; 7+ messages in thread From: Jay Estabrook @ 2001-05-22 13:06 UTC (permalink / raw) To: axp-list 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 ----------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: X server use all the memory 2001-05-22 13:06 ` Jay Estabrook @ 2001-05-22 14:53 ` lello 2001-05-22 16:15 ` Jay Estabrook 0 siblings, 1 reply; 7+ messages in thread From: lello @ 2001-05-22 14:53 UTC (permalink / raw) To: axp-list On Tue, 22 May 2001, Jay Estabrook wrote: > 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... ;-} > I have 128 Mb RAM on my alpha, and strangely before upgrading to XFree86 4.0.2 the X server didn't cause this problem (but it crashed too often). ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: X server use all the memory 2001-05-22 14:53 ` lello @ 2001-05-22 16:15 ` Jay Estabrook 2001-05-22 17:29 ` Rich Payne 2001-05-22 19:37 ` Christopher C. Chimelis 0 siblings, 2 replies; 7+ messages in thread From: Jay Estabrook @ 2001-05-22 16:15 UTC (permalink / raw) To: axp-list On Tue, May 22, 2001 at 04:53:25PM +0200, lello wrote: > On Tue, 22 May 2001, Jay Estabrook wrote: > > > You can't, except by getting more memory... ;-} > > I have 128 Mb RAM on my alpha, and strangely before upgrading to XFree86 > 4.0.2 the X server didn't cause this problem (but it crashed too > often). Much changed between 3.3.x and 4.0.x; that was one area. I hope to revisit this area at some point, see if there's a way to keep fropm having to use all that address space, but it'll have to be after the next release (4.1.0). --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 ----------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: X server use all the memory 2001-05-22 16:15 ` Jay Estabrook @ 2001-05-22 17:29 ` Rich Payne 2001-05-22 19:37 ` Christopher C. Chimelis 1 sibling, 0 replies; 7+ messages in thread From: Rich Payne @ 2001-05-22 17:29 UTC (permalink / raw) To: axp-list Someone correct me if I'm wrong...but with 4.x.x doesn't it include the video memory from the card in the memory used? I think I remember reading that just after 4.0 came out. --rdp On Tue, 22 May 2001, Jay Estabrook wrote: > On Tue, May 22, 2001 at 04:53:25PM +0200, lello wrote: > > On Tue, 22 May 2001, Jay Estabrook wrote: > > > > > You can't, except by getting more memory... ;-} > > > > I have 128 Mb RAM on my alpha, and strangely before upgrading to XFree86 > > 4.0.2 the X server didn't cause this problem (but it crashed too > > often). > > Much changed between 3.3.x and 4.0.x; that was one area. > > I hope to revisit this area at some point, see if there's a way to keep > fropm having to use all that address space, but it'll have to be after > the next release (4.1.0). > > --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 > ----------------------------------------------------------------------------- > > > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list > -- Rich Payne rpayne@alphalinux.org www.alphalinux.org ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: X server use all the memory 2001-05-22 16:15 ` Jay Estabrook 2001-05-22 17:29 ` Rich Payne @ 2001-05-22 19:37 ` Christopher C. Chimelis 2001-05-22 23:43 ` Richard Henderson 1 sibling, 1 reply; 7+ messages in thread From: Christopher C. Chimelis @ 2001-05-22 19:37 UTC (permalink / raw) To: Jay Estabrook; +Cc: axp-list On Tue, 22 May 2001, Jay Estabrook wrote: > I hope to revisit this area at some point, see if there's a way to keep > fropm having to use all that address space, but it'll have to be after > the next release (4.1.0). I thought about that problem in the past, but couldn't come up with a solution (although I admittedly didn't spend too many cycles on it). I definitely don't envy you when you look into that ;-) C ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: X server use all the memory 2001-05-22 19:37 ` Christopher C. Chimelis @ 2001-05-22 23:43 ` Richard Henderson 0 siblings, 0 replies; 7+ messages in thread From: Richard Henderson @ 2001-05-22 23:43 UTC (permalink / raw) To: axp-list; +Cc: Jay Estabrook On Tue, May 22, 2001 at 03:37:46PM -0400, Christopher C. Chimelis wrote: > I thought about that problem in the past, but couldn't come up with a > solution (although I admittedly didn't spend too many cycles on it). I've mentioned one before here: Pick a base address, say 0x300_0000_0000, and map the pieces of the sparce address space that you need, but do not map anything else. Address as if the whole thing is mapped. r~ ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2001-05-22 23:44 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2001-05-22 9:07 X server use all the memory lello 2001-05-22 13:06 ` Jay Estabrook 2001-05-22 14:53 ` lello 2001-05-22 16:15 ` Jay Estabrook 2001-05-22 17:29 ` Rich Payne 2001-05-22 19:37 ` Christopher C. Chimelis 2001-05-22 23:43 ` Richard Henderson
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox