Xsun memory usage on ss5?

Xsun memory usage on ss5?

Post by 21 Dec 95 08:55:53 +010 » Fri, 22 Dec 1995 04:00:00



We have a SS5 with 24 bit colorscreen, on this system the Xsun
process takes about 35Mb memory. Why is this process using so
much memory, where the same process on a IPC takes only 8Mb.

Gerrit.

--

From:        Gerrit Polder      
             CPRO-DLO
             P.O. Box 16
             6700 AA   Wageningen
             The Netherlands                         \\    //
                                                      \\  //
Phone:       +31.317.476842                             \/
Fax:         +31.317.418094                             /\

HAM-Radio:   PA3BYA                 / \              //|  |\\
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/   \               |  |
                                        \     _________| #|_________
                                         \~~~/
                                          \_/

 
 
 

Xsun memory usage on ss5?

Post by Casper H.S. D » Fri, 22 Dec 1995 04:00:00


21 Dec 95 08:55:53 +0100 writes:

Quote:>We have a SS5 with 24 bit colorscreen, on this system the Xsun
>process takes about 35Mb memory. Why is this process using so
>much memory, where the same process on a IPC takes only 8Mb.

[ Fix your newsreader: it puts a date in the "From:" line.

The solaris FAQ says:

4.9) Why is Xsun such a memory pig, especially on the SX and S24?

    Ps counts the mappings for the framebuffer as memory.
    Especially on the SX where a number of different mappings
    of the device address space is used to optimize
    access this can cause large amounts of memory, but not
    physical memory, to be mapped and shown by ps.

    Solaris 2.3 FCS also has a number of Xsun memory leaks when using
    the SX.  Get the SX patches or upgrade to 2.4.

    --- end of excerpt from the FAQ

Questions marked with a * or + have been changed or added since
the FAQ was last posted

The most recently posted version of the FAQ is available from
ftp.fwi.uva.nl in directory /pub/solaris
--
Casper Dik - Network Security Engineer - Sun Microsystems
This article is posted from my guest account at the University

Opinions expressed here are mine (but you're welcome to share them with me)

 
 
 

1. Xsun memory usage with Creator2D framebuffer

According to "top" or "ps -el", the Xsun server on my Ultra
1/170E-Creator2D allocates some 121 MB of virtual memory. "top" and
"/usr/ucb/ps axl" indicate that usually only 20 MB are really used, rarely
more than 25 MB. A /usr/proc/bin/pmap of the Xsun process shows:

  27636:  /usr/openwin/bin/Xsun :0 -dev /dev/fbs/ffb0 -dev /dev/fbs/bwtwo0
  00010000  536K read/exec          /usr/openwin/bin/Xsun
  000A4000   32K read/write/exec    /usr/openwin/bin/Xsun
  000AC000 1696K read/write/exec
  000AE000 1688K     [ heap ]
  E7390000  432K read/write
  E7400000114704K read/write          <--- ** 112 MB !!! **
  EE430000   32K read/write
  ...

This is on Solaris 2.5, relevant patches: 103076-07 (ffb patch),
103210-06 (Xsun patch), 103093-05 (kernel)

Does this mean that some 100 MB of my swap space are simply wasted
for Xsun and are never used?

 - Andi Karrer

2. MUCHO MUCHO DINERO

3. Xsun memory usage too high - needs to be reduced.

4. CallBack

5. Xsun's memory usage on a Sparc 5 running Solaris 2.4

6. Modem Callback software

7. Xsun memory usage

8. Onboard ethernet Linux driver of ASUS A7N8X Delus

9. Xsun and memory usage

10. Quota-like limit on cpu-usage/memory-usage...

11. System info (cpu usage, memory usage, etc) using SNMP?

12. How to find out the cpu usage, real & virtual memory usage ?

13. CPU usage by Xsun (Solaris 8, 280R, XVR-100)