You are not logged in.

#1 2006-05-26 18:48:02

raven4d
Member
Registered: 2006-05-20
Posts: 11

arch is slow !!

hi..

now adayz i noticed that arch is getting slow !!

i.e : if i want to open a terminal it will wait about 30 sec before opennning it ! inspite of the hd and cpu r not working !

when i installed arch it was realy faster !!
am a gdm user
any ideas ?

Offline

#2 2006-05-26 18:59:29

Husio
Member
From: Europe
Registered: 2005-12-04
Posts: 359
Website

Re: arch is slow !!

Write first what's your WM. And what computer are you using.

My aterm, on old PC and fluxbox is loading about 0,5s  big_smile

Offline

#3 2006-05-26 20:02:00

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: arch is slow !!

And what terminal? Gnome-terminal is slower than others to start, for example.

Offline

#4 2006-05-26 20:09:51

Husio
Member
From: Europe
Registered: 2005-12-04
Posts: 359
Website

Re: arch is slow !!

Gullible Jones wrote:

And what terminal? Gnome-terminal is slower than others to start, for example.

I think that gnome-terminal or xfce-terminal. Others don't have *terminal* in name.

Offline

#5 2006-05-27 03:34:57

ScriptDevil
Member
From: In Front of My PC
Registered: 2006-04-06
Posts: 253

Re: arch is slow !!

Husio and gullible, he said

Arch is getting Slow

That means -IT WAS NOT SLOW PREVIOUSLY.
So it is not a problem with the terminal or WM.
Another thing is that fluxbox on my PC is able to start xterm in 0.024 seconds (found by using time xterm)
But stuff like firefox take about 3


Be yourself, because you are all that you can be

Offline

#6 2006-05-27 18:16:54

raven4d
Member
Registered: 2006-05-20
Posts: 11

Re: arch is slow !!

thanx for replying

yeah as ScriptDevil said .it was fast and realy fast if compared with my fc5 .

but now when i open gnome-terminal it takes about 30-45 secs !!
arch was opening the terminal in about a sec before !

am running p4 2000 mega
512 ddr ram
fx5200 vga
gigabyte mb

but am sure it's not a hardware problem !

Offline

#7 2006-05-27 18:26:59

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: arch is slow !!

Do you have a loopback device? :twisted:


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#8 2006-05-27 18:57:51

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: arch is slow !!

In other words... In rc.conf, under "INTERFACES", is "lo" listed? E.g. 'INTERFACES=(lo eth0)'.

Also, what filesystem are you using? If it's XFS, try installing xfsdump and running xfs_fsr - XFS can get very fragmented after a while.

Offline

#9 2006-06-01 17:25:30

raven4d
Member
Registered: 2006-05-20
Posts: 11

Re: arch is slow !!

hi and sorry for the late reply

yes i have loopback device
in rc.conf there is

lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)


and am using ex3 fs

any suggestions ?

Offline

#10 2006-06-01 18:24:45

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: arch is slow !!

A friend of mine had this trouble when a network device was active, but the DNS server was down. I take it your internet connection from that computer is ok?

Is the delay the same when you run gnome-terminal as root?

Is there any error/warning output in a terminal when you run gnome-terminal from it?


.oO Komodo Dave Oo.

Offline

#11 2006-06-02 01:23:38

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: arch is slow !!

is your hostname set correctly in rc.conf and in /etc/hosts?

Offline

#12 2006-06-02 12:25:33

codemac
Member
From: Cliche Tech Place
Registered: 2005-05-13
Posts: 794
Website

Re: arch is slow !!

wait the 30 seconds or whatever, then run `strace gnome-terminal > gterm.txt` and see what system call it's getting stuck on.

Offline

#13 2006-06-03 07:39:18

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: arch is slow !!

Since we entered summer, I'd check kernel warnings about CPU temperatures... especially if you have a Prescott or similar CPU.


Microshaft delenda est

Offline

#14 2006-06-06 20:11:25

con
Member
Registered: 2006-05-11
Posts: 89
Website

Re: arch is slow !!

what do you mean hd and cpu r not working?


charlie dont surf!

Offline

#15 2006-06-07 02:08:51

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: arch is slow !!

raven4d wrote:

hi and sorry for the late reply

yes i have loopback device
in rc.conf there is

lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)


and am using ex3 fs

any suggestions ?

Wait a minute, ext3? Is it directory-indexed? If not, you might want to try enabling indexing for it... Boot using a live CD or set of Arch install floppies or a pen drive or whatever, and run:

tune2fs -O dir_index /dev/hdXY
e2fsck -fD /dev/hdXY

on the relevent partitions.

Offline

#16 2006-06-07 16:15:13

raven4d
Member
Registered: 2006-05-20
Posts: 11

Re: arch is slow !!

sorry for being late again .am having exams

cpu temp at it's ranges accordng to " cat /proc/acpi/thermal_zone/THRM/* "

but i guess the hard drive is the one is getting too hot .
any way after cooling the hard drive the terminal will load at it's normal speed .

thanx alot guys .

but 1 more thing >> iphitus
   
is there a relationship between getting slow and networking ?
coz my ip was neither set at hosts.conf nor at rc.conf


thanx again

Offline

#17 2006-08-28 02:11:22

ihavenoname
Member
Registered: 2006-01-09
Posts: 198

Re: arch is slow !!

hmm I have a similar problem. When I run things as a normal user it takes a long time for them to start (gcalctoo = 15second start time.)  However, where I open a terminal and run programs as root they start much faster. (gcalctool is in less than 2 seconds) suggestions?


In this land of the pain the sane lose not knowing they were part of the game.

~LP

Offline

#18 2006-08-28 15:22:06

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: arch is slow !!

raven4d wrote:

sorry for being late again .am having exams

cpu temp at it's ranges accordng to " cat /proc/acpi/thermal_zone/THRM/* "

but i guess the hard drive is the one is getting too hot .
any way after cooling the hard drive the terminal will load at it's normal speed .

thanx alot guys .

but 1 more thing >> iphitus
   
is there a relationship between getting slow and networking ?
coz my ip was neither set at hosts.conf nor at rc.conf


thanx again

Your IP doesn't have to be set there, it is often recieved automaticly over DHCP. As you didn't say anything of defect network connection, I assume you use DHCP. Your hostname has to be set though.

ihavenoname:
Does it still launch slow if you run it as user again after running as root? It may have been something taking time to use harddrive for example, but when running as root it's cached...
Do you get any errors when running gcalctool in a terminal (as user)?

Offline

#19 2006-08-28 16:20:16

ihavenoname
Member
Registered: 2006-01-09
Posts: 198

Re: arch is slow !!

jaboua wrote:
raven4d wrote:

sorry for being late again .am having exams

cpu temp at it's ranges accordng to " cat /proc/acpi/thermal_zone/THRM/* "

but i guess the hard drive is the one is getting too hot .
any way after cooling the hard drive the terminal will load at it's normal speed .

thanx alot guys .

but 1 more thing >> iphitus
   
is there a relationship between getting slow and networking ?
coz my ip was neither set at hosts.conf nor at rc.conf


thanx again

Your IP doesn't have to be set there, it is often recieved automaticly over DHCP. As you didn't say anything of defect network connection, I assume you use DHCP. Your hostname has to be set though.

ihavenoname:
Does it still launch slow if you run it as user again after running as root? It may have been something taking time to use harddrive for example, but when running as root it's cached...
Do you get any errors when running gcalctool in a terminal (as user)?


No it is still slow even after runing as root. I get no errors, in the terminal.
Also, after I log out and log back in it is back to normal, but after a while it slows down again.


In this land of the pain the sane lose not knowing they were part of the game.

~LP

Offline

#20 2006-08-28 16:43:52

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: arch is slow !!

i've had this issue aswell and would REALLY appreciate some clearance.

root just seem to be faster... Is this because when you run as root the computer doesn't have to check for permissions etc EVERYTIME it tries to open a file? Because if this was the culprit linux really needs some faster permission checking code! ASAP smile

No, i don't have any problems with host or anything like that and i don't experience the big slowdowns like the above posters do.


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#21 2006-08-28 16:50:39

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: arch is slow !!

I also think, then I run in KDE menu 'System > More Applications > File Manager - Super User Mode', then Konqueror faster work. But I do not known why.


Goodbye!

Offline

#22 2006-08-28 18:32:36

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: arch is slow !!

I also belive I heard root runs everything with higher priority (like if using "nice"), this might be related if the system is low on resources.

If it slows down first after a while, you might want to check your RAM and swap usage - this sounds like how sluggish my computer used to go after leaving azureus on for a few days... In that case all my memory and tons of swap were used -> slowdown.

Offline

#23 2006-08-29 00:17:04

ihavenoname
Member
Registered: 2006-01-09
Posts: 198

Re: arch is slow !!

jaboua wrote:

I also belive I heard root runs everything with higher priority (like if using "nice"), this might be related if the system is low on resources.

If it slows down first after a while, you might want to check your RAM and swap usage - this sounds like how sluggish my computer used to go after leaving azureus on for a few days... In that case all my memory and tons of swap were used -> slowdown.

I only had it on for a few hours.... Also, I don't get this kind of slow down with most other distros. My ram was btwn 184-220 usage and I have 512....not sure about CPU speed


In this land of the pain the sane lose not knowing they were part of the game.

~LP

Offline

#24 2006-08-31 00:55:44

ihavenoname
Member
Registered: 2006-01-09
Posts: 198

Re: arch is slow !!

ok, so apparently the slow down only ocurrs when my internet is under "heavy" use, such as downloading from gnutella or runing an update and surfing the internet. THis is odd.


In this land of the pain the sane lose not knowing they were part of the game.

~LP

Offline

#25 2006-08-31 00:58:15

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: arch is slow !!

ihavenoname wrote:

ok, so apparently the slow down only ocurrs when my internet is under "heavy" use, such as downloading from gnutella or runing an update and surfing the internet. THis is odd.

Whats your RAM and CPU load situation like when you run these things?  I find that Firefox can quite easily take 100% CPU load, and bit torrent very happily gobbles up all of my RAM and pushes me into swap.  Combine Firefox and bit torrent, it can make for some fun times wink

EDIT:  And as a thought, fsck all your partitions and see how fragmented they are.


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

Board footer

Powered by FluxBB