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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Till yesterday, I was using RedHat 8.0....Today, I upgraded it to RedHat 9 and I am just blown over...I feel RH 9 scores over windows in all senses.....
However, the problem that I have experienced in both RedHat 8 and 9 was the time which the applications take time to load. I have a dual boot with Windows 98 and RedHat 9 and the applications get loaded normally in windows....However, this is not the case in Linux.
My Machine is an AMD K6 400 MHz with 256 MB RAM and 8.4 GB HDD....I have also alloted 259 MB of swap space to linux....But still, there has been no difference in the speed with which applications are loaded. Especially, OpenOffice Writer takes hell of a long time to load, whereas, MS Word 2000 loads faster than that...Even other small applications like terminal, xmms, etc....take longer than what they should ideally take.....
One more thing...While I had RedHat 8.0, I noticed a line which said....
16 Modules of Ram of 4096 K each.....(Does that mean that linux is just detecting 16 x 4 = 64 MB only? ) ...whereas I have 256 MB RAM....How can i find out how much RAM linux is detecting?
If there is no problem with my system then are there any packages available through which applications load faster?
To find out how much RAM Linux detects run 'dmesg'. The line is almost right at the top and will look something like:
"256MB LOWMEM available."
You need to keep in mind that you are running relatively cutting edge software (RH 9, only a few months old) on relatively dated hardware...so you can't expect it to fly. The fact that Linux supports old hardware as well as it does is laudable in my opinion.
To demonstrate my point...try to install Win XP on this box. I think after attempting that you will be pleased with how 'fast' Linux runs.
First of all, I was not able to find out any thing related to memory in the output from the dmesg command. Is there any other command which can tell that?
I have been using Linux right from version 6.3 and I have installed different distributions of Linux - RH, MDK, Suse, Caldera....
I have seen that Linux takes more time to boot than Win98. However, I am not even complaining about the boot up speed... As Far as AMD K6 400 MHZ CPU is concerned, it is fast enough to run all the necessary and required applications...although i agree that one needs a P4/Athlon for heavy graphics and gaming. But that is not my concern..
My concern is that once the desktop is loaded, it is expected that the applications load fast enough given the low h/w requirements for Linux.
I have also installed Win XP, Win 2000 and Win ME on my system a number of times.....and i feel Win XP boots faster than linux. Even if we assume that it boots slower than linux, I have seen that applications in XP load equally fast as they load in Win 98.
So then why linux should be slow....?
I am not able to understand why then my system runs slower in Linux....any other ideas?
Well, you have to compare apples and applies. In Windows, you pay for the load time for their applications such as Word, Media Player, MSN, etc. They load at boot time, and unless you are a registry expert, they simply use up memory, don't free it up, and if you never use them, it wastes your resources. Now, OpenOffice does load slow, however, look for AutoStart or something like that in your documentation. Suse 8.2 has this feature where you can tell it to 'preload' the applications you want, and leave them in memory the way MS does. Also, you might not have hdparm settings for optimimal transfer rate from your HD.
Also, Redhat starts with a lot of uneeded services running that increases your boot time. My boot time with Redhat 8.0 went from ~1 minute to 17 seconds after I disabled all uneeded services. Which ones you don't need, post what you have running, we will tell you. Some are obvious, like ftp, httpd, etc.
Timing buffered disk reads: 64 MB in 13.02 seconds = 4.92 MB/sec
I am not sure if changing to 32 bit will help me...and right now I dont want to fiddle around with my hard disk...In fact, the site whose link u have given.....there;s a note frm one guy that says that linux didn't boot when he changed the setting to 32 bit....
Thats why I would first like to try ideas that dont need a re-install or booting from an emergency disk first ) .....lol.....i have already installled Linux around 4-5 times in last 15 days so kindda tired .....
Is there any other idea that i can use to increase the loading speed of applications? (other than the above one that u have mentioned)
setting 32-bit IO_support flag to 1
setting using_dma to 1 (on)
IO_support = 1 (32-bit)
using_dma = 1 (on)
[root@localhost root]# hdparm -t /dev/hda
Timing buffered disk reads: 64 MB in 1.60 seconds = 40.06 MB/sec
The change is NOT committed (and as you can see, there was no improvement on my machine...I don't know why?), and if it should cause strangeness, it will be gone with a restart. I think this is the best thing to try, because getting the data from the disk is the biggest loading slowdown.
If it works, then you can simply execute the command manually on bootup and, if there are no unforseen side affects, commit the change in a few days/weeks.
hmm...so u mean to say that it wont cause any havoc in my system ...right?
And what about the output of the second command? I dont know if my drive is slow ....do u have any idea if it's slow?
If i enable this 32-bit option, will it show me the results good/bad right now itself? and what about the DMA setting in the BIOS? do i need to enable DMA in the BIOS too??
By the way, there was another option '-k' in the tutorial along with the '-c' and '-d' options that u used in the command.....may be thats why there was no performance change in ur machine....try and use the -k option too....
My experience is that KDE is slow compared to Gnome, Gnome loads things just that bit quicker, also might be worth looking at fluxbox/xfce as both cut down resource usage loads leaving more to be used to load your apps
I run a PIII 450Mhz with 192MB SDRAM so I can relate to your situation
The -k is 'keep settings', so you don't want to do this, until you are sure. The commands that I entered, with no ill affect are
hdparm -c 1 -d 1 /dev/hda
hdparm -t /dev/hda
I HAVE run this command before, and it was NOT persistant, and reverted to the origional setting.
(-c get/set IDE 32-bit IO setting
-d get/set using_dma flag)
The second one, you can do all day, simply test. I don't think you need to do any bios changes. There are many more options in hdparm that, if my performace was slow, I would play with. All I can say is, reading the man pages, excluding the 'k' option and the tutorial page listed, this SHOULD not cause any side affects, but if it does, again, a restart SHOULD clear. I can't guarantee anything except that I will refund your money.