Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
¿HT con SMP?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
cokeing
n00b
n00b


Joined: 24 Dec 2003
Posts: 59
Location: Spain

PostPosted: Wed Jan 07, 2004 10:15 am    Post subject: ¿HT con SMP? Reply with quote

Hola señores:
Tengo un P4 3.0Ghz, con Hyper Threading, y no hay la manera de kitarle al kernel la opcion de Multi Procesador, si lo quito en el
Code:
 make bzImage
da error:
Quote:

/usr/src/linux-2.4.23/include/linux/modules/i386_ksyms.ver:96:1: warning: this is the location of the previous definition
make[2]: *** [ksyms.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.23/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.23/kernel'
make: *** [_dir_kernel] Error 2

bueno... y otra kosa, si hago un psaux, veo que hay varios Pid's diferentes que hacen referencia al mismo programa fijaros:
Quote:

3321 cokeing 15 0 16912 16m 10m S 2.0 3.3 0:06.23 amule
967 root 12 0 172m 44m 7160 S 1.0 8.9 2:04.46 X
1070 cokeing 10 0 10488 10m 7336 S 0.7 2.0 0:11.72 xchat-2
1082 cokeing 10 0 48104 46m 21m S 0.3 9.4 1:31.29 galeon-bin
3326 cokeing 10 0 960 960 772 R 0.3 0.2 0:00.25 top
1 root 9 0 484 484 428 S 0.0 0.1 0:04.73 init
2 root 9 0 0 0 0 S 0.0 0.0 0:00.07 keventd
3 root 19 19 0 0 0 S 0.0 0.0 0:00.22 ksoftirqd_CPU0
4 root 19 19 0 0 0 S 0.0 0.0 0:00.01 ksoftirqd_CPU1
5 root 9 0 0 0 0 S 0.0 0.0 0:00.00 kswapd
6 root 9 0 0 0 0 S 0.0 0.0 0:00.00 bdflush
7 root 9 0 0 0 0 S 0.0 0.0 0:00.12 kupdated
8 root 9 0 0 0 0 S 0.0 0.0 0:00.01 khubd
13 root 9 0 0 0 0 S 0.0 0.0 0:00.30 kjournald
162 root 9 0 904 904 604 S 0.0 0.2 0:00.01 devfsd
790 root 9 0 612 612 500 S 0.0 0.1 0:00.11 syslogd
792 root 9 0 604 604 412 S 0.0 0.1 0:00.00 klogd
942 root 9 0 580 580 508 S 0.0 0.1 0:00.05 agetty
943 root 9 0 580 580 508 S 0.0 0.1 0:00.02 agetty
944 root 9 0 580 580 508 S 0.0 0.1 0:00.03 agetty
945 root 9 0 580 580 508 S 0.0 0.1 0:00.00 agetty
946 root 9 0 576 576 508 S 0.0 0.1 0:00.00 agetty
947 root 9 0 576 576 508 S 0.0 0.1 0:00.00 agetty
964 root 9 0 1056 1056 904 S 0.0 0.2 0:01.25 xdm
968 root 9 0 2424 2424 2044 S 0.0 0.5 0:00.04 xdm
1034 cokeing 9 0 976 976 864 S 0.0 0.2 0:00.01 Xsession
1066 cokeing 9 0 2612 2608 1972 S 0.0 0.5 0:00.73 fluxbox
1067 cokeing 8 0 916 916 812 S 0.0 0.2 0:00.01 sh
1069 cokeing 9 0 7016 7016 5144 S 0.0 1.4 0:24.39 gkrellm2
1073 cokeing 9 0 3372 3372 2020 S 0.0 0.7 0:00.16 xterm
1076 cokeing 9 0 1240 1240 1028 S 0.0 0.2 0:00.00 bash
1085 cokeing 9 0 6976 6976 2044 S 0.0 1.4 0:00.19 gconfd-2
1087 cokeing 9 0 2644 2644 2092 S 0.0 0.5 0:00.03 bonobo-activati
1089 cokeing 9 0 48104 46m 21m S 0.0 9.4 0:00.02 galeon-bin
1090 cokeing 9 0 48104 46m 21m S 0.0 9.4 0:00.33 galeon-bin
1091 cokeing 9 0 48104 46m 21m S 0.0 9.4 0:00.00 galeon-bin
1092 cokeing 9 0 48104 46m 21m S 0.0 9.4 0:01.39 galeon-bin
1095 cokeing 9 0 48104 46m 21m S 0.0 9.4 0:00.00 galeon-bin
1097 cokeing 9 0 48104 46m 21m S 0.0 9.4 0:00.01 galeon-bin
1099 cokeing 9 0 544 544 456 S 0.0 0.1 0:00.00 esd
1101 cokeing 9 0 7724 7724 3164 S 0.0 1.5 0:39.71 wish
1103 cokeing 9 0 7712 7712 4532 S 0.0 1.5 0:33.33 xmms
1104 cokeing 9 0 7712 7712 4532 S 0.0 1.5 0:00.02 xmms
1105 cokeing 9 0 7712 7712 4532 S 0.0 1.5 0:00.38 xmms
1106 cokeing 9 0 7712 7712 4532 S 0.0 1.5 0:00.12 xmms
1145 cokeing 9 0 3360 3360 2016 S 0.0 0.7 0:00.51 xterm
1146 cokeing 9 0 1240 1240 1028 S 0.0 0.2 0:00.00 bash
1147 root 9 0 944 944 752 S 0.0 0.2 0:00.02 su
1150 root 8 0 1300 1300 1100 S 0.0 0.3 0:00.02 bash
3322 cokeing 9 0 16912 16m 10m S 0.0 3.3 0:00.00 amule
3323 cokeing 9 0 16912 16m 10m S 0.0 3.3 0:00.00 amule
3324 cokeing 9 0 7712 7712 4532 S 0.0 1.5 0:01.88 xmms
3325 cokeing 9 0 7712 7712 4532 S 0.0 1.5 0:00.23 xmms

es normal?
saludos.cokeing
_________________
Aqui va la firma lamer
Back to top
View user's profile Send private message
TRx
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jul 2003
Posts: 126
Location: Madrid, Spain

PostPosted: Wed Jan 07, 2004 1:31 pm    Post subject: Reply with quote

Sobre lo de quitarle el soporte Multi Procesador, te recuerdo que la tecnología HT (Hyper threading) lo que hace precisamente es emular la disponibilidad de 2 microprocesadores idénticos (Es más, en máquinas con Window$, en el admin. de dsipositivos aparecen 2 micros).
Es por ello por lo que, quizás (no soy un experto ni mucho menos), el sistema reconozca tb dos micros y no te deje compilar el nucleo para uno sólo.

Es sólo una conjetura razonada que se me ha ocurrido, pero quizas te sirva.

Sobre lo del psaux no tengo ni idea de pq pasa, pero creo q esta relacionado con lo anterior.

Un salud0
_________________
GNU/Linux registered user #333828
Back to top
View user's profile Send private message
ArsDangor
Guru
Guru


Joined: 20 May 2003
Posts: 477

PostPosted: Sun Jan 11, 2004 4:00 pm    Post subject: Re: ¿HT con SMP? Reply with quote

cokeing wrote:
bueno... y otra kosa, si hago un psaux, veo que hay varios Pid's diferentes que hacen referencia al mismo programa
es normal?

Perfectamente normal. Los PIDs identifican procesos, no programas. Un programa puede tener varias instancias suyas en ejecución (procesos), y cada una tendrá un PID. Por ejemplo, cuando tienes 2 navegadores abiertos.
Y un mismo proceso puede desdoblarse ( llamando a fork() ), generando un nuevo proceso con un nuevo PID.

Saludos.
Back to top
View user's profile Send private message
Pep
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2002
Posts: 93
Location: Spain

PostPosted: Mon Jan 12, 2004 3:08 pm    Post subject: Reply with quote

Para quitarle la ópción de HT tienes que desactivarlo en la placa y cambiar la configuración del núcleo desactivando la opción Simmetric Multi Processing pero, y esta es un opínión personal, tu sistema funcionará mejor, con más soltura si aprovechas la posibilidad de activar el HT.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum