LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 03-20-2005, 11:05 PM   #1
anderwm
LQ Newbie
 
Registered: Mar 2005
Posts: 5

Rep: Reputation: 0
Fedora question


I have recently installed fedora core three on a fast system.

Pemtium 4 2.75 GHz
1 gb RAM
IDE dedicated linux hard drive
dual boot xp on a sata hard drive

Everything on the system seems to be running slower than I would expect. I know the boot up time will be slower and while it is loading gnome but some other things seem excessive. For example, when I open a new shell it takes from 5-10 seconds just to load. Mozilla takes longer to load pages than windows(like 3 or 4 times longer) on a cable modem through a link sys router. I have always used windows and am knowledgable of computers in general but know virtually nothing about linux inner workings beyond the most abstract of descriptions. Anybody know why my system might be running slow?
 
Old 03-20-2005, 11:20 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
the people at fedora appearently spend every waking hour thinking of every possible way to slow the system down and are very good at it and in my opinion it is unusable for that reason.

use it for a while untill you get a general feel for Linux and then install something functional like slackware or debian (libranet debian is real easy to install for noobs)

Linux is not actually slower than Windows so don't be put off by that.
 
Old 03-20-2005, 11:25 PM   #3
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
Various opinions aside, there are a couple of things wich may improve operation.
Code:
Run the command: prelink -a
Run the command: updatedb
Run the command: chkconfig --level 345 nscd on
Run the command: service nscd start
Also, make sure things are up to date with the command: yum update
 
Old 03-20-2005, 11:28 PM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

turn off services not required for ur system

go to system settings-->server-->services and turn of the services not required
especially the NFS related they are quite heavy

also what filesytemn did u use for linux did u try reiserfs ,it is really good

regards
 
Old 03-21-2005, 12:21 AM   #5
anderwm
LQ Newbie
 
Registered: Mar 2005
Posts: 5

Original Poster
Rep: Reputation: 0
homey:

[root@unknown /]# prelink -a
bash: prelink: command not found
[root@unknown /]# updatedb
[root@unknown /]# chkconfig --level 345 nscd on
bash: chkconfig: command not found
[root@unknown /]# service nscd start
bash: service: command not found
[root@unknown /]#

can you tell me what these commands are doing so I have an idea of the thought process I should be taking to resolve this problem
 
Old 03-21-2005, 12:25 AM   #6
anderwm
LQ Newbie
 
Registered: Mar 2005
Posts: 5

Original Poster
Rep: Reputation: 0
foo_bar_foo

I will take that advice into consideration. However, I would think that my system should be capable of running any system efficiently. The question is where does fedora bog down. It can't be in ram or CPU time, and the even if the I/O is slow processes like new shell can't be using I/O.

as an idiot question, how do I change what gnome thinks my computer host is. Every time i log in it says can't find unknown.lan.something and says something about gnome may not work correctly.
 
Old 03-21-2005, 12:29 AM   #7
anderwm
LQ Newbie
 
Registered: Mar 2005
Posts: 5

Original Poster
Rep: Reputation: 0
masand

NFS was not checked in the server settings. I don't know which of these processes are necessary and which are not. (forgive my ignorance)

I used whatever file system fedora loads automatically, because of my lack of knowledge of Linux. Can that make that much of a difference, and if so how do I install the file system of my choosing.

Thanks to everyone for the ideas
 
Old 03-21-2005, 01:14 AM   #8
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Use the "uptime" command (no quotes) to see your current CPU load and "free" to see memory utilization (note how much is buffered and cached). CPU load is measured from 0 to infinity. On a signle processor box, a CPU load of 1 means the processor is fully loaded, anything over 1 and you're overloaded and you will see noticeable performance degradation. If that is the case, you can use "top" to see what is consuming the most CPU cycles.
 
Old 03-21-2005, 01:59 AM   #9
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
Quote:
Originally posted by anderwm
masand

NFS was not checked in the server settings. I don't know which of these processes are necessary and which are not. (forgive my ignorance)

I used whatever file system fedora loads automatically, because of my lack of knowledge of Linux. Can that make that much of a difference, and if so how do I install the file system of my choosing.

Thanks to everyone for the ideas
yes i see a lot of improvemnet for reiserfs Filesystem

when u start installing fedora type
linux reiserfs
at the boot prompt
this will give u reiserfs filesystem at the the time of selecting filesystem for root partiton

regards
 
Old 03-21-2005, 02:19 AM   #10
djones427
LQ Newbie
 
Registered: Mar 2005
Location: Coupland, TX
Distribution: FC 3
Posts: 3

Rep: Reputation: 0
Quote:
Originally posted by anderwm
homey:

[root@unknown /]# prelink -a
bash: prelink: command not found
[root@unknown /]# updatedb
[root@unknown /]# chkconfig --level 345 nscd on
bash: chkconfig: command not found
[root@unknown /]# service nscd start
bash: service: command not found
[root@unknown /]#

can you tell me what these commands are doing so I have an idea of the thought process I should be taking to resolve this problem
You may have received a response already, but you need to run these from /usr/sbin/ or /sbin/ like so:
/usr/sbin/prelink -a
/sbin/chkconfig --level 345 nscd on
/sbin/service nscd start

That worked for me.

-dax
 
Old 03-21-2005, 03:22 AM   #11
chbin
Member
 
Registered: Mar 2005
Distribution: slackware-current
Posts: 379

Rep: Reputation: 31
dude get a new distro or turn all that crap off that they turned on! I'm booting up and entering xfce with all the Xorg extenstions and hardware acceleration enabled and barely breaking 100 MB of RAM on my system, cpu idling at 0%. My desktop is very responsive.
 
Old 03-21-2005, 06:49 AM   #12
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
I ran these commands as root user ( su - ) so, the command should work if the program is installed.

If any of these programs are not installed, you can install them with a tool like yum or apt-get.
For example: yum install prelink

Check to see if the programs are installed and where they are with these commands.

# rpm -qa prelink
prelink-0.3.3-0.fc3

# whereis prelink
prelink: /usr/sbin/prelink /etc/prelink.conf /usr/share/man/man8/prelink.8.gz

Basically, prelink helps local files to startup more quickly.

man prelink
Quote:
DESCRIPTION
prelink is a program which modifies ELF shared libraries and ELF dynamically linked
binaries, so that the time which dynamic linker needs for their relocation at startup
significantly decreases and also due to fewer relocations the run-time memory consump-
tion decreases too (especially number of unshareable pages). Such prelinking information
is only used if all its dependant libraries have not changed since prelinking, otherwise
programs are relocated normally.
In the case of nscd, that is a service. That means you don't just run it from the command line but you start the service. I included the chkconfig --level 345 to have that service start up on reboots and the command: service nscd start gets it going now so you don't need to reboot.
# rpm -qa nscd
nscd-2.3.4-2.fc3.5

chkconfig --level 345 nscd on
service nscd start

Basically, nscd should improve web browsing.

man nscd
Quote:
DESCRIPTION
Nscd is a daemon that provides a cache for the most common name service requests. The
default configuration file, /etc/nscd.conf, determines the behavior of the cache daemon.
See nscd.conf(5).

Nscd provides cacheing for the passwd(5), group(5), and hosts(5) databases through stan-
dard libc interfaces, such as getpwnam(3), getpwuid(3), getgrnam(3), getgrgid(3), geth-
ostbyname(3), and others. Each cache has a separate TTL (time-to-live) for its data;
modifying the local database (/etc/passwd, and so forth) causes the cache to become
invalidated within fifteen seconds. Note that the shadow file is specifically not
cached. getspnam(3) calls remain uncached as a result.
# rpm -qa chkconfig
chkconfig-1.3.11.1-1

Basically, chkconfig is used to turn services on or off for different runlevels ( --level 345 )

man chkconfig
Quote:
DESCRIPTION
chkconfig provides a simple command-line tool for maintaining the /etc/rc[0-6].d direc-
tory hierarchy by relieving system administrators of the task of directly manipulating
the numerous symbolic links in those directories.

Last edited by homey; 03-21-2005 at 06:50 AM.
 
Old 03-21-2005, 09:30 AM   #13
anderwm
LQ Newbie
 
Registered: Mar 2005
Posts: 5

Original Poster
Rep: Reputation: 0
btmiller

[root@unknown anderwm]# uptime
08:26:04 up 12:25, 2 users, load average: 0.29, 0.12, 0.03
[root@unknown anderwm]# free
total used free shared buffers cached
Mem: 1033540 970284 63256 0 137060 514240
-/+ buffers/cache: 318984 714556
Swap: 2031608 92 2031516
[root@unknown anderwm]# free
total used free shared buffers cached
Mem: 1033540 972100 61440 0 137076 515264
-/+ buffers/cache: 319760 713780
Swap: 2031608 92 2031516
[root@unknown anderwm]# uptime
08:26:55 up 12:26, 2 users, load average: 0.13, 0.10, 0.03

So it is definately not the hardware bogging down. I also did the commands while I was waiting for a shell to load. The cpu usage was even less. What elese is there to wait on.

I will reply to the rest of you soon, got to go to class
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Question skeyeman Linux - Newbie 10 06-10-2005 01:48 PM
Fedora question th3k0r3 Linux - Software 10 05-16-2005 08:17 PM
Question about Fedora yellowchicken Fedora 2 11-15-2004 05:17 PM
Fedora Security Question carlg Linux - Distributions 0 10-19-2004 09:41 PM
Fedora question bryantm Linux - Software 1 01-30-2004 02:48 PM


All times are GMT -5. The time now is 11:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration