1. How quick xorg in ordinary operations compared to original xfree?
ordinary operations like what?
opaque drag and resize is a little choppy.
mrxvt, gvim, xfe, xpdf, conky, gqview, ddd all seem to run similar to xfree.
xpilot is a little slow to start, but runs the same.
xscorch seems the same, gtkboard too.
It is hard to tell since I don't have 2 Zaurus machines to try side by side.
I need to do some tests with both to tell, and that might be a while yet.
I still havn't got middle and right mouse buttons recognized as set in inputconfig.py
Although I havn't actually worked on it yet.
2. What takes so much in your xorg build (37M)? libs, fonts?
I've managed to get it down to 30M, but I still have more to do.
/
4.6M etc/
25M usr/
/usr/X11R6
5.6M bin/
20M lib/
/usr/X11R6/lib
9.0M .
2.0M X11
9.0M modules
libOSMesa is the big lib (2.1M)
I still have a few multi versions I need to track and eliminate
/usr/X11R6/lib/modules
2.6M .
336K fonts
425K input
16K linux
2.4M drivers
140K multimedia
3.2M extensions
drivers should probably go and the big extension is GLcore (2.7M).
Much of input could also go.
/usr/X11R6/lib/X11
2.0M .
60K etc
12K x11perfcomp
8.0K fonts/misc
189K fonts/util
4.0K fonts/75dpi
4.0K fonts/local
4.0K fonts/100dpi
4.0K fonts/cyrillic
213K fonts
120K xedit/lisp/progmodes
224K xedit/lisp
224K xedit
8.0K getconfig
1.4M config
this I need to look into more, I don't know if config is needed for anything other than imake.
/etc
4.5M X11
40K fonts/
/etc/X11
4.0K Xsession.d
273K app-defaults
4.0K lbxproxy
4.0K proxymngr
64K rstart
4.0K twm
156K xdm
8.0K xinit
2.9M xkb
1.1M xserver
4.0K xsm
xkb could be trimmed, but I don't know yet.
xserver seems to contain printing locales and fonts I know nothing about.
What can be distributed separately from main package?
I'm not sure, but I would imagine quite a bit.
What is the minimal xorg size?
again, I don't know.
I think I need to build less of xorg.
I don't think I need some libs like:
libxrx, libxrxnest, libXinerama, libXevie, and the GL/Mesa libs.
I need to research it a bit.
3. What about RAM consumation compared to xfree?
Right now I can't compare it to xfree, since I don't have it installed.
at CLI before running X:
Mem: 36972K used, 24916K free, 0K shrd, 56K buff, 20552K cached
Load average: 2.16, 2.19, 2.15 (State: S=sleeping R=running, W=waiting)
doing nothing:
Mem: 42752K used, 19136K free, 0K shrd, 68K buff, 20856K cached
Load average: 2.43, 2.26, 2.17 (State: S=sleeping R=running, W=waiting)
PID USER STATUS RSS PPID %CPU %MEM COMMAND
1223 root S < 9936 1222 0.0 16.0 X
4794 root S 1112 4774 0.0 1.7 xcompmgr
drag opaque mrxvt:
Mem: 42924K used, 18964K free, 0K shrd, 68K buff, 20856K cached
Load average: 2.51, 2.29, 2.19 (State: S=sleeping R=running, W=waiting)
PID USER STATUS RSS PPID %CPU %MEM COMMAND
1223 root R < 9936 1222 77.6 16.0 X
4794 root S 1112 4774 3.3 1.7 xcompmgr
in all instances there are a few other programs running.
mrxvt, one displayed on the Zaurus and one on my desktop.
Zaurus - 4771 root S 3192 4768 0.0 5.1 mrxvt
Desktop - 4684 root R 3296 4683 12.9 5.3 mrxvt
-- The high CPU is from my text selection, after I'm done it drops to 0
bash (x5), all are similar to this - 4656 root S 1552 1 0.0 2.5 bash
conky - 4857 root S 2164 4856 0.1 3.4 conky
top - 4832 root R 720 4686 1.3 1.1 top
and of course, fvwm - 856 root S 3276 4852 0.0 5.2 fvwm
/proc/1223# cat status
Name: X
State: S (sleeping)
Tgid: 1223
Pid: 1223
PPid: 1222
TracerPid: 0
Uid: 0 0 0 0
Gid: 0 0 0 0
CPU_Pid: 0
Pgd: c3044000
FDSize: 32
Groups: 0
VmSize: 7704 kB
VmLck: 0 kB
VmRSS: 3984 kB
VmData: 2116 kB
VmStk: 68 kB
VmExe: 1472 kB
VmLib: 2992 kB
SigPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 8000000000301000
SigCgt: 0000000010006203
CapInh: 0000000000000000
CapPrm: 00000000fffffeff
CapEff: 00000000fffffeff
/proc/1223# cat pmem
sbrk 184kB
mmap 1236kB
stack 68kB
file 108kB
shared 0kB
total 1596kB
start and quit after loaded.
$time startx.fvwm
real 0m13.051s
user 0m6.170s
sys 0m3.390s