LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Tweaks to improve performance in KDE (https://www.linuxquestions.org/questions/linux-desktop-74/tweaks-to-improve-performance-in-kde-494732/)

BigFoot13 10-22-2006 11:07 PM

Tweaks to improve performance in KDE
 
I was wondering if there were any tweaks to improve the performance in KDE. Some programs take long to open. I really don't mind the time it takes to log on since I don't log out often, but programs like OpenOffice and FireFox take awhile to load. My hard disk is rather slow, but the light is not on or flickering, so that is not it. The CPU is under some load, but not that much, and I have decent RAM. Here are my specs:

Mobile AMD Sempron 3000+
1 GB DDR400 RAM
80 GB IDE hard disk

Full specs here

Thanks

dalek 10-23-2006 02:05 AM

Does Kubuntu support prelinking?? I have read it speeds things up a bit.

Second thing, I would put Gentoo on that puppy. Gentoo is the fastest distro I have ever seen. Once you get the flags set up, everything is custom for your rig and speed is a lot better.

My $0.02 worth.

:D :D :D :D

mipia 10-23-2006 02:34 AM

Huh, I have an Athlon XP 2600 and Ubuntu with Gnome absolutely flies... odd.
Didn't know there would be that much difference between a Sempron and an Athlon. Wierd. If its taking long to load apps I really doubt its because of KDE. With one Gig of RAM there should be no problem there. It might be the applications that you are using. I used Openoffice once and never touched it again. I stick with Abiword and the like. The time it takes the data to get from your hard drive to your RAM is what is doing it. Slow hard drive? Might be the culprit.
I assume you are using the K7 kernel instead of the default i386 correct?

BigFoot13 10-23-2006 04:40 PM

I am using the i386 version. The Sempron is a K8 (socket 754 with 1600 MHz FSB) chip, its pretty good. For the most part, it is much faster than Windows, and alomst all applications are up on the desktop in no time at all. For some reason though, Firefox/Thunderbird and OpenOffice take awhile to load, as well as adept, though this is reasonable.

My hard drive is rather slow (4200 RPM with 8 MB cache), but Kubuntu takes advantage of my RAM a lot better than Windows, it uses about 850 MB of RAM normally. The hard disk usually doesn't get used much except when I install programs.

I downloaded a program called PowerTweak, but when I run it in the konsole, I get this:
Code:

X Error: BadDevice, invalid or uninitialized input device 166
  Major opcode:  145
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 166
  Major opcode:  145
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
Error creating socket to : /var/run/powertweakd Connection refused
MSR driver not loaded.


dalek 10-23-2006 09:38 PM

What you need is a faster drive. Sounds like CPU and memory are fine but that 4200 rpm drive is going to kill you bigtime. Even the fast ones is slow.

I have never heard of PowerTweak. I'm not sure how it would help with the bottleneck you have right now.

Do you have hdparm installed? It may help some.

:D :D :D :D

dxqcanada 10-23-2006 09:47 PM

Re: KDE
 
Ahh, being a Gentoo user I would say to remove those KDE components that are not being used.

I am not sure if modular KDE is available easily for other distributions.

I run KDE, Firefox, Thunderbird, and OpenOffice ... without delay.



Compaq Evo N600c
Mobile PIII 1GHz
512MB Ram

lordSaurontheGreat 10-24-2006 11:03 AM

Quote:

Originally Posted by BigFoot13
I am using the i386 version. The Sempron is a K8 (socket 754 with 1600 MHz FSB) chip, its pretty good. For the most part, it is much faster than Windows, and alomst all applications are up on the desktop in no time at all. For some reason though, Firefox/Thunderbird and OpenOffice take awhile to load, as well as adept, though this is reasonable.

Those take a long time to load regardless. On my SuSE workstation firefox takes a bit of time to load, and my SuSE box isn't much different from your box:

AMD Athlon 64 3000+ 2.0GHz 1666 MHz FSB
512 MB DDR400 SD-RAM
74 GB WD Raptor 10,000 RPM SATA150 HDD
nVidia GeForce 6800 AGP 8x 512MB GDDR2

I would highly reccommend a faster hard drive. Better yet: get two smaller hard drives (about fifty gigs each) and RAID 0 them together. Two 7200RPM drives in RAID0 would be about 1/4 faster than my Raptor.

If you have the cash, I'd even suggest considering RAID 0+1, which would require four disks. That's mirror them and strip them, so you'd have the same speed, and you'd have the added bonus that if one drive fails the other drives are backups, so you can continue working and get a replacement drive, with no data lost and no expensive data recovery.

Search www.computergeeks.com if you want to know the first place I look for cheap drives.

IIRC the way you RAID things in linux is with LVM. Good luck!

BigFoot13 10-24-2006 02:52 PM

This is a laptop, RAID is not supported. I don't think my hard disk is the problem. In Windows, it was on a lot when I opened programs, but Lunix seems to utilize my RAM much better. It loads a lot more things onto the RAM, and when I open these programs, my disk light only flickers a little bit, and I don't hear the disk ticking.

lordSaurontheGreat 10-24-2006 04:27 PM

Oh, a laptop. I was sort of off-handedly wondering where you could dig up a 4200 RPM desktop hard drive...

Yeah, I know of no cure for the slow laptop hard drive. My X40 is the same speed of drive, and the only thing that cures it is by switching to the smaller, more nimble Gentoo distro. But Gentoo isn't for everyone, so I won't be so assumptive as to suggest it to you.

BigFoot13 10-25-2006 03:08 PM

Would the K7 Kernel help? Should I install that instead of using the 386?

lordSaurontheGreat 10-25-2006 04:43 PM

Depends on the CPU type.

k7 = Athlon/AthlonXP
k7-smp = Dual-CPU/dual core k7
k8 = Athlon64/Sempron/Athlon64FX/Opteron64
k8-smp = Dual-core/X2 k8

I forget the mappings for the Intel chips.

BigFoot13 10-26-2006 05:20 PM

Then I should go for the K8. How would I switch to that?

lordSaurontheGreat 10-26-2006 06:19 PM

apt-get install linux-2.6.x-rx-ubuntu-k8 or whatever.

It's an installable option. Then:

1) In terminal:
o Go to /boot/ (cd /boot)
o ls - you should see your current kernel, and then the new one. Copy the output into a text file or something.
o Go to /boot/grub
o Edit menu.lst (nano is my fav. editor for this)
o Make a new kernel entry modeled after your current one. Replace the old kernel files and stuff with the corresponding new ones. It's hard to explain without a example in front of me, but that's how it's done.
o Make the new kernel the default and reboot.

If it doesn't work you'll have to reset the computer and boot the old kernel and tweak until it works.

HTH/YMMV

BigFoot13 10-27-2006 02:31 PM

I get this error when trying to install the K8 kernel
Code:

Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package linux-2.6.x-rx-ubuntu-k8


gruntwerk 10-27-2006 06:17 PM

re:firefox, maybe its ipv6 causing problems?
 
to turn off the IPv6 in firefox
type about:config in the address bar and hit Enter
type ipv6 in the filter box and hit enter
right-click and toggle to true
restart Firefox
try to connect

if this speeds things up then you know its an ipv6 problem and you should turn off ipv6..


All times are GMT -5. The time now is 08:22 AM.