LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-23-2011, 02:55 AM   #1
markmb
Member
 
Registered: Jul 2011
Location: Spain
Distribution: Fedora
Posts: 61

Rep: Reputation: 3
Improve computer speed (linux and windows)


Hello

I've got a Xubuntu and Windows computer (two hard disks) and it goes extremely slow (in both OS). It has a Pentium 4 (3.06 GHz) and 512 Mb of memory.
I use Xubuntu and my parents (even I told that they should change) use Windows. They don't want to format Windows (even I told that it would improve speed).
Do you have any low-invasive ideas for improving computer's speed (I tried defragging, cleaners....)

Thanks in advance!
 
Old 12-23-2011, 03:57 AM   #2
rich_c
Member
 
Registered: Apr 2008
Location: UK
Distribution: PeppermintOS
Posts: 387
Blog Entries: 74

Rep: Reputation: 81
The only two tips (Xubuntu related.) I can think of that might improve matters a bit for you is to try a Liquorix kernel and tweak your swappiness to your needs. There should be loads of tutorials on the web regarding installing a Liquorix kernel in *buntu and how to tweak your swappiness config. (Personally, I have mine set toward the lower end of the scale for desktop use rather than maxed out for server use. YMMV.)
 
Old 12-23-2011, 11:40 AM   #3
markseger
Member
 
Registered: Jul 2003
Posts: 244

Rep: Reputation: 26
Before you run off and make changes the very first place to start is determining why it's slow! The last thing you want to do is add memory or change hardware before knowing the root cause. It could be anything from a misbehaving application to an overly fragmented disk to a bad network card. You have to measure and then make some educated guesses. Then take what you think are simple corrective actions and measure again. Don't change too many things (preferably just 1 at a time) or you'll never know what was wrong in the first place.

So how do you measure things? You need to run a tool like collectl, which samples data every 10 seconds (or ever second interactively) and lets you see exactly what is going on. Others may prefer a tool like sar. Still others like top, iostat, vmstat, etc but personally I think trying to watch multiple tools at the same time is not the way to go and one of the main reasons I wrote collectl in the first place.

-mark
 
Old 12-23-2011, 03:55 PM   #4
markmb
Member
 
Registered: Jul 2011
Location: Spain
Distribution: Fedora
Posts: 61

Original Poster
Rep: Reputation: 3
rich_c: I first installed liquorum kernel, and it works, but it doesn't go quicker. After that, I've read some articles on the net of the optimum size of swap, and I reduce it (I had it on 1 Gb and now in 512 Mb, equal than RAM).

If it helps: I use the computer with low-demanding programs: Chromium as browser, Thunderbird as email client (I'd like something a bit more light, but I don't like the other options), Bluefish as editor, Filezilla...

I'll now collect some data, because I'm sure that my computer (as I said 512 Mb of memory and 3,06 GHz) should be faster with Xubuntu (I don't really mind windows, I don't use it so much)

Thanks for your answers
 
Old 12-23-2011, 04:09 PM   #5
rich_c
Member
 
Registered: Apr 2008
Location: UK
Distribution: PeppermintOS
Posts: 387
Blog Entries: 74

Rep: Reputation: 81
Quote:
Originally Posted by markmb View Post
optimum size of swap
Swappiness isn't to do with the size of the swap partition or file. It's to do with the tendency of the system to move memory contents from RAM to swap. Here's an explaination and how-to: http://ubuntuguide.net/optimize-the-...nse-for-ubuntu
 
Old 12-24-2011, 06:39 AM   #6
markmb
Member
 
Registered: Jul 2011
Location: Spain
Distribution: Fedora
Posts: 61

Original Poster
Rep: Reputation: 3
I'll now try a agressive swapiness because free space in RAM is veeery low, i saw
 
Old 12-24-2011, 07:22 AM   #7
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
More RAM, better processor, better video card, faster hard drive. If that doesn't improve your performance then nothing will!

If you have to choose just one then definitely the RAM first.

There are going to be some great post-holiday, end-of-year sales in a couple of days...
 
Old 12-24-2011, 07:46 AM   #8
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
On the Linux side:

512 MB is too low an amount of RAM for a modern distro, even if you are running XFCE. It is very important that you determine whether this slowness is caused by swapping. Check the disk drive light. You'd need 1 GB as a minimum, and even then swapping will start after a few hours of use. 2GB is better. If you have a 3 GHz processor it is assumed that you run some type of OS which matches the processor speed. The 512 MB does not match the OS.

Check also video performance. Is there slowness in moving windows, playing movies or working with drawing programs? This might point to an incorrect video driver.

Have also a look at the 'top' command run in a terminal. Watch carefully the processor load and the processes using the CPU time.

On the Windows side I have no clue. If you are running hefty anti-virus this cost you 60% CPU time, maybe you see unknown processes indicating a zombie computer.

jlinkels
 
1 members found this post helpful.
Old 12-24-2011, 08:47 AM   #9
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Also worth noting that those old Pentium 4's are power hogs. By upgrading to modern hardware you can have a faster/more powerful computer that is also cooler, quieter, and cheaper to operate. (Be sure to properly recycle/donate the old one, though... don't just throw it in the trash!)
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to improve the speed of mount ust Linux - Software 2 08-05-2008 12:33 AM
XaraXtreme vs Cairo: Improve Linux Speed Garoth General 2 10-28-2005 08:48 PM
How to improve startup speed of SuSE (or maybe any other distro) _japsje Linux - Distributions 1 07-12-2004 06:35 PM
Why would a windows computer smoke a linux computer for download speed ? lostboy Linux - General 4 10-21-2003 05:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:39 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