When I startup my Xserver using the PGX24 card on the machine (with
24-bit, 1280x1024), it seems to take up very small amounts of memory
(order of magnitude less) and responds fast. But this card does not
support 24-bit at 1600x1280 for my 21" monitor.
Are there any special options w.r.t. default visuals etc. that I need to
configure on creator3D so that it actually works without gobbling all
memory and crash after that??
I am running CDE on a Ultra 10/solaris 7 with a creator 3D card. I start
up the Xsun program in 24-bit mode using the /etc/dt/config/Xservers
file. Here is the line in that file.
:0 Local local_uid@console root /usr/openwin/bin/Xsun :0 -ar1 250
-ar2 37 -nobanner -dev /dev/fbs/ffb0 defdepth 24
Has someone seen this with Creator card? Can someone help? It crashes so
often now that it is just impossible to use it for more than 2-3 days
continuously.
Thanks in advance.
Raj
Raj Vadigepalli <raj...@che.udel.edu> writes:
>The Xsun program on my U10 is taking up all my memory and swap and just
>crashes (and/or hangs) often. When it starts, it takes up about 100MB of
>swap and 45MB of RAM!!! This seems outright ridiculous as I am not
>starting up any programs on login except calendar and dtmail. I am
>reporting whatever sdtprocess, top report. after running few matlab jobs
>and netscape for a while, it just bloats up to 80MB RAM and 250MB
>swap!!! Are these numbers correct? The machine becomes extremely slow to
>workspace changes etc. I started the Xsun without the -defdepth option
>and still the same thing happens.
No, the numbers are an artifact of how the Creator3D is mapped.
It maps > 120MB of framebuffer adddress space.
Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
> Has someone seen this with Creator card?
Yes. The X server maps the memory in the frame buffer. This isn't real
memory on the system. Note that all X servers work this way, it's the
Creator does some fancy things...
> Can someone help?
Probably.
> It crashes so often now that it is just impossible to use it for more
> than 2-3 days continuously.
You do have all the latest Solaris 7 patches installed on the system,
right? There are patches for pgx, creator and Xsun. All should be
installed. Go to htto://sunsolve.sun.com/ for all the details.
--
Alan L. Stange Renaissance Technologies Corp. sta...@rentec.com
Thanks for pointing me to the right resource. Although I dont complete
understand it, here is what the [heap] line for my Xsun process (output
of pmap -x)says.
Address Kbytes Resident Shared Private Permissions Mapped File
000CA000 6240 4704 - 4704 read/write/exec [ heap ]
Does this mean that my Xsun is only using 6MB total? I would basically
like to know exactly how much RAM and swap each process is using so that
I can figure out if my machine is having problems with memory? So, if I
want to calculate total memory (RAM and swap) being used, can I just
take pmap of all processes and add up the [heap] portions? Why doesnt
the 'ps' command use this info then instead of reporting that my machine
uses up 80MB for Xsun?
Raj
Are you sure? Use /usr/proc/bin/pmap to look at the proceesses memory
usage and make sure you're not just seing the memory on the frame buffer
that's mapped in.
>I am running CDE on a Ultra 10/solaris 7 with a creator 3D card.
Make sure you have the latest Xsun and FFB patches installed.
(Xsun is 107078-18, FFB is 106145-13 & 106148-08)
--
________________________________________________________________________
Alan Coopersmith al...@godzilla.EECS.Berkeley.EDU
Univ. of California at Berkeley http://soar.Berkeley.EDU/~alanc/
aka: alanc@{CSUA,OCF,CS,BMRC,EECS,ucsee.eecs,cory.eecs}.Berkeley.EDU
> Jim Davis wrote:
> >
> > In article <3846A1...@che.udel.edu> you write:
> > :The Xsun program on my U10 is taking up all my memory and swap and just
> > :crashes (and/or hangs) often. When it starts, it takes up about 100MB of
> > :swap and 45MB of RAM!!!
> >
> > You have looked at the Solaris FAQ entry about that?
> >
> > http://www.sunhelp.org has a copy, along with a lot of other good stuff.
> > --
> > Jim Davis <jda...@cs.arizona.edu>
>
> Thanks for pointing me to the right resource. Although I dont complete
> understand it, here is what the [heap] line for my Xsun process (output
> of pmap -x)says.
>
> Address Kbytes Resident Shared Private Permissions Mapped File
> 000CA000 6240 4704 - 4704 read/write/exec [ heap ]
>
> Does this mean that my Xsun is only using 6MB total?
No. It means that Xsun is using 6240 of heap space. There is other memory
involved as well.
> I would basically like to know exactly how much RAM and swap each process is
> using so that
> I can figure out if my machine is having problems with memory? So, if I
> want to calculate total memory (RAM and swap) being used, can I just
> take pmap of all processes and add up the [heap] portions?
No.
> Why doesnt
> the 'ps' command use this info then instead of reporting that my machine
> uses up 80MB for Xsun?
ps is showing the amount of memory mapped by the process. It's using memory
that happens to be in the frame buffer as well as main memory.
If you want to do what you describe, you'll need to do some reading. Look for
memtool on the Sun web site as it does come with a nice paper describing the
memory system. Also look at all the articles on sunworld.com by Adrian
Cockroft and Jim Mauro. Jim Mauro's book on the Solaris kernel has been
published. Also read Cockroft's book on Solaris tuning for much more
insight. Memory usage in a modern OS is not simple...
How does one find what are the latest free patches available from SUN?
Not just the recommended ones, but all the free ones. (Just in case I
have a specific problem that is fixed by a free patch, but is not
recommended in general for all users). The solaris 7 patch report lists
all the patches released for solaris 7 so far, but does not provide
links to all the free patches (like the example I mentioned here). What
are the usual methods people here follow to update their systems with
the latest free patches? I am not really looking for automated methods,
but just a way to browse around sunsolve site and to actually find what
I need without having to know the exact patch number.
Raj
>> It crashes so often now that it is just impossible to use it for more
>> than 2-3 days continuously.
>You do have all the latest Solaris 7 patches installed on the system,
>right? There are patches for pgx, creator and Xsun. All should be
>installed. Go to htto://sunsolve.sun.com/ for all the details.
No good unless the person has a support contract, or has Sun done something
remarkable and actually released useful graphics hardware/software patches
in the public patch kits for a change? 8-)
Regards,
Craig.
--
Craig Dewick. Send email to "cde...@lios.apana.org.au"
Point a web browser at 'http://lios.apana.org.au/~cdewick/sun_shack.html' to
access my archive of Sun information and links to other places. For info
about Sun Ripened Kernels, go to "http://www.sunrk.com.au"
cde...@lios.apana.org.au (Craig Dewick) writes:
>In <3846B6ED...@rentec.com> Alan Stange <sta...@rentec.com> writes:
>>> It crashes so often now that it is just impossible to use it for more
>>> than 2-3 days continuously.
>>You do have all the latest Solaris 7 patches installed on the system,
>>right? There are patches for pgx, creator and Xsun. All should be
>>installed. Go to htto://sunsolve.sun.com/ for all the details.
>No good unless the person has a support contract, or has Sun done something
>remarkable and actually released useful graphics hardware/software patches
>in the public patch kits for a change? 8-)
If you register as a user you get access to SolarisSolve; this is
free. On SolarisSOlve (access1.sun.com/solarissolve) there is teh ability
to download the miantenance updates; that's about 100MB of patches
(zip'ed) for SPARC.
Raj
You don't need a SunSpectrum number. You just need to register as a Solaris
user. It's really not all that onerous. I believe the command is solregis.
Try
http://ftp.cs.tu-berlin.de/pub/sun/sun-fixes/
--
Bernd Braun
Siemens AG Braunschweig
Bernd...@NOSPAM.vt.siemens.de