LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-13-2004, 03:04 PM   #46
equus
Member
 
Registered: Nov 2003
Location: France
Distribution: Gentoo
Posts: 37

Rep: Reputation: 15

I have a pentium II 350 with 256 Mb of RAM.
My present Linux distribution is Fedora Core 2, kernel 4.6.5.

My first impression after installation was that, yes, it's much slower than Windows 98.

So I decided to compile a new kernel, removing all the stuff that I don't have in my computer.

After several reboots and a lot of patience (the ramdisk is necessary for the booting process, removing too many file systems is bad for your health, etc...) I eventually got to a working, lighter kernel and, oh surprise, a faster system.

I also tuned KDE, removing the multiple desktop and setting a lower level of visual effects.

I am quite happy with the result.
 
Old 11-13-2004, 03:14 PM   #47
zajelo3
Member
 
Registered: Mar 2004
Location: Central Florida
Distribution: Gentoo & Fedora
Posts: 153

Rep: Reputation: 30
rollo, what kernel are you using? Perhaps it might be easier to just upgrade the kernel and see if that helps.
 
Old 11-14-2004, 04:13 PM   #48
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Original Poster
Rep: Reputation: 30
Time to upgrade kernels

According to the results of cat /proc/version I am running Linux version 2.6.4-52-default.

It's not really that surprising my computer is so slow considering it's 5 years old and the software is new. It would have been nice to solve the problem using a disk transfer mode tweak but I think the essential issue here is RAM - i.e. there's just not enough of it.

You're both right, really I have to get to grips with this compiling-kernels business or I will be stuck with a snail-slow computer forever. Any ideas where I can look for a how-to guide? This looks ambitious for a completely non-technical user like me but I guess it's possible given a bit of planning and luck...
 
Old 11-14-2004, 05:14 PM   #49
zajelo3
Member
 
Registered: Mar 2004
Location: Central Florida
Distribution: Gentoo & Fedora
Posts: 153

Rep: Reputation: 30
rollo, you really need to update your kernel! That might solve all your problems. I don't know how to use the Yast package manager that comes with Suse but if you read the directions it shoudn't be that hard to upgrade to kernel 2.6.8 or 2.6.9. with no kernel recompiling involved. With each kernel upgrade comes bug fixes and security fixes and the problem you are having might be fixed in the latest kernel release. As 128megs of ram is low, more ram would help, but Suse should not be slower than Windows with the same amount of ram, so that leads me to believe that your main problem is in your hard drive settings.
 
Old 11-17-2004, 10:40 AM   #50
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Original Poster
Rep: Reputation: 30
Other possible tweaks

Thanks again zajelo3. Yes, you're right, I need to update the kernel... In fact I probably need to do more than that in order to be sure of seeing real improvement (seeing as I don't have $100 right now for more RAM).

Going back to other people's ideas...

Quote:
Go into YaST in the runlevel editor (under system) and turn off the stuff you know you wont need. Things like postfix (the mail server) do not need to be running on a laptop and will free up a lot of resources.
Postfix disabled, as recommended. Which of the following would it be safe to disable?:

"cron" - cron job service;
"fbset" - framebuffer setup;
"nfsboot";
"nscd" - name service cache daemon;
"portmap" - DARPA port to RPC program number mapper;
"random" - script to snapshot random state and reload it at boot time;
"resmgr" - state resource manager for device file access;
"smbfs" - import remote SMB / CIFS (MS Windows) file systems;
"splash" - splash screen setup;
"splash_early" - kills animation after network start;
"splash_late" - starts animation before shutdown;
"sshd" - start the sshd daemon

Quote:
You can check which application is slowing down the computer by using the the top command.
With nothing but Firefox running, here are the memory figures:

27% firefox-bin
10% X
4% kdeinit

..followed by around 40 other items, including some with multiple instances (such as "kdeinit" and "mingetty"). Could this yield any clues? At the very least there is one process running (which?) which accesses the hard-drive ("tchik tchik") every 4 seconds, all the time. What could this be?
 
Old 11-17-2004, 02:17 PM   #51
Andramalech
Member
 
Registered: Nov 2004
Location: Sweden
Distribution: SUSE 11.2
Posts: 52

Rep: Reputation: 15
i'm sorry it will be like going back a few pages but i really need to write this otherwise i am just gonna crack into two..

Quote:
Originally posted by qwijibow
i dont want the other 95% windows users to try linux.

i dont care about these people.

all i care about, is that Im using Linux, and the technical computer literates use linux, so that linux can continue to grow, evolve and develop.

why is everything linux today about getting the people who dont care about computers to use linux...
lets leave those poeple behind and continue to advance !!!

am i not right ?

as other windows users leave the flock and express an interest to join the linux flock in sure many people will be willing to help... thats why we all answer questions on this forum right ?!?
i just couldnt disagree with you, and some other people, which i couldnt bother to quote one by one... first off, you guys just dont have the right to treat those remaining percentage of people like pieces of dirt.. it's that attitude that pisses me off really bad.. see guys like you, just think that you hold holy information and the rest is just uneducated fools..

the fact is i dont care about how codes are handled within the kernel, neither do i care about how the programs are compiled.. and afterall why should i? it's programmers job to do.. when and if i get to write my own program, i would make sure, it works smooth.. if i am otherwise using a public software why the hell should i have to bust my ass off, to try to learn to compile something etc etc.. sorry i dont know that many of those "technical" terms you guys use in your daily life.. so my examples are more or less all with the same words..

and there sure is a difference between liking computers, understanding their logic, sort of speak, and being into the action part of it all.. see i have learned my way out, and i think i do have a good knowledge over computer usage, thinking that i did more or less all by myself.. i know my way more or less at any given part stand alone windows machines, not that i can hack/crack stuff, not that i need that anyways.. . but i can fix my own problems, in most cases avoid problems even before they occur.. but i just am not interested to spend my days to learn a few dumbass words to type into the command line.. syntax and all that.. and now that guys like you come and treat people like me just like any dumbass highschool kid, or a secretary in some company.. that does piss me off...

ok coming back to linux itself.. see it's first of all a contraversy itself.. there is no unity at all, no standart..everybody does something on their own crazy mind.. instead of coming together and making something that really does deserve the image linux world has.. but no instead the user has to lose its patience (fig. A1) Besides that there is no user-friendly nature inspite of the common claim, linux offers very little tolerance to the user.. People want the linux world to develop, see that is not just likely at least not in the sense that you guys want.. the leading systems in the world (with the amount of users) are the ones that are in peace with their users, not the ones that drive users to edge of suicide.. lol..

see i think it all comes back to the stupid ego of computer gurus.. i mean, honestly i have admiring guys like some of you, due to your knowledge and power over the system, but i overtime developed such a hate towards that kind of people.. the attitude most people have just pisses me off.. it's a stupid ego, because you guys dont mean much out there in the real world where computers are not worshipped but used... it's u guys who develop the technology and people like me who use it to do advancements in human life.. (i am an engineering student btw, if anybody is wondering).. so what is it in the end? when you relatives get to hospital it's our work, that saves them not your smartass programs or so.. and afterall people like you are minorities, and as long as you dont change your attitude people WILL treat you as nerds, geeks, and total losers... (althought i dont see it necessarily that way)


you may ask then why the hell are u here, why the hell am i not using my nice fast and stable win2k (havent seen any better system upto this point), and minding my own business? well believe me i would happily do so, only if i didnt need to get involved with these stuff due to my education.. you guys just curse windows and microsoft with all it has, and bless linux and open code.. well ok i dont like MS policies either, but a) those guys are just smarter, and b) linux is no fucking different when it comes to forming cartels in the market.. in all educational facilities you almost all the times have to know linux one way or the other.. i mean it is posible to run some stuff on other systems as well, but it is just almost not acceptable to run any other system.. so well, it is as mean and dominating as what microsoft does.. so just dont go around nailing MS for things that linux world does as well...


bah that was long.. i am really sorry guys, i know i have overreacted.. it's just i needed to let it go off.. though i meant it all, maybe the attitude was a bit too harsh.. anyways i am hoping to see your replies on this semi-ethical issue..

/andra - the totally exhausted future-engineer with broken teeth from biting the table, due to the ridicilous problems he needed to put through while trying to set up a reasonable system for his problematic laptop, and obviously failed bad in installing the wlan card, among many other things that just went so wrong...

ps: andra does know the basic systems in a linux machine, and is using it rarely due to his job..

Last edited by Andramalech; 11-17-2004 at 02:19 PM.
 
Old 11-17-2004, 02:33 PM   #52
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
you seem to have totally and utterlymisunderstood my post.

the text you quoted their was written by me in responce to a few posts made on how best to convert windows users... how to tempts them, and entice them over to our way of thinking.

i was simply saying that its not our job to go recruiting windows users like some kind of cult..
its not the linux people's job to send missionary's off into other lands and tell them that their way is wrong, and everything would be better if they dropped all their belifes and started worhiping my god.

what i meant to say when i posted that...... is that we should leave the windows users alone.. if they are happy, leave them to it... and IF they choose to use linux, then we will help.

and i think that developers are better off improving the OS, rather than making it more fluffy to entice more users..

I dont treat anyone like sh1t.... i spend time here helping linux newbs.

basically... linux is not a toy, its a powerfull tool, Like a power Drill..
you can either make the drill bit nice and blunt so the kids dont cut themselves, or you can make the kids read the manual before using the drill... i think the latter is better.
 
Old 11-17-2004, 02:54 PM   #53
Andramalech
Member
 
Registered: Nov 2004
Location: Sweden
Distribution: SUSE 11.2
Posts: 52

Rep: Reputation: 15
Quote:
Originally posted by qwijibow
basically... linux is not a toy, its a powerfull tool, Like a power Drill..
you can either make the drill bit nice and blunt so the kids dont cut themselves, or you can make the kids read the manual before using the drill... i think the latter is better.
it might be true that i misunderstood your post in that state, but it wasnt a personal thing.. rather a more overall reply to a bunch people...

as for the drill-manual issue, how about supplying the drill WITH the manual from the beginning, instead of having ripped up pieces of papers all around the constructions site?
 
Old 11-17-2004, 03:30 PM   #54
zajelo3
Member
 
Registered: Mar 2004
Location: Central Florida
Distribution: Gentoo & Fedora
Posts: 153

Rep: Reputation: 30
Re: Other possible tweaks

rollo said,
..followed by around 40 other items, including some with multiple instances (such as "kdeinit" and "mingetty"). Could this yield any clues? At the very least there is one process running (which?) which accesses the hard-drive ("tchik tchik") every 4 seconds, all the time. What could this be? [/B][/QUOTE]

The filesystem you use is a journaling filesystem and writes a jounal to disk every 5 seconds. On my machine kjournald does this. Don't be apprehensive about upgrading your kernel it's easy.
 
Old 11-18-2004, 04:05 AM   #55
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
The instruction manual comes with your boxed distro, if you didnt pay for it, they cant afford to give you printed documentation.

there is tons of documentation on the distro's homepage, tons of distro on linux commands in the 'man' pages... the linux Wiki is excellent, their are sites like this one.

i think the linux documentation is better than any other documentation ive seen for other OS's
 
Old 11-18-2004, 04:58 AM   #56
redjokerx
Member
 
Registered: Aug 2004
Location: San Diego
Distribution: Slackware
Posts: 303

Rep: Reputation: 31
Andramalech, do you use linux?

If you do, then you should know that once Linux is set up right, you can just "use your computer" If a linux install was just a restore of an image of a well set up distro, then it'd be a lot more easy to install and use. My roommate's computer wasn't allowed to use windows because he had a virus. I gave him Knoppix so he could at least check e-mails and such in the meantime. He figured it out fine and he's not a computer guy.

Now, regarding the real issue of this thread (suse on a 300 mhz) my gf has a 200mhz/160mb ram with slackware on it and she says Slackware/KDE (probably same with Slack/GNOME) is just as fast as XP. The little bits of ram might have helped though.

How many services have you turned off rollo?

You can probably get rid of these:
"splash" - splash screen setup;
"splash_early" - kills animation after network start;
"splash_late" - starts animation before shutdown;

"smbfs" if you're not connecting to a windows computer.

not entirely sure if sshd is required for system ops. I think you'll be fine without unless you plan to log in to your computer remotely.
 
Old 12-07-2004, 05:14 PM   #57
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Original Poster
Rep: Reputation: 30
Back again...

Thanks zajelo3. The kernel upgrade is on my To Do list (just above "get a new computer").

Quote:
The filesystem you use is a journaling filesystem and writes a jounal to disk every 5 seconds. On my machine kjournald does this.
If there is one mini-niggle I would really like to solve right now (apart from http://www.linuxquestions.org/questi...hreadid=254820 , that is) it's this one. How to turn of this 5-second scratch? It's driving me nuts, as you guys say over there.
 
Old 12-07-2004, 05:46 PM   #58
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Original Poster
Rep: Reputation: 30
Quote:
How many services have you turned off rollo?
All of the ones you advise redjokerx, except smbfs - "/etc/init.d/smbfs stop returned 6 (program is not configured)".

However, I tried turning off postfix before and it miraculously was back on again after the next bootup.
 
Old 12-17-2004, 07:12 PM   #59
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Original Poster
Rep: Reputation: 30
Turn off journaling?

Quote:
The filesystem you use is a journaling filesystem and writes a jounal to disk every 5 seconds. On my machine kjournald does this.
Does anyone know how to turn this "journaling" off, or at least reduce it's frequency? It's like Chinese water torture. Turning it off might also make a marginal improvement to speed.

All clues appreciated. Thanks.
 
Old 12-17-2004, 08:36 PM   #60
zajelo3
Member
 
Registered: Mar 2004
Location: Central Florida
Distribution: Gentoo & Fedora
Posts: 153

Rep: Reputation: 30
rollo, I don't think you can turn off journaling on a journaling fs. If your using the ext3 fs you might be able to convert to ext2 fs which is non-journaling. This still goes back to your harddrive not being setup correctly because when my harddrive writes the journal to disk the harddrive light barely comes on. Another thing you can try is setting the advanced power management value to 254 by doing "/sbin/hdparm -B 254" as root and then going back and trying those commands to set it to udma 2 or udma 3. Your current apm seting is 128 which is set low to make the battery last longer (I think). You probably don't want to use a non-journaling fs though, because if the power accidently goes off it could mess up your fs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Is it me or Linux is slower than Windows... LegendBreath Linux - Software 22 05-25-2005 10:10 AM
linux is slower than microsoft windows thing0 Linux - Newbie 40 05-08-2005 07:00 AM
Why Linux is slower than Windows Almazick General 20 09-24-2004 06:13 PM
Linux slower than Windows? fedivh Linux - General 22 12-22-2003 11:31 PM
Linux slower than Windows NT plisken Linux - Networking 5 04-07-2002 06:26 AM

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

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