View previous topic :: View next topic |
Author |
Message |
Stolz Moderator
Joined: 19 Oct 2003 Posts: 3028 Location: Hong Kong
|
Posted: Sun Dec 14, 2003 1:34 am Post subject: Diferencias entre APM y ACPI ¿Cual es mejor? |
|
|
Hola foro.
No se que opcion debo de poner en el kernel para el ahorro de energia, ya que no entiendo las diferencias entre APM (Advanced Power Management) y ACPI.
¿Cual es mejor? ¿Que ventajas tiene uno frente al otro? ¿Cual es mas moderno?
Lo unico que me ha quedado claro al leer la ayuda del kernel es que si activo los dos, solo se usara el primero que se cargue.
De momento he probado los dos y no noto diferencia, con ambos se me apaga el monitor tras un tiempod e actividad y con ambos no tengo problemas para apagar el ordenador.
¿Algun consejo sobre cual usar?
Un saludo. |
|
Back to top |
|
|
Javier Lopez Guru
Joined: 13 Sep 2002 Posts: 377 Location: Barcelona
|
Posted: Sun Dec 14, 2003 12:22 pm Post subject: |
|
|
Si te funcionan los dos usa ACPI que es el más moderno.
Diferencias, la única q yo uso es q con ACPI, si instalas el daemon acpid puedes hacer un shutdown automáticamente al pulsar el botón de power del ordenador.
En el foro de tips and tricks hay un mensaje muy interesante q explican lo q se puede hacer con ese daemon. |
|
Back to top |
|
|
julot n00b
Joined: 27 Aug 2003 Posts: 55 Location: Mexicus
|
Posted: Mon Dec 15, 2003 10:11 pm Post subject: |
|
|
Si usas HyperThreading o una motherboard de servidor, ACPI es obligado ya que gestiona casi todo de esas mothersboards. Desde programación de IRQ's hasta el uso de los procesadores virtuales de HT.
En motherboards caseras o clones, el BIOS puede estar mal implementado y dar problemas.
Saludos. _________________ "Sine ira et studio" Tacitus. (c.56-c.177 AD).
(With neither anger nor partiality). |
|
Back to top |
|
|
anvesaka Tux's lil' helper
Joined: 14 Nov 2002 Posts: 138 Location: Toledo, Spain
|
Posted: Mon Dec 15, 2003 10:54 pm Post subject: |
|
|
ACPI es imprescindible en los ordenadores de última generación. Si no lo habilitas y tu ordenador es muy moderno y potente, es posible que dejen de funcionarte muchos dispositivos, como tarjetas de red, de sonido, etc.
ACPI es el último sustituto de APM y Plug & Play, así que evidentemente se prefiere ACPI puesto que es mucho más avanzado que esas dos tecnologías juntas.
Saludos. |
|
Back to top |
|
|
Stolz Moderator
Joined: 19 Oct 2003 Posts: 3028 Location: Hong Kong
|
Posted: Mon Dec 15, 2003 11:13 pm Post subject: |
|
|
Muchas gracias por vuestras respuestas.
Como estuve haciendo pruobas, ahora al activar de nuevo el ACPI no me arrancan las X, me salen simbolos raros a pesar de que el driver de nvidia me compial perfectamente
Menos mal que tengo el antiguo bzImage
A ver si lo arreglo pronto.
Un saludo. |
|
Back to top |
|
|
lunatc Guru
Joined: 18 Apr 2002 Posts: 409 Location: Canary Islands. Spain
|
Posted: Mon Dec 15, 2003 11:48 pm Post subject: |
|
|
Quote: |
...ahora al activar de nuevo el ACPI no me arrancan las X...
|
A veces es mano de santo ponerle al kernel la opcion de arranque pci=noacpi
Saludos |
|
Back to top |
|
|
Stolz Moderator
Joined: 19 Oct 2003 Posts: 3028 Location: Hong Kong
|
Posted: Tue Dec 16, 2003 4:52 pm Post subject: |
|
|
Pues efectivamente,con la opcion de arranque pci=noacpi ya me funcionan las X. Pero ahora tengo otro probelma (como no )
En cuanto toco un poco el raton o escribo un poco, se me cuelgan ambos, dejan de responder teclado y raton. El resto de cosas sigue funcionando. Por ejemplo, si pongo a reproducir una cancion justo antes del cuelgue, cuando se cuelga, sigue sonando y se ver como va avanzando en la pantalla.
Me he isntalado el demonio ACPID, por si fuera un evento acpi no controlado el que da el problema, pero sigue ocurriendo lo mismo, en cuanto toco el raton se va al garete.Al menos ahora al apretar el boton power se me apaga bien el PC
De momento estoy desactivando el ACPI con la opcion de arranque acpi=off en lo que encuentro la causa del problema.
¿Alguna sugerencia?
Gracias de nuevo.
Un saludo. |
|
Back to top |
|
|
lunatc Guru
Joined: 18 Apr 2002 Posts: 409 Location: Canary Islands. Spain
|
Posted: Tue Dec 16, 2003 8:27 pm Post subject: |
|
|
Mas manos de santo que me funcionaron (con un portatil que por cierto si no activas acpi se "idiotiza" jeje)
Prueba tambien ponerle al kernel las opciones de arranque pci=noacpi, noapic y/o pci=biosirq o combinaciones de las tres.
A ver si hay mas suerte! |
|
Back to top |
|
|
trompa Guru
Joined: 15 Sep 2003 Posts: 368 Location: Vigo (Spain)
|
Posted: Tue Dec 16, 2003 9:29 pm Post subject: |
|
|
Pero eso, ¿no seria como desactivar el acpi?, entonces, ¿para que compilarlo? _________________ JabberID: trompa@jabber.com |
|
Back to top |
|
|
lunatc Guru
Joined: 18 Apr 2002 Posts: 409 Location: Canary Islands. Spain
|
Posted: Tue Dec 16, 2003 9:35 pm Post subject: |
|
|
Lo mismo voy a decir una burrada, pero tengo según tengo entendido, pci=noacpi desactiva solo la parte de acpi que gestiona el bus pci, pero no se desactiva acpi para otras historias (gestion de energia)
Tambien creo que poner pci=biosirq sería equivalente (hace que sea la bios la que se encargue de las asignaciones de las irq) pero no se donde esta el matiz.
Lo de noapic por lo que he entendido por ahí, creo que desactiva el uso de un chip que gestiona el enrutado de irq's o algo por el estilo
(Por favor un gurú que me aclare este lio de acpis, apics irqs etc! )
Salu2 |
|
Back to top |
|
|
Javier Lopez Guru
Joined: 13 Sep 2002 Posts: 377 Location: Barcelona
|
Posted: Tue Dec 16, 2003 10:49 pm Post subject: |
|
|
Los tienes explicados en /usr/src/linux/Documentation/kernel-parameters.txt |
|
Back to top |
|
|
julot n00b
Joined: 27 Aug 2003 Posts: 55 Location: Mexicus
|
Posted: Wed Dec 17, 2003 2:20 am Post subject: |
|
|
Estas pasando por alto los mensajes que salen en dmesg
Cuando un ACPI esta bien inplementado no da lios para nada,
mi recomendación es actualizar sus BIOS a ultima versión, y mirar que pasa en dmesg|more, a veces tarjetas no diseñadas para bus master se colocan en slots busmaster y eso provoca problemas sobre todo esto en descompresoras de Mpeg, tarjetas cutres de red y winmodems.
Miren como el ACPI, controla prácticamentente todo, asi que merece la pena llegar al fondo que pasa, de otra manera, se pierde demasiada funcionalidad, como decía es obligado en Hyperthreading, Servidores y Laptops.
Este es mi dmesg, de un buen BIOS sin problemas Motherboard de servidor INTEL I815EBM1
Code: |
trigger[0x3])
ACPI: INT_SRC_OVR (bus[0] irq[0x0] global_irq[0x2] polarity[0x0] trigger[0x0])
Using ACPI (MADT) for SMP configuration information
Kernel command line: BOOT_IMAGE=production ro root=303 hdd=ide-scsi
ide_setup: hdd=ide-scsi
Initializing CPU#0
Detected 1195.605 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 2385.51 BogoMIPS
Memory: 513832k/523008k available (2073k kernel code, 8788k reserved, 465k data, 296k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 0383fbff 00000000 00000000 00000000
CPU: Common caps: 0383fbff 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) III CPU 1200MHz stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000004
ESR value after enabling vector: 00000000
ENABLING IO-APIC IRQs
init IO_APIC IRQs
IO-APIC (apicid-pin) 1-0, 1-16, 1-17, 1-18, 1-19, 1-20, 1-21, 1-22, 1-23 not connected.
..TIMER: vector=0x31 pin1=2 pin2=0
number of MP IRQ sources: 16.
number of IO-APIC #1 registers: 24.
testing the IO APIC.......................
IO APIC #1......
.... register #00: 01000000
....... : physical APIC id: 01
....... : Delivery Type: 0
....... : LTS : 0
.... register #01: 00178020
....... : max redirection entries: 0017
....... : PRQ implemented: 1
....... : IO APIC version: 0020
.... register #02: 00000000
....... : arbitration: 00
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 001 01 0 0 0 0 0 1 1 39
02 001 01 0 0 0 0 0 1 1 31
03 001 01 0 0 0 0 0 1 1 41
04 001 01 0 0 0 0 0 1 1 49
05 001 01 0 0 0 0 0 1 1 51
06 001 01 0 0 0 0 0 1 1 59
07 001 01 0 0 0 0 0 1 1 61
08 001 01 0 0 0 0 0 1 1 69
09 001 01 1 1 0 0 0 1 1 71
0a 001 01 0 0 0 0 0 1 1 79
0b 001 01 0 0 0 0 0 1 1 81
0c 001 01 0 0 0 0 0 1 1 89
0d 001 01 0 0 0 0 0 1 1 91
0e 001 01 0 0 0 0 0 1 1 99
0f 001 01 0 0 0 0 0 1 1 A1
10 000 00 1 0 0 0 0 0 0 00
11 000 00 1 0 0 0 0 0 0 00
12 000 00 1 0 0 0 0 0 0 00
13 000 00 1 0 0 0 0 0 0 00
14 000 00 1 0 0 0 0 0 0 00
15 000 00 1 0 0 0 0 0 0 00
16 000 00 1 0 0 0 0 0 0 00
17 000 00 1 0 0 0 0 0 0 00
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1195.5718 MHz.
..... host bus clock speed is 132.8411 MHz.
cpu: 0, clocks: 1328411, slice: 664205
CPU0<T0:1328400,T1:664192,D:3,S:664205,C:1328411>
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
ACPI: Subsystem revision 20031002
PCI: PCI BIOS revision 2.10 entry at 0xfda95, last bus=1
PCI: Using configuration type 1
IOAPIC[0]: Set PCI routing entry (1-9 -> 0x71 -> IRQ 9 Mode:1 Active:0)
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: System [ACPI] (supports S0 S1 S4 S5)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
Transparent bridge - Intel Corp. 82801BA/CA/DB/EB PCI Bridge
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
ACPI: Power Resource [FDDP] (off)
ACPI: Power Resource [URP1] (off)
ACPI: Power Resource [URP2] (off)
ACPI: Power Resource [LPTP] (off)
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 *10 11 12)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 11 12)
ACPI: PCI Interrupt Link [LNKD] (IRQs *3 4 5 6 7 9 10 11 12)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 *11 12)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 *11 12)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11 12)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *9 10 11 12)
PCI: Probing PCI hardware
IOAPIC[0]: Set PCI routing entry (1-17 -> 0xa9 -> IRQ 17 Mode:1 Active:1)
00:00:1f[B] -> 1-17 -> IRQ 17
IOAPIC[0]: Set PCI routing entry (1-23 -> 0xb1 -> IRQ 23 Mode:1 Active:1)
00:00:1f[C] -> 1-23 -> IRQ 23
IOAPIC[0]: Set PCI routing entry (1-19 -> 0xb9 -> IRQ 19 Mode:1 Active:1)
00:00:1f[D] -> 1-19 -> IRQ 19
IOAPIC[0]: Set PCI routing entry (1-16 -> 0xc1 -> IRQ 16 Mode:1 Active:1)
00:00:01[A] -> 1-16 -> IRQ 16
Pin 1-17 already programmed
Pin 1-16 already programmed
Pin 1-17 already programmed
Pin 1-17 already programmed
IOAPIC[0]: Set PCI routing entry (1-20 -> 0xc9 -> IRQ 20 Mode:1 Active:1)
00:01:08[A] -> 1-20 -> IRQ 20
IOAPIC[0]: Set PCI routing entry (1-21 -> 0xd1 -> IRQ 21 Mode:1 Active:1)
00:01:09[A] -> 1-21 -> IRQ 21
IOAPIC[0]: Set PCI routing entry (1-22 -> 0xd9 -> IRQ 22 Mode:1 Active:1)
00:01:09[B] -> 1-22 -> IRQ 22
Pin 1-23 already programmed
Pin 1-17 already programmed
Pin 1-22 already programmed
Pin 1-23 already programmed
Pin 1-17 already programmed
Pin 1-21 already programmed
Pin 1-23 already programmed
Pin 1-17 already programmed
Pin 1-21 already programmed
Pin 1-22 already programmed
Pin 1-17 already programmed
Pin 1-21 already programmed
Pin 1-22 already programmed
Pin 1-23 already programmed
Pin 1-21 already programmed
Pin 1-22 already programmed
Pin 1-23 already programmed
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
|
_________________ "Sine ira et studio" Tacitus. (c.56-c.177 AD).
(With neither anger nor partiality). |
|
Back to top |
|
|
|
|
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
|
|