Re: #define HZ 1024 -- negative effects?
On Wed, 25 Apr 2001, Dan Maas wrote: > > Are there any negative effects of editing include/asm/param.h to change > > HZ from 100 to 1024? Or any other number? This has been suggested as a > > way to improve the responsiveness of the GUI on a Linux system. > > I have also played around with HZ=1024 and wondered how it affects > interactivity. I don't quite understand why it could help - one thing I've > learned looking at kernel traces (LTT) is that interactive processes very, > very rarely eat up their whole timeslice (even hogs like X). So more > frequent timer interrupts shouldn't have much of an effect... > > If you are burning CPU doing stuff like long compiles, then the increased HZ > might make the system appear more responsive because the CPU hog gets > pre-empted more often. However, you could get the same result just by > running the task 'nice'ly... A tradeoff of having better system responsiveness by having the kernel to check more often if a running process should be preempted is that the CPU spends more time in Kernel Mode and less time in User Mode. And as a consequence, user programs run slower. Regards, Werner - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: HP Pavilion 8290 HANGS on boot 2.4/2.4-test9
On Sat, 13 Jan 2001, Andre Hedrick wrote: > On Sat, 13 Jan 2001, Werner wrote: > > > The first and last message I get is: > > "Uncompressing Linux... OK, booting the kernel" > > > # lspci > > 00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge(rev 02) > > 00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge(rev 02) > > 00:07.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02) > > 00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) > > It is to early to be caught by a DMA engine fault, but you have one of the > award winning systems that designed flaw in the hardware. Only if the > BIOS with INT13 calls are performing DMA stuff until the OS takes over > could this be a player. > > If you disable DMA in the BIOS does that help? No, it didn't make any difference. Is there a safe way to add debug information like simple string prints in arch/i386/boot/compressed/head.s and in arch/i386/kernel/head.S so that I can see at the console where the boot process hangs? Thanks Werner > > Regards, > > Andre Hedrick > Linux ATA Development > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to [EMAIL PROTECTED] > Please read the FAQ at http://www.tux.org/lkml/ > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: HP Pavilion 8290 HANGS on boot 2.4/2.4-test9
I guess I confused some people. I didn't copy the kernel from PIII to PII etc.. I compiled the kernel on all my PCs separately. I just have problems with one PC, the HP Pavilion. On Sat, 13 Jan 2001, Werner wrote: > > HP Pavilion 8290, PII 400MHz, 256MB hangs on boot 2.4 and 2.4-test9 on RH7.0. > I tried to compile 2.4-test9 on RH 7.0 with gcc versions 2.96-54, 2.96-69, > and with kgcc 1.1.2-40 (egcs-2.91.66) without success. > > The first and last message I get is: > "Uncompressing Linux... OK, booting the kernel" > > I never get to the start_kernel() function in main.c > I had no problems to get 2.4 (testx) running on IBM 300PL (PIII 500MHz, 192MB). > After running 'make mrproper' and 'make xconfig' I changed only SMP to No. > > Can you please tell me how I can print debug information to the console in > arch/i386/boot/compressed/head.s and in arch/i386/kernel/head.S > _without_ impacting the rest of the assembly code? > > # lspci > 00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge(rev 02) > 00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge(rev 02) > 00:07.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02) > 00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) > 00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01) > 00:07.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 02) > 00:0a.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI] > 00:0b.0 Ethernet controller: 3Com Corporation 3c905C-TX [Fast Etherlink] (rev 74) > 00:0c.0 Ethernet controller: National Semiconductor Corporation: Unknown device 0020 > 01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/2X (rev >5c) > > Let me know what I can do. > > Thanks > Werner > > > > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to [EMAIL PROTECTED] > Please read the FAQ at http://www.tux.org/lkml/ > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: HP Pavilion 8290 HANGS on boot 2.4/2.4-test9
I guess I confused some people. I didn't copy the kernel from PIII to PII etc.. I compiled the kernel on all my PCs separately. I just have problems with one PC, the HP Pavilion. On Sat, 13 Jan 2001, Werner wrote: HP Pavilion 8290, PII 400MHz, 256MB hangs on boot 2.4 and 2.4-test9 on RH7.0. I tried to compile 2.4-test9 on RH 7.0 with gcc versions 2.96-54, 2.96-69, and with kgcc 1.1.2-40 (egcs-2.91.66) without success. The first and last message I get is: "Uncompressing Linux... OK, booting the kernel" I never get to the start_kernel() function in main.c I had no problems to get 2.4 (testx) running on IBM 300PL (PIII 500MHz, 192MB). After running 'make mrproper' and 'make xconfig' I changed only SMP to No. Can you please tell me how I can print debug information to the console in arch/i386/boot/compressed/head.s and in arch/i386/kernel/head.S _without_ impacting the rest of the assembly code? # lspci 00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge(rev 02) 00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge(rev 02) 00:07.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02) 00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) 00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01) 00:07.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 02) 00:0a.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI] 00:0b.0 Ethernet controller: 3Com Corporation 3c905C-TX [Fast Etherlink] (rev 74) 00:0c.0 Ethernet controller: National Semiconductor Corporation: Unknown device 0020 01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/2X (rev 5c) Let me know what I can do. Thanks Werner - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: HP Pavilion 8290 HANGS on boot 2.4/2.4-test9
On Sat, 13 Jan 2001, Andre Hedrick wrote: On Sat, 13 Jan 2001, Werner wrote: The first and last message I get is: "Uncompressing Linux... OK, booting the kernel" # lspci 00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge(rev 02) 00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge(rev 02) 00:07.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02) 00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) It is to early to be caught by a DMA engine fault, but you have one of the award winning systems that designed flaw in the hardware. Only if the BIOS with INT13 calls are performing DMA stuff until the OS takes over could this be a player. If you disable DMA in the BIOS does that help? No, it didn't make any difference. Is there a safe way to add debug information like simple string prints in arch/i386/boot/compressed/head.s and in arch/i386/kernel/head.S so that I can see at the console where the boot process hangs? Thanks Werner Regards, Andre Hedrick Linux ATA Development - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/