Need help troubleshooting slow running Linux system
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Need help troubleshooting slow running Linux system
Can someone please provide me with some advice as to what look for in troubleshooting a possible problem with my Linux system?
My system has dual CPUs, of type Intel(R) Pentium(R) 4 CPU 3.00GHz. The system also has 1 GB of RAM, although from the output from dmesg, I am not so sure of that. Here's the output:
> dmesg | grep -i mem
119MB HIGHMEM available.
896MB LOWMEM available.
HighMem 229376 -> 259887
DMA zone: 32 pages used for memmap
Normal zone: 1760 pages used for memmap
HighMem zone: 238 pages used for memmap
HighMem zone: 30273 pages, LIFO batch:7
Memory: 1022048k/1039548k available (2111k kernel code, 16868k reserved, 1117k data, 260k init, 122044k highmem)
virtual kernel memory layout:
lowmem : 0xc0000000 - 0xf8000000 ( 896 MB)
pnp: 00:0c: iomem range 0xffc00000-0xfff7ffff has been reserved
pnp: 00:0d: iomem range 0xeec00000-0xeec03fff could not be reserved
pnp: 00:0d: iomem range 0xfec00000-0xfec00fff has been reserved
pnp: 00:0d: iomem range 0xfee00000-0xfee00fff has been reserved
pnp: 00:0d: iomem range 0xe0000000-0xefffffff could not be reserved
pnp: 00:0e: iomem range 0x0-0x9ffff could not be reserved
pnp: 00:0e: iomem range 0xc0000-0xdffff could not be reserved
pnp: 00:0e: iomem range 0xe0000-0xfffff could not be reserved
pnp: 00:0e: iomem range 0x100000-0x3f7fffff could not be reserved
MEM window: ff200000-ff2fffff
MEM window: ff600000-ff6fffff
MEM window: ff500000-ff5fffff
MEM window: ff400000-ff4fffff
MEM window: ff300000-ff3fffff
MEM window: ff700000-ff7fffff
Freeing initrd memory: 3501k freed
highmem bounce pool size: 64 pages
Total HugeTLB memory allocated, 0
Non-volatile memory driver v1.2
agpgart: Detected 7932K stolen memory.
Freeing unused kernel memory: 260k freed
ehci_hcd 0000:00:1d.7: irq 20, io mem 0xffa3bc00
My system runs awfully slow, whether I'm booting, unpacking a Gzipped tar-file, or compiling a source package (e.g. glibc).
I am not sure if the system has a problem with the RAM or if it is the HDD.
My system is running Fedora 7 with all of the latest updates. I had the same latency issues when I was previously running RHEL4 and Ubuntu 7.04. Thus I do not believe it is an OS issue, but one dealing with hardware.
Btw, when I boot the system, it takes approximately 5 minutes for the system to boot, with a lot of time being expended with "udev" doing its thing.
Does anyone have suggestions where I can look to assess if there is indeed an issue with my system of which I can correct?
Note, as I specified in my OP, this problem is not endemic to Fedora 7; the same issue occurred when I had previously experimented with RHEL4 and Ubuntu 7.04 on the system.
I have a Pentium-M 1.4 Ghz laptop that runs faster than this dual-processor system. Based on the hardware specs, one would think that a system with a 3GHz processor, or even two of them, would run faster.
That's curious... top is using that much processor time? Hmm...
I'm afraid I'm out of ideas. Your kernel is certainly recent enough, and were it related to the distro, you would see differences when switching. I'm not seeing any daemons taking more than their fair share of things... I'm stumped. =/
Usually you get better performance out of having RAM in two different channels than when they're sharing the same channel, so that shouldn't be the problem. Have you checked the temperatures? The temperature of the CPU and motherboard can be checked using lm-sensors, and hard drive temperatures can be checked using smartctl/smartmontools, although these programs don't support all hardware. Overheating is one of the major causes of slowdown that I've encountered.
It might be worth checking the drive configuration to make sure that dma is enabled (and also in the BIOS, some BIOSes allow you to disable DMA), although I would be surprised if it isn't, modern distros are generally pretty good about setting these things up automatically.
Help! The problem I initially reporting concerning a slow system still persists.
I've ran Memtest86 and successfully validated my system's memory. Thus I believe the only other area that could be causing issues would be within my system's SATA drive.
Here are the results when I checked the disk speed:
# hdparm -t /dev/sda
Timing buffered disk reads: 166 MB in 3.02 seconds = 55.01 MB/sec
I've Googled and searched this forum for similar reports, but every time I came across something it was a dead-end... almost as if this problem is more difficult to troubleshoot than the "meaning of life".
Does anyone have any suggestions?
P.S. I have already tried passing kernel args, but still no joy:
It could be bad h/w, but sure will be difficult to find out. My video, sound and networking are integrated into the motherboard. The only thing external is the CD-ROM drive and the HDD.
The system experiences slowness right from the start when udev starts running. It take between 3-5 minutes for that phase to complete, then another 5-7 minutes for the system to display the GDM login. This occurs whether or not I am connected to my LAN.
Frankly, I really don't give a darn anymore. Tomorrow I will return the computer to my office and I will be given a new PC (toshiba laptop) with all the bells/whistles.