Date: Wed, 24 Jan 1996 10:50:40 -0800 From: "Danny J. Mitzel" <mitzel@Ipsilon.COM> To: freebsd-questions@FreeBSD.ORG Cc: mitzel@Ipsilon.COM Subject: reducing X server memory usage? Message-ID: <199601241850.KAA22417@mailhost.Ipsilon.COM>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hi all,
I just brought my machine up with FreeBSD-2.1.0-RELEASE. it is a
pentium 133, 16MB memory, sony 17se monitor, and ATI mach64 framebuffer.
I was told [locally] that the XFree86 server distributed with FreeBSD
would not work with this monitor/framebuffer, so I loaded the X Inside
Accelerated X server we have. I start up the X server in 1024x768
8bit color mode and the X server immediately occupies over 10M of memory
[this is 75% of my real memory! :-[ opening an emacs and netscape
immediatly puts me into thrashing mode :'(
I'm wondering if there's anything I should check to reduce memory usage?
is there another XFree86 X server that will support this monitor/framebuffer
with less memory usage? is FreeBSD+X11 usable on a 16M machine?
here's a 'ps' just after xinit with only the default xterm up:
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 11006 11.7 74.6 1812 10576 ?? S 3:11AM 0:01.40 /usr/X11R6/lib/X11/AcceleratedX/arch/FreeBSD/Xaccel :0
I've attached a copy of my /etc/Xaccel.ini file and a xdpyinfo dump
in case any of that is useful in debugging my setup.
thanks for any suggestions!
danny
[-- Attachment #2 --]
//
// Accelerated-X 1.2, Build 1201
//
// Xaccel.ini created at Fri Jan 19 11:02:29 1996
//
[FONTPATH]
"/usr/X11R6/lib/X11/AcceleratedX/fonts/misc/",
"/usr/X11R6/lib/X11/fonts/misc/",
"/usr/X11R6/lib/X11/fonts/75dpi/",
"/usr/X11R6/lib/X11/fonts/100dpi/";
[RGBPATH]
"/usr/X11R6/lib/X11/AcceleratedX/etc/Xrgb";
[SETTINGS]
SnfFormat = ISC;
[KEYBOARD]
Layout = "en_US.xkm";
[MOUSE]
Device = "/dev/cuaa0";
Protocol = Microsoft;
[SCREEN]
Board = "ati/xpression2.xqa";
Monitor = "mfreq/mfreq80.vda";
Depth = 8;
[RESOLUTIONS]
1024x768;
[-- Attachment #3 --]
name of display: :0.0
version number: 11.0
vendor string: X Inside Inc.
vendor release number: 1201
maximum request size: 4194300 bytes
motion buffer size: 0
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 7
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 8, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 12, bits_per_pixel 16, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 167
focus: window 0x140000d, revert to Parent
number of extensions: 12
BIG-REQUESTS
DEC-XTRAP
MIT-SCREEN-SAVER
MIT-SHM
MIT-SUNDRY-NONSTANDARD
Multi-Buffering
SHAPE
XI-ShmLink
XIdle
XTEST
XTestExtension1
XsightExtension
default screen number: 0
number of screens: 1
screen #0:
dimensions: 1024x768 pixels (346x260 millimeters)
resolution: 75x75 dots per inch
depths (2): 1, 8
root window id: 0x28
depth of root window: 8 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x26
default number of colormap cells: 256
preallocated pixels: black 0, white 1
options: backing-store YES, save-unders YES
largest cursor: 64x64
current input event mask: 0x58003d
KeyPressMask ButtonPressMask ButtonReleaseMask
EnterWindowMask LeaveWindowMask SubstructureNotifyMask
SubstructureRedirectMask PropertyChangeMask
number of visuals: 6
default visual id: 0x20
visual:
visual id: 0x20
class: PseudoColor
depth: 8 planes
available colormap entries: 256
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x21
class: DirectColor
depth: 8 planes
available colormap entries: 8 per subfield
red, green, blue masks: 0xe0, 0x1c, 0x3
significant bits in color specification: 8 bits
visual:
visual id: 0x22
class: GrayScale
depth: 8 planes
available colormap entries: 256
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x23
class: StaticColor
depth: 8 planes
available colormap entries: 256
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x24
class: TrueColor
depth: 8 planes
available colormap entries: 8 per subfield
red, green, blue masks: 0xe0, 0x1c, 0x3
significant bits in color specification: 8 bits
visual:
visual id: 0x25
class: StaticGray
depth: 8 planes
available colormap entries: 256
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601241850.KAA22417>
