LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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.

Notices


Reply
  Search this Thread
Old 06-06-2005, 12:51 PM   #1
alaindu
Member
 
Registered: Dec 2004
Location: UK
Distribution: GENTOO
Posts: 33

Rep: Reputation: 15
dropline gnome


hi, iv been using slackware 10.0 for nearly a year and its always been super quick under kde and gnome. I just installed the latest version of dropline-gnome and its now running like a fat man in a corset. (only in gnome) any ideas about the dramatic performance change? - i know theres a few new bits, but shouldn't be this slow (10 seconds to load a gnome terminal - 15 seconds for firefox...)


im using a 2.0Ghz P4 laptop, 512mb ram - around 300mb swap, 10GB for my slackware / dir.

alain
 
Old 06-06-2005, 12:59 PM   #2
anonobomber
Member
 
Registered: Aug 2003
Location: Seattle
Distribution: Debian, Fedora, CentOS, FreeBSD, OpenSolaris
Posts: 138

Rep: Reputation: 16
You may be experiencing a dns issue. Check your /etc/hosts file and /etc/resolv.conf

/etc/hosts should look a bit like this:
127.0.0.1 localhost.localdomain systemname.domain.com localhost systemname

and /etc/resolv.conf should look like this:
nameserver 4.2.2.1
nameserver 4.2.2.2
 
Old 06-12-2005, 12:09 PM   #3
zborgerd
Member
 
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
Quote:
Originally posted by anonobomber
You may be experiencing a dns issue. Check your /etc/hosts file and /etc/resolv.conf

/etc/hosts should look a bit like this:
127.0.0.1 localhost.localdomain systemname.domain.com localhost systemname

and /etc/resolv.conf should look like this:
nameserver 4.2.2.1
nameserver 4.2.2.2
Sounds very likely. This isn't particularly a "Dropline problem" but seems to be common on GNOME 2.10 in general. The general concensus is that GNOME 2.10 is faster than previous versions.

Additionally, check your firewall settings. If you're using any NAT, programs can hang and seem like the system is frozen.

Last edited by zborgerd; 06-12-2005 at 02:10 PM.
 
Old 06-12-2005, 01:48 PM   #4
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Rep: Reputation: 30
I just want to add that your swap space should be 2x RAM. So if you have 512mb RAM your swap should be 1GB.
 
Old 06-14-2005, 04:03 PM   #5
alaindu
Member
 
Registered: Dec 2004
Location: UK
Distribution: GENTOO
Posts: 33

Original Poster
Rep: Reputation: 15
oops - i meant 256mb of ram - i got confused with my other PC. - so my swap space should be about 512mb? im hardly eating into swap at all, is this still a problem?
 
Old 06-14-2005, 05:47 PM   #6
zborgerd
Member
 
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
Quote:
Originally posted by alaindu
oops - i meant 256mb of ram - i got confused with my other PC. - so my swap space should be about 512mb? im hardly eating into swap at all, is this still a problem?
Shouldn't matter much. My machine never touches more than a few MB of swap. It normally doesn't use it at all unless I'm compiling something like Firefox. If you've got 300 MB of swap, then there is no need to worry (that's likely more than you need).

Are you using a custom kernel? Also, which sort of video hardware are you using? Is there anything showig up in "top" that's loading your machine down? Most importantly... Is DMA enabled?

hdparm -I /dev/hdX | grep dma

as root will tell you this.

This isn't normal behavior (the slow speed), but we can probably figure it out.
 
Old 06-19-2005, 08:22 AM   #7
alaindu
Member
 
Registered: Dec 2004
Location: UK
Distribution: GENTOO
Posts: 33

Original Poster
Rep: Reputation: 15
... root@palantir:/home/darkflow# hdparm -I /dev/hdX | grep dma
... /dev/hdX: No such file or directory

but iv just noticed, on boot, the last console messages before runlevel 4 kicks in are:

Kernel 2.6 is required for DBUS features.
Kernel 2.6 is required for HAL features.

im running slack 10.0, so i went with the standard 2.4.29 kern and iv not bothered to recompile it yet (although im going to soon coz im fed up with having to switch my computer off manually after halt [the force bios function])

i looked in my rc.local file, and a few lines have been added:
# To disable dbus, chmod rc.dbus to 644
if [ -x /etc/rc.d/rc.dbus ]; then
sh /etc/rc.d/rc.dbus start
fi

# To disable hal, chmod rc.hal to 644
if [ -x /etc/rc.d/rc.hal ]; then
sh /etc/rc.d/rc.hal start
fi


and theres obviously 2 new files in rc.d: rc.hal rc.dbus

i take it this is the problem?

do i need to get the 2.6 kern then, or is there a way round?

thanks for you help,
alain
 
Old 06-20-2005, 10:20 AM   #8
zborgerd
Member
 
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
Quote:
Originally posted by alaindu
... root@palantir:/home/darkflow# hdparm -I /dev/hdX | grep dma
... /dev/hdX: No such file or directory

but iv just noticed, on boot, the last console messages before runlevel 4 kicks in are:

Kernel 2.6 is required for DBUS features.
Kernel 2.6 is required for HAL features.

im running slack 10.0, so i went with the standard 2.4.29 kern and iv not bothered to recompile it yet (although im going to soon coz im fed up with having to switch my computer off manually after halt [the force bios function])

i looked in my rc.local file, and a few lines have been added:
# To disable dbus, chmod rc.dbus to 644
if [ -x /etc/rc.d/rc.dbus ]; then
sh /etc/rc.d/rc.dbus start
fi

# To disable hal, chmod rc.hal to 644
if [ -x /etc/rc.d/rc.hal ]; then
sh /etc/rc.d/rc.hal start
fi


and theres obviously 2 new files in rc.d: rc.hal rc.dbus

i take it this is the problem?

do i need to get the 2.6 kern then, or is there a way round?

thanks for you help,
alain
"/dev/hdX" is the name of the device node for your hard drive. If it's "Drive C" then it should likely be "/dev/hda". The X was representative of your actual drive letter. I didn't want to assume that hda was your device, so I used hdX instead. You should probably use something like:

Code:
hdparm -I /dev/hda | grep dma
The HAL and DBUS scripts do not do anything on a 2.4 kernel. They are designed to simply print that message on startup:

Code:
Kernel 2.6 is required for DBUS features.
Kernel 2.6 is required for HAL features.
If the script detects a 2.4 kernel, then it simply doesn't run HAL or DBUS. It's merely there to tell you that the HAL and DBUS will not function. They are not required for Dropline, but you won't gain the benedit of automounting of things like USB devices. This is not the problem. In fact, it's completely unrelated.

Replacing your kernel with something else will probably not change things.

Last edited by zborgerd; 06-20-2005 at 10:21 AM.
 
Old 06-20-2005, 10:22 AM   #9
zborgerd
Member
 
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
By the way... Are you using an ATI card?
 
Old 06-20-2005, 01:17 PM   #10
alaindu
Member
 
Registered: Dec 2004
Location: UK
Distribution: GENTOO
Posts: 33

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by zborgerd
"/dev/hdX" is the name of the device node for your hard drive. If it's "Drive C" then it should likely be "/dev/hda". The X was representative of your actual drive letter. I didn't want to assume that hda was your device, so I used hdX instead. You should probably use something like:

Code:
hdparm -I /dev/hda | grep dma


ha ha ha, sorry, i wans't concentrating with the hdX thing. yea, i know about drives...

iv only got one drive: hda:
- hda1 - grub
- hda2 - slack
- hda3 - swap
- hda4 - freebsd (currently testing it out)

the result of hdparm -I /dev/hda | grep dma is:
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5

hmm - looks interesting, i dont understand it tho :-P

if it is of any interest, OOo sometimes loads up in seconds, some times takes about 5 minutes - in which time the harddisk churns and whirls alot ...?

and yes, i DO have an ati card....
ati radeon - hardware accelleration is working ok (dri + glx with xorg.conf)

thanks alot for you help
 
Old 06-20-2005, 02:01 PM   #11
zborgerd
Member
 
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
Quote:
Originally posted by alaindu
the result of hdparm -I /dev/hda | grep dma is:
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5

hmm - looks interesting, i dont understand it tho :-P
The asterisk next to "udma5" indicates that it is indeed operating in a DMA mode (which is good).

Quote:
if it is of any interest, OOo sometimes loads up in seconds, some times takes about 5 minutes - in which time the harddisk churns and whirls alot ...?

and yes, i DO have an ati card....
ati radeon - hardware accelleration is working ok (dri + glx with xorg.conf)

thanks alot for you help [/B]
If you are using ATI's drivers, you may want to try the opensource 2D drivers (temporarily) and see if things improve. I've heard reports from people that ATI's own drivers can really lag down some GNOME stuff, sometimes taking extremely long times to render windows.
 
Old 06-20-2005, 05:34 PM   #12
alaindu
Member
 
Registered: Dec 2004
Location: UK
Distribution: GENTOO
Posts: 33

Original Poster
Rep: Reputation: 15
Thumbs up

thanks for all your help - ill try a different ati driver. i will stick with gnome tho, because it is excelent, even with the severly reduced speed. im gona have a look around freebsd and see if i have the same problems with the latest version of gnome - then i can determine whether the problem is gnome or dropline gnome.... its all learning tho !

peace
 
  


Reply



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
Dropline Gnome ericfx Slackware 3 09-04-2004 01:21 PM
Dropline gnome and included gnome linda Slackware 1 09-01-2004 01:39 PM
dropline-gnome and gnome-look.org linuxnubx Slackware 4 08-23-2004 01:58 AM
What is the difference between Gnome and Dropline Gnome mikieboy Linux - Software 7 07-29-2004 11:52 AM
Difference between Gnome and Dropline-Gnome ?? Necronomicom Slackware 13 06-09-2004 11:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:39 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
Open Source Consulting | Domain Registration