LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fedora question (https://www.linuxquestions.org/questions/linux-newbie-8/fedora-question-304112/)

anderwm 03-20-2005 10:05 PM

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?

foo_bar_foo 03-20-2005 10:20 PM

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.

homey 03-20-2005 10:25 PM

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


masand 03-20-2005 10:28 PM

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

anderwm 03-20-2005 11:21 PM

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

anderwm 03-20-2005 11:25 PM

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.

anderwm 03-20-2005 11:29 PM

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

btmiller 03-21-2005 12:14 AM

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.

masand 03-21-2005 12:59 AM

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

djones427 03-21-2005 01:19 AM

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

chbin 03-21-2005 02:22 AM

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.

homey 03-21-2005 05:49 AM

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.

anderwm 03-21-2005 08:30 AM

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


All times are GMT -5. The time now is 05:32 PM.