Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've just installed Ubuntu Hoary on my friend's P4 (128 RAM). I personally watched it start up Windows in a matter of a few seconds and run at a decent speed. I expected better performance from Ubuntu, but it is unreasonably slow. It's taking it about an hour and a half to install 15 packages for the initial update. This just doesn't make any sense... and is certainly giving a bad impression of linux.
It's the sort of slow where clicking on the 'Applications' menu takes 15 seconds.
I've just installed Ubuntu Hoary on my friend's P4 (128 RAM). I personally watched it start up Windows in a matter of a few seconds and run at a decent speed. I expected better performance from Ubuntu, but it is unreasonably slow. It's taking it about an hour and a half to install 15 packages for the initial update. This just doesn't make any sense... and is certainly giving a bad impression of linux.
How can Windows start up within a few seconds on a computer with 128MB RAM? Is it Windows 98?
I was shocked, too. This guy has never had any real training or anything, but he had trimmed windows down to start up in maybe 10 seconds, I don't remember exactly. That's when I decided he was perfect for linux... he's a tinkerer. Of course, it's very embarassing to put linux on and watch it crawl.
I was shocked, too. This guy has never had any real training or anything, but he had trimmed windows down to start up in maybe 10 seconds, I don't remember exactly. That's when I decided he was perfect for linux... he's a tinkerer. Of course, it's very embarassing to put linux on and watch it crawl.
Quite frankly, I'm afraid today's Linux (esp. with GUI frontends like GNOME and KDE) isn't all that fast on a low-end computer. The core OS is still pretty fast, but all the surrounding components get heavier and heavier, with more features added to cater to the general public.
Having said that, something may very well be wrong with his Ubuntu installation. On a P4 machine w/ 128MB RAM it should not take 15 seconds to open the menu!
there's just no way ubuntu is supposed to run like that... My laptop is running a celeron and 128 or maybe 256 ram (not sure), and it's downright zippy. There has to be something wrong.
What's the memory utilization? Is it having to page quite a bit of data in and out of swap space or is there not enough swap space? That or you might just need to trim some fat off the distro.
Try booting it up and run 'top' in the console to see what's eating up all the memory/cpu, then try to prevent those tasks from loading up at boot. Also, try running a lower end windows manager. Modern KDE and Gnome need about the same system requirements as XP, although KDE can be trimmed down quite a bit.
daihard is right, a lot of Linux distros out there are tying to appeal to the windows market by adding in alot of load heavy eye candy. If your friend is a tinkerer, maybe he should try something like Slackware with a low end windows manager instead. SLackware can be very customizable to all types of computers. I have it trimmed down and running great on my 400 MHz w/ 128mb of RAM server, as well as having all the eye candy on my higher end Desktop computer. Slackware is designed to make it easy to get under the hood, perfect for all of those tinkerers out there.
trimming the distro sounds like a great idea, but not the real problem. This isn't a rhetorical question: Is the default ubuntu actually FATTER than windows XP? I can't believe that.
Is the default ubuntu actually FATTER than windows XP? I can't believe that.
It very well could be depending on what all it is trying to load. As suggested before, try running 'top' to find out what all is running in the back ground. You need to keep in mind that Ubuntu is not "Linux", it is Linux modified to be easy to use and give the user a lot of eye candy. Other distros might not be configured the same way.
My guess would be that DMA is NOT being used for his harddisk.
You need to install the "hdparm" package if it is not already installed. I don't know Ubuntu, but it's Debian-based and I use Debian, so the following should work:
Now run some basic hdparm commands (as root) to verify "using_dma" is set to "on". This is the biggest potential speed problem. "IO_support" set to "32-bit" can also boost speed. Don't set these unless you know your disk supports them (most anything new will). And test that your speeds look reasonable. The speed you are interested in is "Timing buffered disk reads", the other one (Timing cache reads) is pretty meaningless. Note: You can do damage with hdparm, so limit yourself to non-destructive commands like illustrated below until you are familiar with the command.
The example below is from my system, and I am testing disk "/dev/hdb". You may need to adjust the disk specification (probably to /dev/hda or /dev/sda).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.