Subject: Re: X server as a Unix system process
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Jukka Marin <jmarin@pyy.jmp.fi>
List: tech-kern
Date: 07/15/1997 11:36:48
On Tue, Jul 15, 1997 at 01:27:44AM -0700, Jonathan Stone wrote:
> 
> Looks to me like the VM code is slowly growing a linked list
> somewhere, when given repeated mmap()/munmap() calls for small
> regions.

Hmm.  Is there anything that could be done to remedy this?

If I quit and restart Applixware, things return to normal.  So this means
that the linked list is deallocated when the Applixware process end?

> Your data suggests that on NetBSD, this runs into a performance bug.

It certainly feels like that, looking the word processor redrawing the
window ssssslllllooowwwwlllyyyyy.  It takes 9 seconds to do one redraw
at the moment (on a 166 MHz Pentium with 64 MB RAM, no paging during
the redraw).

> It looks to me like you're gettin a different chunk of address space
> each time, which is also consistent with a slowly-growing linked list.
> (Where else would the state be kept?)

I can send the ktrace output to someone if it helps (I guess it doesn't).

So, where do we go from here?  I guess I'm the only one suffering from
this...

  -jm


-- 

                       1503 kHz @ 22:30 EET DST Mon-Fri

                     ---> http://www.jmp.fi/~jmarin/ <---