Para la ventana de SomaD he elegido una terminal xvt (consume la mitad de memoria que una xterm, 1.200 kb la xvt y 2.600 kb la xterm (en casa); y se ve igual de bien el output de somad): Con Xterm: PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 2493 root 16 0 5768 2332 5084 S 0.0 2.1 0:18.93 xterm -e somad Con Xvt: PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 2559 root 16 0 2660 1196 2456 S 0.0 1.2 0:00.01 xvt -e somad ------- La documentacion de icewm dice que se debe iniciar con el programa icewm-session. Pero arrancandolo asi arranca varios programas de icewm. Para hace que no consuma tantos recursos, lo arranco como siempre con icewm. De esta forma no carga el fondo de escritorio que esta configurado en el fichero preferences. Para cargarlo aņado en el inicio de las X que lo carge con xli. Con icewm-session: PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 2500 garraxi 21 5 4608 1316 4368 S 0.0 1.2 0:00.13 icewmbg 2498 garraxi 16 0 5156 1480 4796 S 0.0 1.3 0:00.03 icewmtray 2497 garraxi 15 0 6340 2624 5312 S 0.0 2.4 0:21.09 icewm 2496 garraxi 21 5 4608 1316 4368 S 0.0 1.2 0:00.12 icewmbg 2490 garraxi 17 0 4540 980 4328 S 0.0 0.9 0:00.01 icewm-session Con icewm: PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 2555 garraxi 15 0 6336 3968 5312 S 0.0 4.1 0:00.71 icewm ------ Los programas que somad utiliza para hacer sonar la musica deben de ser solo de consola, no tener interfaz grafica. Las posibilidades que veo son: - alsaplayer-text: recomendado en un correo de la ista de soma. - somaplayer: el de soma, en la lista de correos no le daban mucha fiabilidad, Ademas lo voy a utilizar para grabar sonido y prefiero que no haga dos cosas tan diferentes a la vez. - music123: frontend en modo texto para otros programas de tocar mp3 y ogg en modo texto (ogg123 y mpg123|mpg321). - sox: el que usa Quique. Permitiria dar efectos a los sonidos que toca (fades...) para lo que habria que currarse la linea de comando. Primero he puesto el alsaplayer-text, porque en un correo que lei en la lista de distribucion de soma lo recomendaban mejor que el somaplayer. Despues he probado tambien otros de consola: el music123 (porque lo encontre en la Sarge) y el play/sox (con el que nos hemos quedado finalmente). Tambien se puede usar mplayer (lo recomiendan en la lista de correo de soma), pero no esta en Debian/free. Los consumos de memoria en casa (no entorno real) son aprox: VIRT RES SHR Command 1300 1300 1000 play/sox 2800 2800 2000 music123 + ogg123 3000 3000 2800 alsaplayer-text Con alsaplayer: PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 5968 garraxi 15 0 41300 3548 5288 S 3.3 3.2 0:04.36 /usr/bin/alsaplayer 5967 garraxi 15 0 41300 3548 5288 S 0.7 3.2 0:01.06 /usr/bin/alsaplayer 5966 garraxi 20 0 41300 3548 5288 S 0.0 3.2 0:00.00 /usr/bin/alsaplayer 5964 garraxi 15 0 41300 3548 5288 S 0.0 3.2 0:00.14 /usr/bin/alsaplayer 5963 garraxi 16 0 41300 3548 5288 S 0.0 3.2 0:00.59 /usr/bin/alsaplayer Con sox: PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 3337 garraxi 15 0 3312 808 3016 S 3.9 0.7 0:01.32 sox 3334 garraxi 21 0 2768 1308 2532 S 0.0 1.1 0:00.02 play ------------------ Antes cambios: PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 5968 garraxi 15 0 41300 3548 5288 S 3.3 3.2 0:04.36 /usr/bin/alsaplayer 5967 garraxi 15 0 41300 3548 5288 S 0.7 3.2 0:01.06 /usr/bin/alsaplayer 5966 garraxi 20 0 41300 3548 5288 S 0.0 3.2 0:00.00 /usr/bin/alsaplayer 5964 garraxi 15 0 41300 3548 5288 S 0.0 3.2 0:00.14 /usr/bin/alsaplayer 5963 garraxi 16 0 41300 3548 5288 S 0.0 3.2 0:00.59 /usr/bin/alsaplayer 2503 garraxi 15 0 12984 964 4544 S 0.0 0.9 0:06.50 somad 2502 garraxi 16 0 12984 964 4544 S 0.0 0.9 0:06.23 somad 2500 garraxi 21 5 4608 1316 4368 S 0.0 1.2 0:00.13 icewmbg 2498 garraxi 16 0 5156 1480 4796 S 0.0 1.3 0:00.03 icewmtray 2497 garraxi 15 0 6340 2624 5312 S 0.0 2.4 0:21.09 icewm 2496 garraxi 21 5 4608 1316 4368 S 0.0 1.2 0:00.12 icewmbg 2495 garraxi 16 0 5768 1884 5428 S 0.0 1.7 0:04.30 xtdesk 2493 root 16 0 5768 2332 5084 S 0.0 2.1 0:18.93 xterm -e somad 2490 garraxi 17 0 4540 980 4328 S 0.0 0.9 0:00.01 icewm-session 2489 garraxi 16 0 2740 1240 2532 S 0.0 1.1 0:00.01 /bin/sh 2472 root 15 0 20052 6708 11740 S 0.7 6.0 2:10.77 /usr/bin/X11/X Con todos los cambios excepto el de sox: PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 2575 garraxi 15 0 41300 3520 5288 S 0.7 3.7 0:00.44 /usr/bin/alsaplayer 2574 garraxi 15 0 41300 3520 5288 S 2.7 3.7 0:01.65 /usr/bin/alsaplayer 2573 garraxi 18 0 41300 3520 5288 S 0.0 3.7 0:00.00 /usr/bin/alsaplayer 2572 garraxi 15 0 41300 3520 5288 S 0.0 3.7 0:00.00 /usr/bin/alsaplayer 2571 garraxi 16 0 41300 3520 5288 S 0.0 3.7 0:00.17 /usr/bin/alsaplayer 2565 garraxi 15 0 12984 1768 4544 S 0.0 1.8 0:00.00 somad 2563 garraxi 16 0 12984 1768 4544 S 0.0 1.8 0:00.03 somad 2561 garraxi 16 0 5768 2692 5428 S 0.0 2.8 0:00.09 xtdesk 2559 root 16 0 2660 1196 2456 S 0.0 1.2 0:00.01 xvt -e somad 2555 garraxi 15 0 6336 3968 5312 S 0.0 4.1 0:00.71 icewm 2554 garraxi 16 0 2736 1236 2532 S 0.0 1.3 0:00.01 /bin/sh 2537 root 15 0 19676 9884 11740 S 0.0 10.3 0:02.40 /usr/bin/X11/X Primeras pruebas con sox/play: PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 3337 garraxi 15 0 3312 808 3016 S 3.9 0.7 0:01.32 sox 3334 garraxi 21 0 2768 1308 2532 S 0.0 1.1 0:00.02 /bin/sh 3333 garraxi 15 0 12984 1768 4544 S 0.0 1.5 0:00.00 somad 3332 garraxi 16 0 12984 1768 4544 S 0.0 1.5 0:00.02 somad 2652 garraxi 16 0 5768 2696 5428 S 0.0 2.2 0:00.13 xtdesk 2650 root 16 0 2660 1196 2456 S 0.0 1.2 0:00.01 xvt -e somad 2645 garraxi 15 0 6336 3968 5312 S 0.0 3.3 0:01.07 icewm 2644 garraxi 16 0 2736 1236 2532 S 0.0 1.0 0:00.01 /bin/sh .xinitrc 2627 root 15 0 20164 10404 11740 S 2.0 8.6 0:11.42 /usr/bin/X11/X ------------ Asunto sox-alsa: PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 3763 garraxi 15 0 3424 1088 3016 S 3.3 0.8 0:00.70 sox Sox esta utilizando OSS para el sonido no ALSA (Ver -t ossdsp). Por tanto se podria quitar la infraestructura de ALSA del ordenata. Ademas el sox que tengo no acepta el -t alsa: garraxi@garraxi:~$ sox -h sox: Version 12.17.7 Usage: [ gopts ] [ fopts ] ifile [ fopts ] ofile [ effect [ effopts ] ] gopts: -e -h -p -v volume -V fopts: -r rate -c channels -s/-u/-U/-A/-a/-i/-g/-f -b/-w/-l/-d -x effect: avg band bandpass bandreject chorus compand copy dcshift deemph earwax echo echos fade filter flanger highp highpass lowp lowpass mask mcompand noiseprof noisered pan phaser pick pitch polyphase rate repeat resample reverb reverse silence speed stat stretch swap synth trim vibro vol effopts: depends on effect Supported file formats: aiff al au auto avr cdr cvs dat vms gsm hcom la lu maud mp3 (readonly) nul ossdsp prc raw sb sf sl smp sndt sph 8svx sw txw ub ul uw voc vorbis vox wav wve Entre los "formatos" no esta alsa. Asi que desinstalo todo ALSA. Paquetes quitados: alsa-base alsa-utils alsaplayer-alsa alsaplayer-common alsaplayer-gtk alsaplayer-oss alsaplayer-text -------- El siguiente programa que mas memoria consumia eran las X. Para tratar de que consuma menos, he pasado de la version 4.3 de la Sarge a la version 3.3.6 de la Woody, instalando los paquetes: xserver-common-v3_3.3.6-44_i386.deb xserver-mach64_3.3.6-44_i386.deb (CD2). He configurado a mano el XF86Config (guardo copia por aqui) y lo he dejado (de momento) con resolucion 800x600 y colores de 24 bits. Probar con 24b a resolucion 1024x768 (seccion de accelerated servers). Pero con esa resolucion la pantalla vibra y no se ve bien. Esta a 48,3 Khz y 59 Hz. La dejo a 800X600 Tambien volver a poner las configs: "DontZap" #disallows the use of the Ctrl+Alt+Backspace sequence, y "DontZoom" #disallows the use of the Ctrl+Alt+Keypad-Plus. Para ello, en la seccion "ServerFlags" descomentar ambas variables. DontZap NO FUNCIONA Para que no se pueda cambiar a otra terminal con Ctrl+Alt+Fn, ver de poner, en la seccion "Keyboard", cerca de Xleds, la opcion sin comentar VTSysReq. Funciona!! Segun el man XF86Config-v3: VTSysReq enables the SYSV-style VT switch sequence for non-SYSV systems which support VT switching. This sequence is Alt-SysRq fol- lowed by a function key (Fn). This prevents the X server trap- ping the keys used for the default VT switch sequence. Probar tambien el teclado a ver que tal va, todas las teclas y tal. VAN BIEN. El raton iba bien. Variacion del consumo de memoria: PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 657 root 15 0 18128 8280 1372 R 1.3 8.6 0:01.51 /usr/bin/X11/X (v4.3) 657 root 15 0 14056 5792 1628 R 1.3 8.6 0:01.51 /usr/bin/X11/X (v3.3.6) Cambio en la configuracion dada por la pantalla: Antes iba (con v4.3) a 36,5 Khz y 70 Hz (segun la pantalla) a 800x600 Ahora va (con v3.3.6) a 47,9 Khz y 72 Hz (segun la pantalla) a 800x600 --------- Tambien consume algo mas la mxvrt de la Sarge, comparada con la que yo compilo, por lo que he instalado la nueva version instalada por mi. Variacion del consumo de memoria: PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 678 garraxi 15 0 2376 2376 1748 S 0.0 2.5 0:00.04 mrxvt (antes) 678 garraxi 15 0 1668 1668 1260 S 0.0 2.5 0:00.04 mrxvt (ahora) ----------- Uso de memoria tras estos cambios, en un momento de uso normal del ordenata: PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 2903 garraxi 15 0 1084 1084 884 R 0.7 0.6 0:00.13 htop 2900 garraxi 16 0 1632 1632 1228 S 0.0 0.9 0:00.03 bash 2899 garraxi 15 0 1664 1664 1260 S 0.0 0.9 0:00.04 mrxvt -s 2898 garraxi 15 0 1088 1080 684 S 3.3 0.6 0:04.59 sox 2895 garraxi 16 0 1324 1320 1004 S 0.0 0.7 0:00.02 play - 682 garraxi 15 0 2076 2072 1652 S 0.0 1.2 0:07.63 somad 681 garraxi 15 0 2076 2072 1652 S 0.0 1.2 0:00.34 somad 680 garraxi 15 0 2076 2072 1652 S 0.0 1.2 0:09.69 somad 677 garraxi 15 0 2844 2840 2372 S 0.0 1.6 0:01.94 xtdesk 675 root 15 0 1084 1084 924 S 0.0 0.6 0:00.08 xvt -e somad 671 garraxi 15 0 3964 3960 2828 S 0.0 2.2 0:09.67 icewm 670 garraxi 15 0 1256 1252 964 S 0.0 0.7 0:00.01 /bin/sh 666 root 15 0 14028 5764 1632 S 0.0 3.2 0:07.90 /usr/bin/X11/X 665 garraxi 15 0 644 640 564 S 0.0 0.4 0:00.01 xinit 654 garraxi 16 0 1284 1280 980 S 0.0 0.7 0:00.02 /bin/sh 647 root 15 0 476 476 424 S 0.0 0.3 0:00.00 /sbin/getty 646 root 15 0 476 476 424 S 0.0 0.3 0:00.00 /sbin/getty 645 root 15 0 476 476 424 S 0.0 0.3 0:00.00 /sbin/getty 644 garraxi 16 0 1444 1444 1116 S 0.0 0.8 0:00.07 -bash 638 root 15 0 724 724 620 S 0.0 0.4 0:00.01 /usr/sbin/cron 635 root 15 0 636 636 560 S 0.0 0.3 0:00.00 /usr/sbin/atd 625 root 15 0 1260 1256 464 S 0.0 0.7 0:00.22 /sbin/klogd 622 root 15 0 632 632 520 S 0.0 0.3 0:00.09 /sbin/syslogd 455 root 17 0 436 436 372 S 0.0 0.2 0:00.00 /sbin/portmap 12 root 15 0 0 0 0 S 0.0 0.0 0:01.36 kjournald 10 root 22 0 0 0 0 S 0.0 0.0 0:00.00 khubd 7 root 15 0 0 0 0 S 0.0 0.0 0:00.34 kupdated 6 root 25 0 0 0 0 S 0.0 0.0 0:00.00 bdflush 5 root 15 0 0 0 0 S 0.0 0.0 0:00.04 kiswapd 4 root 15 0 0 0 0 S 0.0 0.0 0:05.67 kswapd 3 root 34 19 0 0 0 S 0.0 0.0 0:02.50 ksoftirqd_CPU0 2 root 15 0 0 0 0 S 0.0 0.0 0:00.04 keventd 1 root 15 0 504 504 452 S 0.0 0.3 0:04.44 ini Ordenado por consumo: PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 666 root 15 0 14084 5820 1640 S 0.0 3.2 0:09.96 /usr/bin/X11/X 671 garraxi 15 0 3964 3960 2828 S 0.0 2.2 0:09.88 icewm 677 garraxi 15 0 2844 2840 2372 S 0.0 1.6 0:01.95 xtdesk 682 garraxi 15 0 2076 2072 1652 S 0.0 1.2 0:07.63 somad 681 garraxi 15 0 2076 2072 1652 S 0.0 1.2 0:00.34 somad 680 garraxi 15 0 2076 2072 1652 R 0.0 1.2 0:09.69 somad 2899 garraxi 15 0 1668 1668 1260 S 0.0 0.9 0:00.12 mrxvt -s 2900 garraxi 16 0 1632 1632 1228 S 0.0 0.9 0:00.03 bash 644 garraxi 16 0 1444 1444 1116 S 0.0 0.8 0:00.07 -bash 2907 garraxi 16 0 1324 1320 1004 S 0.0 0.7 0:00.02 /play - 654 garraxi 16 0 1284 1280 980 S 0.0 0.7 0:00.02 startx 625 root 15 0 1260 1256 464 S 0.0 0.7 0:00.22 /sbin/klogd 670 garraxi 15 0 1256 1252 964 S 0.0 0.7 0:00.01 .xinitrc 2910 garraxi 15 0 1088 1080 684 R 2.6 0.6 0:01.38 sox 2903 garraxi 15 0 1088 1088 884 R 0.7 0.6 0:00.89 htop 675 root 15 0 1084 1084 924 S 0.0 0.6 0:00.08 xvt -e somad 638 root 15 0 724 724 620 S 0.0 0.4 0:00.01 /usr/sbin/cron 665 garraxi 15 0 644 640 564 S 0.0 0.4 0:00.01 xinit 635 root 15 0 636 636 560 S 0.0 0.3 0:00.00 /usr/sbin/atd 622 root 15 0 632 632 520 S 0.0 0.3 0:00.09 /sbin/syslogd 1 root 15 0 504 504 452 S 0.0 0.3 0:04.44 ini 647 root 15 0 476 476 424 S 0.0 0.3 0:00.00 /sbin/getty 646 root 15 0 476 476 424 S 0.0 0.3 0:00.00 /sbin/getty 645 root 15 0 476 476 424 S 0.0 0.3 0:00.00 /sbin/getty 455 root 17 0 436 436 372 S 0.0 0.2 0:00.00 /sbin/portmap 12 root 15 0 0 0 0 S 0.0 0.0 0:01.37 kjournald 7 root 15 0 0 0 0 S 0.0 0.0 0:00.34 kupdated 5 root 15 0 0 0 0 S 0.0 0.0 0:00.04 kiswapd 4 root 15 0 0 0 0 S 0.0 0.0 0:05.67 kswapd 2 root 15 0 0 0 0 S 0.0 0.0 0:00.04 keventd 10 root 22 0 0 0 0 S 0.0 0.0 0:00.00 khubd 6 root 25 0 0 0 0 S 0.0 0.0 0:00.00 bdflush 3 root 34 19 0 0 0 S 0.0 0.0 0:02.51 ksoftirqd_CPU0