MandrivaThis Forum is for the discussion of Mandriva (Mandrake) 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.
Hi, thank you for taking the time to read this thread. I have a compaq laptop(evon610c) with mandrake 10.1 official installed on. My problem is that when running kde or gnome after some while the pc runs extremely slow. Everything suddenly slows down and I have to wait a few minutes in order to be able to work again. This phenomena happens periodicaly and is very annoying. It's about a month that I'm trying to solve this problem. At first I thought it was the video card driver(Radeon Mobility M7) but changing it did make any difference. I noticed though that in the mandrake control center my cpu is detected as: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz but scrolling down the frequency is fixated at: 1196.259(!). Now I'm pretty sure that's causing me the trouble but I don't really know how to solve it. Any suggestions are welcome! Keep in mind that I'm a newbie :-D
It's unlikely to be CPU throttling though it's a remote possibility.
Even at 1.1ghz Mandrake should be pretty fast.
You didn't mention how much RAM you have. It makes a big difference.
Also on a fresh install Mandrake uses an abysmally SLOW setting for the hard drive.
You need to fix this ASAP.
Edit the /etc/sysconfig/harddisks file with any editor you choose.
Look for all of the indicated lines which are commented out.
UNCOMMENT them and reboot your system.
While you are at it, edit /etc/lilo.conf and add the word COMPACT towards the top.
Then as root type "lilo" at the prompt and reboot.
This will speed up the startup proceedure greatly.
Finally if you have a shared memory display (as many laptops do) you are basically stealing RAM away from Linux just to put something up on the screen. This greatly impacts performance and can cause the system to swap quite a bit as it tries to compensate for new allocations.
I tried what was suggested in the previous 2 messages. First of all in my bios the only cpu option is "Intel Speedstep Technology" which can be set enabled or disabled. I set it enabled and saw that in mcc now the frequency is correctly displayed at 1999Mhz. I fixed the ASAP which made my system a little bit faster overall but didn't fix the stall problem. So the slow down problem still persists after some while that I work on my pc and comes up periodically like before. I have 512MB of RAM, which I think is enough and my video card has it's own memory so there's not a share conflict. I noticed that the memory is almost entirely used even if I don't run any program and there's only about 15MB of free RAM. I have acpi and acpid activated and recently installed cpudyn.
I used top and watch free commands and checked them while my pc was slowing down. I had one firefox window open and was downloading an avi file. I also had kaffeine playing the partial avi.part file that was being downloaded. The values in the top list were constantly changing of course but more or less the first 3 processes were something like this: "root 35-40% X" "user firefox-bin 30-50%" "root pppoe 10%" and I had 180MB of free memory.
I tested my linux with and without being connected to the internet. The result was the same :-(. After some minutes of opening and closing windows, starting applications ecc... everything started slowing down as always. I mean it really stalled! At some time, when I wasn't connected, X was using 80% of my CPU and 30% of the memory and I had only about 5MB of free RAM(512 total). It's really frustrating... I also checked the mtu that you referred to. I found that the optimal for my connection(adsl 1.2Mbit) is 1492. This is my ifconfig:
Do the eth0 and ppp0 mtu's have to be the same? Because I can fix the eth0 mtu by running ifconfig eth0 mtu 1492 but when I restart this setting is gone and it get's back to 1500 as seen above. I even edited /etc/syslog/network-scripts/ifcfg-eth0 and added the line MTU=1492 but it made no difference.
The laptop runs on a i845 chipset. I'm trying now to change the video card drivers pretty randomly in case I find one tha works. Is it normal that in the mandrake control center I have "Description: Radeon Mobility M7 LW (AGP)" but the bus is "Bus: PCI"?
Problem solved! I recompiled the kernel(my first time ;-) and set the ati drivers I needed. I also managed to get rid of alot of useless things my kernel was loading and now my system seems pretty faster than before. I must still find out how to stop the fan from running all the time at full speed, but that's another issue :-D. Thanks alot opjose for your usefull tips!