Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
02-22-2006, 05:36 AM
|
#1
|
LQ Newbie
Registered: Sep 2003
Location: Zagreb, Croatia
Distribution: rh9, debian
Posts: 28
Rep:
|
Linux (Ubuntu 5.10) slow on 2.4 GHz
Hi,
Yesterday i had an idea to install a couple of linux computers for a classroom at our faculty - but it can't be done because of something I've never seen before!
The basic installation lasted for about half an hour or even longer and it looks to me that it was about 3 times as long as other installations (the problem was in the package installation part which I guess needs processor power). But the worst part came when I tried to install MS office with Crossover. I managed but it takes about 15 seconds for Word to launch. Firefox launches in 6 seconds, OpenOffice Writer in 15-20 seconds. When synaptic (apt) is installing packages you barely run anything, sometimes applications wouldn't even launch!
The wierd thing is that the processor seems to be the narrow neck - in all cases it jumps to 100% and remains 100% until the program is launched. But when looking at the processes and add all usages up it is below 40% (if that is even possible)!
RAM: 256 MB
PROCESSOR: Celeron 2.4 GHz
CHIPSET: i848
HD_DMA: on
Can it be something to do with the kernel and it's inefficient job scheduling because of some hardware problem? It looks like it's wasting time. I'm not using some well known motherboard (First). Is there something I could look at?
Thank you.
Last edited by hdagelic; 02-22-2006 at 05:52 AM.
|
|
|
02-22-2006, 05:42 AM
|
#2
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,492
Rep:
|
hmmm, word will be slow to load - the only reason it's fast in windows is because it is part loaded when windows boots up. so you are getting a true reflection of how long word would take to load if ms hadn't (IMHO illegally) itegrated word into windows.
open office writer, is slow on most systems. sorry, just the way it is. again internet explorer is part loaded into windows at boot time. firefox is not. although i believe you can do this.
synaptic shouldnt' be slow though. that said you're RAM is a bit of a problem - only 256 mb...
are you sure you've got the correct kernel for your processor and that it's being run ok?
if you cd to /proc there should be something about cpu info.
what's your kernel??
|
|
|
02-22-2006, 06:21 AM
|
#3
|
LQ Newbie
Registered: Sep 2003
Location: Zagreb, Croatia
Distribution: rh9, debian
Posts: 28
Original Poster
Rep:
|
Thank you for your reasoning but behaviour this is not normal this is abnormal, like, totaly insane!
I know how it should perform on that configuration. And it performs like it has a Pentium at 300 MHz!
The kernel is 2.6.10. I'm convinced that the kernel doesn't handle something on the motherboard well and I would blame the motherboard not the kernel.
|
|
|
02-22-2006, 06:43 AM
|
#4
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,492
Rep:
|
yes, it seems like something is wrong...
|
|
|
02-22-2006, 06:55 AM
|
#5
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
You may run out of RAM, why don't you run top to get a clue what's going on?
|
|
|
02-22-2006, 07:08 AM
|
#6
|
LQ Newbie
Registered: Sep 2003
Location: Zagreb, Croatia
Distribution: rh9, debian
Posts: 28
Original Poster
Rep:
|
Quote:
Originally Posted by Emerson
You may run out of RAM, why don't you run top to get a clue what's going on?
|
I did that. But 256MB is not 64 MB 
|
|
|
02-22-2006, 07:14 AM
|
#7
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,492
Rep:
|
256 mb is not really ideal for ubuntu though.....
|
|
|
02-22-2006, 07:17 AM
|
#8
|
LQ Newbie
Registered: Sep 2003
Location: Zagreb, Croatia
Distribution: rh9, debian
Posts: 28
Original Poster
Rep:
|
Quote:
Originally Posted by satinet
256 mb is not really ideal for ubuntu though.....
|
Ok we'll find out that now, I have a computer at home, AMD Athlon 1.7 with 512 MB RAM and I'll take out 256 and tell you what happens. But I think it will be nearly the same...
|
|
|
02-22-2006, 07:28 AM
|
#9
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,492
Rep:
|
are you sure dma is working ok??
|
|
|
02-22-2006, 07:52 AM
|
#10
|
LQ Newbie
Registered: Sep 2003
Location: Zagreb, Croatia
Distribution: rh9, debian
Posts: 28
Original Poster
Rep:
|
Yes it is memory! It doesn't work well with 256MB! Processor keeps jumping to 100% (when Synaptic is downloading packages for example) and when there is 512MB the processor is at 3-4%
I guess that the Ubuntu's kernel is optimized for 512 MB or more?
|
|
|
02-22-2006, 08:10 AM
|
#11
|
Senior Member
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150
Rep:
|
Has nothing to do with Ubuntu's kernel. It is a heavy distro, designed for desktops for mid to high end home and business users. It is just the amount of stuff it runs, and the programs, and how it handles them. It is supposed to have a lot of ram for this. The kernel means nothing, you could compile your own from source, and it would help the issue only because you compiled your own and streamlined it by removing features and modules your systems don't use.
You need to either upgrade the ram in those things(which you need to do anyways. 256 was a good amount 10 years ago. Even 5 it was enough for most things. But currently you really should have 512 in everything, but frankly I don't build a computer without recommending it has 1 gig now. There is just no reason not to. But I flatout won't use, sell, or recommend one to anyone with less than 512.
|
|
|
02-22-2006, 08:22 AM
|
#12
|
LQ Newbie
Registered: Sep 2003
Location: Zagreb, Croatia
Distribution: rh9, debian
Posts: 28
Original Poster
Rep:
|
Theese computers are 4 years old... Hmm... "heavy". XP is also heavy and you don't see the difference for basic opperations between 256 MB and 1G of RAM! But if it needs more than 256 MB for Synaptic to download packages I would call it inefficient. I'll clean up some memory. What do you think, would other distributions behave the same?
|
|
|
02-22-2006, 08:32 AM
|
#13
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
Here is X running with Firefox
Mem: 515368k total, 173948k used, 341420k free, 12556k buffers
Now I opened Openoffice
Mem: 515368k total, 293100k used, 222268k free, 13536k buffers
And now I started Avidemux with FF and Openoffice still open, loaded a 4.5 GB MPEG file and started x264 encoding.
Mem: 515368k total, 359920k used, 155448k free, 13868k buffers
This is the heaviest load my desktop ever gets. Why should I waste money buying additional 512 MB?
|
|
|
02-22-2006, 08:38 AM
|
#14
|
Senior Member
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150
Rep:
|
For you, maybe you shouldn't. And buying one more 256mb stick is different than getting a 512 or a 1 gig at buy time, because there is usually all of 10 bucks in cost difference from a 512 to a 1gig stick for most users(not high end people with dual channeled corsair, but most users just need buffalo, or corsair value select, or other lower end ram). Which means, for the 10 bucks at build time, it is well worth it to get 1gig rather than 512. Down the road, for consumers, buy costs between a 256 and a 256 + a 512... not so worth it now.
My main point was that 256 made sense years ago, but that time has come and gone. But yes, some distros still run adequetley with 256. Things like Damn Small Linux, Gentoo, and flat Debian will work just fine with 256. But the bigger, prettier, heavier distros like SuSE 10, Mandriva 2k6, Ubuntu/Kubuntu/Edubuntu/Ebuntu, and others are much meattier especially with the basic installs. You can strip out a bunch from any of them making them much lighter weight, but the default settings and package selections are not 256 friendly. And it isn't synaptic that causes the need for heavy ram, it is synaptic plus everything else running.
|
|
|
02-22-2006, 08:40 AM
|
#15
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,492
Rep:
|
well, you should also note that the amount of ram used in linux is disengenuous. most of it is being used as a cache to improve performance. try the 'free' command....
512 should be okay for most things. i've upgraded to 1gig, but that was more for xen. i wouldn't say it's improved performance appreciably.
also this is a school pc , so money is usually tight....
maybe you could try something like vector linux or one of the lighter distros.
ubuntu is a bit of a resource hog....
Last edited by satinet; 02-22-2006 at 08:44 AM.
|
|
|
All times are GMT -5. The time now is 09:35 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|