LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-24-2006, 05:53 PM   #1
tidiman07
Member
 
Registered: Apr 2006
Distribution: Kubuntu 8.04
Posts: 129

Rep: Reputation: 15
Improve system perfomance?


My system has a 10-15 second delay when launching programs, especially konqueror.
I want to know if installing kernel-sources will improve it, im using kernel-headers-2.6.15-26-386.
Also what can i do to improve its perfomance, its slower than my XP, i switched for improvement. All updates and upgrades installed.

Specs
cpu-2.6 Ghz
ram- 512 mb pc2700
hdd- 60Gb/ 20Gb partition
 
Old 07-24-2006, 06:14 PM   #2
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Debian 8
Posts: 419

Rep: Reputation: 30
there are a few tweaks you can try, first, try and get a bit more ram, also since your using KDE you should expect atlesat a litte bit longer of a delay considering it has a great deal of 'eye candy'. I seriously doubt installing the kernel source will do much of anything aside from take up space(unless you have other plans for it). how much swap do you have? try playing with the vm.swappiness(google it).
 
Old 07-24-2006, 06:24 PM   #3
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
I've got kernel 2.6.15-26-386, which as far as I know is the most current version.

I use gnome (no kde) 2gig of swap and still things are a bit slow.
 
Old 07-24-2006, 06:32 PM   #4
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Debian 8
Posts: 419

Rep: Reputation: 30
accually the most recent kernel is 2.6.17.6 :-p but anyway, gnome is just as much(maybe a bit less) a memory hog as kde, swap is not all you need to look at, RAM is a very important factor. generaly speaking about 1.5x your RAM is a good amount of swap space, too little and you bog down, too much and its just a waste of space
 
Old 07-24-2006, 07:20 PM   #5
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by AAnarchYY
accually the most recent kernel is 2.6.17.6 :-p but anyway, gnome is just as much(maybe a bit less) a memory hog as kde, swap is not all you need to look at, RAM is a very important factor. generaly speaking about 1.5x your RAM is a good amount of swap space, too little and you bog down, too much and its just a waste of space
:P to you too! lol! I have 512 mgbytes of ram. so 2 gig of swap space should be plenty!

Also, it has occured to me that this problem only began to show itself AFTER updating the kernel.

But, then again... I have booted to older versions and still the same problem.

AND... if 17 is the most recent kernel, then how come I am not getting any update notifications?

Last edited by randell6564; 07-24-2006 at 07:23 PM.
 
Old 07-24-2006, 07:31 PM   #6
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Debian 8
Posts: 419

Rep: Reputation: 30
oi, ok...
512mb of ram i would deem borderline insufficient to run KDE as(i have already stated) KDE is a memory hog. And if you have booted older versions and had the same probelms than its most likely not a software issue its a HARDWARE issue. As i said it doesnt matter if you have 10GB of swap, if you have 512MB of ram then its still gonig to swap the same as if you have 1GB of swap, which will equal the same lag you have been experiencing. Oh and 17 _is_ the most recent, go check www.kernel.org. You most likely havent recieved any notifications because you are waiting for your distro to pre-compile it and send it to you instead of you going and doing it yourself so :-p back at you.

Last edited by AAnarchYY; 07-24-2006 at 07:34 PM.
 
Old 07-24-2006, 07:44 PM   #7
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by AAnarchYY
oi, ok...
512mb of ram i would deem borderline insufficient to run KDE as(i have already stated) KDE is a memory hog. And if you have booted older versions and had the same probelms than its most likely not a software issue its a HARDWARE issue. As i said it doesnt matter if you have 10GB of swap, if you have 512MB of ram then its still gonig to swap the same as if you have 1GB of swap, which will equal the same lag you have been experiencing. Oh and 17 _is_ the most recent, go check www.kernel.org. You most likely havent recieved any notifications because you are waiting for your distro to pre-compile it and send it to you instead of you going and doing it yourself so :-p back at you.
HA! Got me! BTW, I am not running kde. I only use gnome. I'm fairly new to linux so I would have ABSOLUTELY NO CLUE as to how one would go about compiling his/her own kernel. So yeah, I guess I'm waiting for it to be 'cooked and served'

I AM going to go and look at www.kernel.org... see how bad I can screw-up my box! lol!
 
Old 07-24-2006, 07:47 PM   #8
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
I went to www.kernel.org Got any idea how to install a .bzip?
 
Old 07-24-2006, 08:01 PM   #9
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Debian 8
Posts: 419

Rep: Reputation: 30
well first you have to uncompress it

tar -jxf <archive>

then read this
http://mirrors.kernel.org/LDP/HOWTO/Installation-HOWTO/

or type make xconfig(or gconfig) and sift through and check off everything you need(drivers and the such. or you could copy the .config file from your old kernel (note the . dot before config, that indicates its a hidden file) into the folder and type make modules && make modules_install && make bzImage then install the image however you have it booting(lilo, grub) thats the quick and dirty way though...

Last edited by AAnarchYY; 07-24-2006 at 08:05 PM.
 
Old 07-24-2006, 08:03 PM   #10
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by AAnarchYY
well first you have to uncompress it

tar -jxf <archive>

then read this
http://mirrors.kernel.org/LDP/HOWTO/Installation-HOWTO/
Thanks! I'll give it a shot. Hopefully, I can roll it back if It Sucks or something!
 
Old 07-24-2006, 08:08 PM   #11
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
It's not a tar. This is what i get when doing 'sudo tar -jxf patch-2.6.17.6.bz2

bigboss@bigboss:~$ sudo tar -jxf patch-2.6.17.6.bz2
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Error exit delayed from previous errors


I know it's me, but hey...I suck at linux!
 
Old 07-24-2006, 08:12 PM   #12
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
This is a little too much over my head right now! lol! I have no fricken idea what drivers i need! I'll just stick with the pre-compiled kernel for right now.

Thanks aanarchyy!
 
Old 07-24-2006, 08:38 PM   #13
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Debian 8
Posts: 419

Rep: Reputation: 30
well thats cuz you downloaded the patch instead of the kernel (all that does is update the last release to the most current release). Best teacher is experience, your not gonna learn how to unless you try.

Last edited by AAnarchYY; 07-24-2006 at 08:39 PM.
 
Old 07-24-2006, 08:42 PM   #14
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
to extract a bzip file you need to run
Code:
bunzip2 [file]
but that wont help because you downloaded the patch file not the kernel source

You need to download the source from http://www.kernel.org/pub/linux/kern....6.17.6.tar.gz
or you can download the tar.bz2 file (same address just replace "tar.gz" with "tar.bz2") which is about 10MB smaller, but takes longer and more memory (RAM) to decompress.
to extract the tar.gz file run:
Code:
tar xzf linux-2.6.17.6.tar.gz
and wait a while,
or to extract the tar.bz2 run:
Code:
tar xjf linux-2.6.17.6.tar.gz
then I would copy the config file in /boot to the new source directory (renamed to .config) and follow instructions from AAnarchYY post (#9)
 
Old 07-24-2006, 08:53 PM   #15
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 32
I STRONGLY recommend against that.

You're WAY too new to compile a kernel. I'd start with easy apps like XMMS first.

However, you are using GNOME correct? If so, that is your problem. You are launching QT/KDE programs from within gnome. That's a Bad Thing(tm). The OS will have to load up the QT libraries before konqueror, which is exactly why you are seeing a delay.


Try switching to ALL GTK/Gnome apps. I would recommend Epiphany or Firefox over Konqueror for example. They will be MUCH faster.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Harddrive perfomance waelaltaqi Linux - Hardware 4 11-10-2005 02:24 PM
Sound system --how does it work, and how to improve? Sinope Linux - General 0 10-16-2004 08:46 PM
What does kernel recompiling to system perfomance? alexaltair Linux - Newbie 2 08-05-2003 04:08 PM
how can i improve the display performance of my system? im using RH8... kublador Linux - Software 4 07-27-2003 11:22 AM
How to improve Linux redhat 9.0 system stability? Tommi Linux - General 3 04-16-2003 05:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration