[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Duda sobre el número de CORES que Debian 6 detecta en una SUN SPARC T5240



Gracias por la contestación Mark, pero me temo que no estoy usando nada de virtualización, es un Servidor físico formateado e instalado con el DVD de instalación de Debian 6. No se porqué me sale como sun4v, pero lo que me llama mucho la atención es que solo me muestre 24 cpus, no deberían de ser 128?

He realizado un DMESG y me he encontrado con que parece haber una limitación en una variable del kernel "NR_CPUS" por lo visto está establecido a 32 y por ello no consigue cargar el resto de CPU's aunque parece que detecta las 128.

Estoy intentando recompilar un kernel con el valor de esa variable a 128 o 64, en ambos casos la compilación falla... si pongo el valor a 32 se compila perfectamente... Al parecer la variable "NR_CPUS" depende de otra llamada "CONFIG_MAXSMP" pero esta ultima es de tipo boolean y al parecer no está en las opciones del menuconfig.

¿Alguien me puede dar una idea o alguna opinión? Gracias!

root@T5240:/usr/src/linux-2.6-2.6.32# dmesg 
[    0.000000] PROMLIB: Sun IEEE Boot Prom 'OBP 4.30.9 2010/07/16 09:06'
[    0.000000] PROMLIB: Root node compatible: sun4v
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.32-5-sparc64-smp (Debian 2.6.32-41) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Jan 16 17:28:56 UTC 2012
[    0.000000] bootconsole [earlyprom0] enabled
[    0.000000] ARCH: SUN4V
[    0.000000] Ethernet address: 00:14:4f:46:3c:d2
[    0.000000] Kernel: Using 2 locked TLB entries for main kernel image.
[    0.000000] Remapping the kernel... done.
[    0.000000] OF stdout device is: /virtual-devices@100/console@1
[    0.000000] PROM: Built device tree with 151179 bytes of memory.
[    0.000000] MDESC: Size is 99248 bytes.
[    0.000000] PLATFORM: banner-name [T5240]
[    0.000000] PLATFORM: name [SUNW,T5240]
[    0.000000] PLATFORM: hostid [84463cd2]
[    0.000000] PLATFORM: serial# [00ab4130]
[    0.000000] PLATFORM: stick-frequency [457656f0]
[    0.000000] PLATFORM: mac-address [144f463cd2]
[    0.000000] PLATFORM: watchdog-resolution [1000 ms]
[    0.000000] PLATFORM: watchdog-max-timeout [31536000000 ms]
[    0.000000] PLATFORM: max-cpus [128]
[    0.000000] Ignoring CPU 32 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 33 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 34 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 35 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 36 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 37 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 38 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 39 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 40 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 41 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 42 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 43 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 44 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 45 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 46 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 47 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 48 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 49 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 50 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 51 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 52 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 53 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 54 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 55 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 72 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 73 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 74 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 75 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 76 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 77 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 78 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 79 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 80 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 81 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 82 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 83 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 84 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 85 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 86 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 87 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 88 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 89 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 90 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 91 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 92 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 93 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 94 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 95 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 96 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 97 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 98 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 99 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 100 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 101 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 102 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 103 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 104 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 105 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 106 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 107 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 108 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 109 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 110 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 111 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 112 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 113 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 114 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 115 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 116 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 117 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 118 which is >= NR_CPUS (32)
[    0.000000] Ignoring CPU 119 which is >= NR_CPUS (32)
[    0.000000] Top of RAM: 0x7bffda000, Total RAM: 0x4f14a0000
[    0.000000] Memory hole size: 11499MB

Un saludo,
	Andrés Durán
El 13/02/2012, a las 17:13, Marc Aymerich escribió:

> 2012/2/13 Andrés Durán <duran@tadium.es>:
>> Hola a tod@s,
>> 
>>        Estoy probando Debian 6 en una SUN Sparc T5240, y me llama mucho l atención que las especificaciones de dicha máquina en la web del fabricante "Oracle" dice que el equipo dispone de 2 CPU's físicas con 8 cores cada cpu, y que cada core dispone de 8 threads. Actualmente tiene puesto este kernel: "Linux T5240 2.6.32-5-sparc64-smp #1 SMP Mon Jan 16 17:28:56 UTC 2012 sparc64 GNU/Linux" y al ejecutar " cat /proc/cpuinfo" sale lo siguiente:
>> 
>> cpu             : UltraSparc T2 (Niagara2)
>> fpu             : UltraSparc T2 integrated FPU
>> pmu             : niagara2
>> prom            : OBP 4.30.9 2010/07/16 09:06
>> type            : sun4v
>> ncpus probed    : 24
>> ncpus active    : 24
>> D$ parity tl1   : 0
>> I$ parity tl1   : 0
>> Cpu0ClkTck      : 00000000457656f0
>> Cpu1ClkTck      : 00000000457656f0
>> Cpu2ClkTck      : 00000000457656f0
>> Cpu3ClkTck      : 00000000457656f0
>> Cpu4ClkTck      : 00000000457656f0
>> Cpu5ClkTck      : 00000000457656f0
>> Cpu6ClkTck      : 00000000457656f0
>> Cpu7ClkTck      : 00000000457656f0
>> Cpu8ClkTck      : 00000000457656f0
>> Cpu9ClkTck      : 00000000457656f0
>> Cpu10ClkTck     : 00000000457656f0
>> Cpu11ClkTck     : 00000000457656f0
>> Cpu12ClkTck     : 00000000457656f0
>> Cpu13ClkTck     : 00000000457656f0
>> Cpu14ClkTck     : 00000000457656f0
>> Cpu15ClkTck     : 00000000457656f0
>> Cpu16ClkTck     : 00000000457656f0
>> Cpu17ClkTck     : 00000000457656f0
>> Cpu18ClkTck     : 00000000457656f0
>> Cpu19ClkTck     : 00000000457656f0
>> Cpu20ClkTck     : 00000000457656f0
>> Cpu21ClkTck     : 00000000457656f0
>> Cpu22ClkTck     : 00000000457656f0
>> Cpu23ClkTck     : 00000000457656f0
>> MMU Type        : Hypervisor (sun4v)
>> State:
>> CPU0:           online
>> CPU1:           online
>> CPU2:           online
>> CPU3:           online
>> CPU4:           online
>> CPU5:           online
>> CPU6:           online
>> CPU7:           online
>> CPU8:           online
>> CPU9:           online
>> CPU10:          online
>> CPU11:          online
>> CPU12:          online
>> CPU13:          online
>> CPU14:          online
>> CPU15:          online
>> CPU16:          online
>> CPU17:          online
>> CPU18:          online
>> CPU19:          online
>> CPU20:          online
>> CPU21:          online
>> CPU22:          online
>> CPU23:          online
>> root@T5240:~#
>> 
>> Mis preguntas son sencillas, ¿Porqué Debian muestra solo 24 cores? ¿No deberían de ser 16 cores en el caso de ser 2 CPU's x 8 cores cada cpu? ¿O 64 cores, en el caso de ser 2 CPU's x 8 cores x 8 threads?
> 
> Estas corriendo debian dentro de una maquina virtual sun, no es asi?
> Lo digo porque el tipo de CPU que veo es una sun4v, que son cpu's
> virtuales: http://en.wikipedia.org/wiki/Logical_Domains
> Así que no es de extrañar que tus 2x8 cores te salgan como 2x16, todo
> depende de lo que el hypervisor le diga a debian.
> 
> solo añadir que en ningun caso un thread se considera como core,
> 
> -- 
> Marc
> 
> 
> --
> To UNSUBSCRIBE, email to debian-user-spanish-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] CA+DCN_tZVDNBF5QOHQeytiLYQw5ogmoBWQtcGPropykOEvQ--g@mail.gmail.com">http://lists.debian.org/[🔎] CA+DCN_tZVDNBF5QOHQeytiLYQw5ogmoBWQtcGPropykOEvQ--g@mail.gmail.com
> 


Reply to: