Subject: Re: X server as a Unix system process
To: Jukka Marin <jmarin@pyy.jmp.fi>
From: Jukka Marin <jmarin@pyy.jmp.fi>
List: tech-kern
Date: 07/15/1997 11:15:52
On Tue, Jul 15, 1997 at 10:35:32AM +0300, Jukka Marin wrote:
> The three munmap() calls take over 20 ms!  Why?  It seems that these calls
> are slowing down grtadually.  During the last ktrace of the X server, they
> were taking about 2 ms each.

Getting even worse:

   203 XF86_SVGA 0.000187 CALL  mmap(0,0x27000,0x3,0x1002,0xffffffff,0,0,0)    
   203 XF86_SVGA 0.000143 RET   mmap 286797824/0x11183000
   203 XF86_SVGA 0.009413 CALL  munmap(0x111aa000,0x27000)
   203 XF86_SVGA 0.000227 RET   munmap 0
   203 XF86_SVGA 0.000057 CALL  mmap(0,0x27000,0x3,0x1002,0xffffffff,0,0,0)
   203 XF86_SVGA 0.000130 RET   mmap 286957568/0x111aa000
   203 XF86_SVGA 0.009094 CALL  munmap(0x11117000,0x27000)
   203 XF86_SVGA 0.000229 RET   munmap 0
   203 XF86_SVGA 0.000059 CALL  mmap(0,0x27000,0x3,0x1002,0xffffffff,0,0,0)
   203 XF86_SVGA 0.000132 RET   mmap 286355456/0x11117000 
   203 XF86_SVGA 0.009397 CALL  munmap(0x1113e000,0x27000)
   203 XF86_SVGA 0.000224 RET   munmap 0

Almost 30 ms is spent in the munmap() calls now.

Remember, I understand about as much about this as a pig understands about
bicycles, so... ;-)

Anyone else seeing this problem with X?  I'm running XFree86 version 3.3.

  -jm


-- 

                       1503 kHz @ 22:30 EET DST Mon-Fri

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