Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I did not set a hostname on install. Maybe this is the problem. What is the best solution for setting a hostname? I searched some other threads and saw how to set a hostname, but I do not understand exactly why this would make the system run faster. This is a standalone machine right now. Is the computer going off "looking" for my hostname. Thanks for an explanation.
Originally posted by rmaynard I did not set a hostname on install. Maybe this is the problem. What is the best solution for setting a hostname? I searched some other threads and saw how to set a hostname, but I do not understand exactly why this would make the system run faster. This is a standalone machine right now. Is the computer going off "looking" for my hostname. Thanks for an explanation.
Setting a hostname will definitely improve the performance of Linux. Why? Because Linux is a NOS (Network Operating System). Therefore, hostname is an integral part on ensuring Linux to be working smoothly.
A simple way to do this via command line (as root) is to type the following:
Many LINUX distributions default on using ext3. ext3 has limits on how many files it can have in a directory until it penatlizes your system's performance. You can put another hard drive in your system then copy the partition that has your /usr or /usr/lib directory. To do this you have to be in a mode when there are no processes running and nothing is using the partition or use a LINUX based CD distribution like Knoppix and mount the partitions. Then format the partition as either Reiserfs, XFS, or JFS.
Before formatting as either Reiserfs, XFS, or JFS, you have to have them built in to the kernel. You can have them as modules but its a little harder to setup. You will also need to edit your fstab and bootloader before you reboot the computer. While you at it make most of the kernel modulied
Buying better mechanical IDE hard drives may not improve performance. Solid state hard drives will improve performance on loading but like I said in earlier post they are costly. 80486DX-66 processors or better are fast enough to process several gigabytes of data in one second so its not the processor. Look into buying SCSI hard drives with an accessing time of 5 ms or less. This should give you two times faster on loading programs up.
OK. Setting a hostname did not really seem to make much of a difference. I think enabling DMA (and using some other hdparm tweaks) made a difference. The original performance using -t was 9 MB/sec. After tweaking it was 13 MB/sec. It seemed to run faster, but then I rebooted. I did not realize that the settings were lost on reboot (until I reread the article this morning). I will attempt to do some more testing this evening. Thanks again for the tips.
I finally got frustrated and installed Red Hat instead of Mandrake thinking it might fix the problem. 1.5 hours later... no fix. It did however fail to recognize my monitor. Could this be the problem? The display looks fine. Is there a setting that bypasses the ATI Rage Mobility card?
From your message Im unclear as to which is not being recognized. Monitor or video card?
For your monitor, it really doesnt matter as long as you entered the correct values for it. And you probably did since you say the display looks fine.
For the ATI card, if there isnt a driver loaded for this card then the display will look fine but anything trying to use the 3d part of the card will be VERY slow. Since it is having to use software rendering instead of the hardware card.
Look in dmesg for your ATI card. This should work if its installed in the kernel or as a module. If you dont find it there you probably need to compile a new kernel. The ATI driver is included(i think).
Ive never used ATI's cards but I recommend Nvidia. The cards are good and the drivers are even better.
Originally posted by Azmeen hdparm is a nice app to speed up your hard disk access speed.
That helped some issues with slowness I had, but I'm not sure if I put the command in the right place--I put it at the end of /etc/rc.d/rc.sysinit just before the final wait command. Is that an okay place, or do I need to put it somewhere that it'll get run later? If so, where?
Btw, thanks--while I haven't posted much here, I have found quite a few threads that get me looking in the right direction for help--Azneen, that link to O'Reilly was particularly appreciated.
Originally posted by rmaynard I am having the same problem with Mandrake 9.1. Just installed it a couple of days ago, and I am still getting used to the new OS, but it runs SO MUCH slower than windows, that I am almost ready to put win 98 back on the machine. Should OpenOffice take 53 seconds to load up? Pretty much everything is slow on the system. It seems hard to believe that linux is THAT much slower than windows. I will try some of the suggestions and report back on progress.
Go to tools memory in open office and change it from 9 to 70.
I do not have open office on the machine I am using so can not be more specifice.
I could never get mandrake to work fast so I changed to Suse 8.2
OK. Final resolution at last. I used the #top command to monitor the system memory. It seems that my laptop had a 64 mb chip instead of the 128 mb chip that I thought. So, I went out and put another 128 chip (for a total of 192) in and presto! We are back to running like one would expect (not rocket speed, but quite tolerable now)
Thanks for everyone's help. I certainly learned alot during this debugging process. Always look at the most obvious causes first!